Perry Myers wrote:
For using cobbler to synchronize repositories via reposync, the default arch is always used which makes syncing with multiple arches not possible. (For example to grab the src repos)
To change this I added a --arch flag that can be used to override the default reposync arch. If yumdownloader is used (in the case of using rpm_list to restrict the packages downloaded) --source is passed on the command line if --arch==src. This allows source packages to be retrieved, but I don't know how to override yumdownloader to do architectures other than the current system arch. Comments on this appreciated...
Signed-off-by: Perry Myers (pmyers@xxxxxxxxxx)
Thanks,
Perry
This looks good to me (thanks again) ... can you also submit a patch for
docs/cobbler.pod (which is the manpage src) that describes when to use
--arch (see the place where I've added docs for --createrepo-flags)?
It may be possible to control yumdownloader by editing the configuration
files for the repos (stored in the ".origin" directory), ex:
/var/www/cobbler/repo_mirror/.origin/fc6i386extras.repo ... I'm not
entirely sure.
--Michael