Re: [et-mgmt-tools] [PATCH] cobbler - add arch to repo definition to override default arch for reposync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux