Re: Need help with local devel repo optimization for mock...

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

 



Orion Poplawski wrote:
Goals:

- Always get the latest development package versions for my local mock builds.
- Keep internet bandwidth usage low and at off peak times.


What I'd like to do is update my local rawhide repo copy every Sunday, but still be able to download any needed updated package for a build.

My first thought was simply to add my local repo to the mock configs:

# repos

[cora]
name=cora
baseurl=file:///data/sw1/fedora/core/development/i386

[core]
name=core
baseurl=http://newmirror.linux.duke.edu/pub/fedora/linux/core/development/i386

But the question comes up, if [cora] and [core] both have the same version of a package, how can I make sure that the package is taken from [cora]?


You could try something like this.

[core]
name=core
baseurl=file:///data/sw1/fedora/core/development/i386
http://newmirror.linux.duke.edu/pub/fedora/linux/core/development/i386
failovermethod=priority


The failovermethod=priority make yum always try using the baseurls from the top.

You could also add "enabled=0" to your [core] repo, to disable it by default, then the [cora] will be used.

Tim

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux