Add cost=1100 in epel.repo?

seth vidal skvidal at fedoraproject.org
Tue Aug 24 16:56:37 UTC 2010


On Tue, 2010-08-24 at 10:48 -0600, Stephen John Smoogen wrote:
> I believe in the past we have asked the following:
> 
> 1) Only  build for the architectures that are excluded (eg build it
> for ppc64 and not x86_64 or i386)
> 2) Keep to the same version or make the release number smaller than
> what is in EL-5
> 
> I am not sure of what effect cost might have on other setups so will
> check with skvidal and others.
> 

Cost only matters when the pkg nevra are identical between two repos.

so if you have epel and rpmfusion


and they both have foo-1.1-1.noarch.rpm

then yum will choose the one with the lower cost.

but if they vary in evr or arch then it will sort by those
characteristics first.

-sv





More information about the epel-devel-list mailing list