mock and local repo cache
bugs.michael at gmx.net
Sat Feb 2 20:06:57 UTC 2008
On Sat, 02 Feb 2008 10:38:28 -0800, Michael A. Peters wrote:
> neither package foo nor bar are in an existing repo that mock can see.
> package bar BuildRequires package foo-devel
> mock builds foo and then I put it the results local repo and run createrepo
> then attempt to mock build bar and build fails because it can not find
> package foo-devel.
> if I manually delete the mock cache for the local repo, then mock finds
> foo-devel and builds bar.
> I did not have this problem with the old version of mock from CentOS
> Is there a way to configure mock to not cache the local repo?
You could add a
value to your mock target cfg files. It defaults to 1800 seconds.
Btw, the EPEL buildsys suffers from that, too, because the needsign
metadata are cached and not refreshed always.
More information about the epel-devel-list