Merge pull request 'ALBS-173: Make first successful build' (#2) from ALBS-173 into rhel9-branch

Reviewed-on: #2
This commit is contained in:
soksanichenko 2022-04-14 15:14:43 +00:00
commit 084d734733

View File

@ -503,7 +503,7 @@ class DracutChroot(object):
# cleanup bind mounts # cleanup bind mounts
for _, d in self.bind: for _, d in self.bind:
umount(self.root + d) umount(self.root + d, maxretry=10, retrysleep=5)
def Run(self, args): def Run(self, args):
runcmd(["dracut"] + args, root=self.root) runcmd(["dracut"] + args, root=self.root)