I am using /usr/bin/reposync --arch=x86_64 --repoid=rhel-6-server-rpms --download_path=/data/repos --plugins --downloadcomps
It creates /data/repos/rhel-6-server-rpms
and downloads the packages in /data/repos/rhel-6-server-rpms/Packages
. I don't like that last part: Packages, because I have to put /Packages behind the baseurl of my repo conf.
What can I do? I didn't find an option in reposync to define this. Moving after download won't be a good idea (I think), because reposync will then download everything again each night.
Best Answer
I think you should proceed with updating your Yum repo configuration files to carry the
Packages
part.But, if you're adamant about doing this, change the
Packages
directory into a symbolic link.The next time you run
reposync
, it will maintain the symbolic link.