On Mon, 2014-06-23 at 20:00 +0200, Anders Blomdell wrote: > On 2014-06-23 16:50, James Antill wrote: > > On Sat, 2014-06-21 at 20:54 -0400, Bob Lightfoot wrote: > >> Dear Yum Developers: > >> I recently ran reposync on a remote repo > >> {http://buildlogs.centos.org/centos/7/os/x86_64-latest/} from my > >> Centos6-i686 system in an attempt to mirror the repo. Reposync > >> downloaded 4726 rpms. > >> Performing the identical task from my Centos6-X86_64 system > >> resulted in 8468 rpms being downloaded. > >> I would expect the mirroring of a repo to be identical regardless > >> of arch of the host/local system. > >> Is this a valid expectation? > > > > No, from the man page: > > > > -a ARCH, --arch=ARCH > > Act as if running the specified arch (default: current > > arch, > > note: does not override $releasever. x86_64 is a superset > > for > > i*86.). > Suggested patch is here: > > http://lists.baseurl.org/pipermail/yum-devel/2014-May/010622.html
Look at how repoquery works, with --archlist. That's probably what you want to do (you can probably ignor the code for when YumBase.arch doesn't exist now). But that should work to allow multiple arches, and have a default basearch and auto. setup for x86_64 etc. _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel