Let the yumconf.persistdir be as the default
This path gets appended to the installroot every time, even if it's an absolute path, so it ends up being inside the installroot everytime. We don't want it to be in some path depending on a temporary workdir. This will put all the yum files in a standard /var/lib/yum directory inside the installroot.
This commit is contained in:
parent
31d6c3d6ef
commit
19993ef780
@ -151,7 +151,7 @@ class Pungi(pypungi.PungiBase):
|
||||
yumconf.debuglevel = 6
|
||||
yumconf.errorlevel = 6
|
||||
yumconf.cachedir = self.config.get('pungi', 'cachedir')
|
||||
yumconf.persistdir = os.path.join(self.workdir, 'yumlib')
|
||||
yumconf.persistdir = "/var/lib/yum" # keep at default, gets appended to installroot
|
||||
yumconf.installroot = os.path.join(self.workdir, 'yumroot')
|
||||
yumconf.uid = os.geteuid()
|
||||
yumconf.cache = 0
|
||||
|
Loading…
Reference in New Issue
Block a user