#6274 Enable keepcache in koji dnf conf
Closed: Fixed None Opened 8 years ago by rjones.

Supermin needs access to the pristine RPMs from which the buildroot is installed, in order to grab the /etc (configuration) files into the libguestfs appliance (the binaries etc are not baked into the appliance for obvious security/maintainability reasons).

For years we got these from the yum cache, but problem: dnf defaults to keepcache=0 and so doesn't save these RPMs.

Therefore please enable keepcache like yum.

I believe the only way to do this is to patch koji, unfortunately:

{{{
diff --git a/koji/init.py b/koji/init.py
index 612bfd5..0665481 100644
--- a/koji/init.py
+++ b/koji/init.py
@@ -1324,6 +1324,7 @@ retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
+keepcache=1

# repos

}}}


I think this got solved? or is it still an issue?

Yes this is fixed now thanks all.

Login to comment on this ticket.

Metadata