#6274: Enable keepcache in koji dnf conf
--------------------+------------------------
Reporter: rjones | Owner: rel-eng@…
Type: task | Status: new
Milestone: | Component: koji
Keywords: | Blocked By:
Blocking: |
--------------------+------------------------
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
}}}
--
Ticket URL: <
https://fedorahosted.org/rel-eng/ticket/6274>
Fedora Release Engineering <
http://fedorahosted.org/rel-eng>
Release Engineering for the Fedora Project