Create and use separate installroot directory
The one provided by pungi may be poluted already, and we don't want this to be left in the initrd.img.
This commit is contained in:
parent
d888225dd7
commit
1084413b6b
@ -41,6 +41,12 @@ class LoraxYumHelper(object):
|
|||||||
|
|
||||||
def __init__(self, yb):
|
def __init__(self, yb):
|
||||||
self.yb = yb
|
self.yb = yb
|
||||||
|
|
||||||
|
# create our own installroot, the pungi one may be poluted
|
||||||
|
installroot = joinpaths(self.yb.conf.installroot, "installroot")
|
||||||
|
os.makedirs(installroot)
|
||||||
|
self.yb.conf.installroot = installroot
|
||||||
|
|
||||||
self.installroot = self.yb.conf.installroot
|
self.installroot = self.yb.conf.installroot
|
||||||
self.installed_packages = self.get_packages("installed")
|
self.installed_packages = self.get_packages("installed")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user