Merge pull request 'ALBS-226: Patch pungi/lorax for building AL9' (#1) from ALBS-226 into rhel9-branch
Reviewed-on: #1
This commit is contained in:
commit
f821a94ec4
@ -498,12 +498,12 @@ class DracutChroot(object):
|
|||||||
return self
|
return self
|
||||||
|
|
||||||
def __exit__(self, exc_type, exc_value, tracebk):
|
def __exit__(self, exc_type, exc_value, tracebk):
|
||||||
runcmd(["umount", self.root + "/proc" ])
|
umount(self.root + '/proc')
|
||||||
runcmd(["umount", self.root + "/dev" ])
|
umount(self.root + '/dev')
|
||||||
|
|
||||||
# cleanup bind mounts
|
# cleanup bind mounts
|
||||||
for _, d in self.bind:
|
for _, d in self.bind:
|
||||||
runcmd(["umount", self.root + d ])
|
umount(self.root + d)
|
||||||
|
|
||||||
def Run(self, args):
|
def Run(self, args):
|
||||||
runcmd(["dracut"] + args, root=self.root)
|
runcmd(["dracut"] + args, root=self.root)
|
||||||
|
Loading…
Reference in New Issue
Block a user