|
|
|
@ -25,7 +25,7 @@ index d713e4c..80e8c2f 100644
|
|
|
|
|
- runcmd(["umount", self.root + d ])
|
|
|
|
|
+ # In case parallel building of two or more images
|
|
|
|
|
+ # some mounts in /var/tmp/lorax can be busy at the moment of unmounting
|
|
|
|
|
+ umount(self.root + d, maxretry=10, retrysleep=5, delete=False)
|
|
|
|
|
+ umount(self.root + d, maxretry=200, retrysleep=5, delete=False)
|
|
|
|
|
|
|
|
|
|
def Run(self, args):
|
|
|
|
|
runcmd(["dracut"] + args, root=self.root)
|
|
|
|
|