reposync and (basearch, releasever)

Anders Blomdell anders.blomdell at control.lth.se
Thu May 15 18:07:53 UTC 2014


On 2014-05-15 19:41, Anders Blomdell wrote:
> Hi, 
> 
> would it be a terribly bad idea modify reposync with the attached patch,
> or should it be done by trying to get the correct values from the configfile
> (and since such a change will most probably be in yum/__init__.py, what will 
> break in other settings...)
The --basearch option seems to be a noop since it is (AFAICT) to read from preconf.

>  
> The reason for the patch is to have the possibility to download multiple 
> architecture versions from the same machine, see the attached test_output 
> from the attached do_test script when run from a Fedora-20 x86_64 machine.
> 
> The unmodified reposync tries to grab everything from the Fedora-20/x86_64
> repository, which results in empty i[36]86 directories and too new versions 
> in the x86_64 repositories.
> 
> /Anders
> 
> 
> 
> 
> 
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
> 


-- 
Anders Blomdell                  Email: anders.blomdell at control.lth.se
Department of Automatic Control
Lund University                  Phone:    +46 46 222 4625
P.O. Box 118                     Fax:      +46 46 138118
SE-221 00 Lund, Sweden



More information about the Yum-devel mailing list