You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
908 B
26 lines
908 B
From 2df6e5fe31bd7c3625c06feb264ddf800ab0acbb Mon Sep 17 00:00:00 2001
|
|
From: Eugene Zamriy <eugene@zamriy.info>
|
|
Date: Thu, 6 Apr 2023 21:16:26 +0300
|
|
Subject: [PATCH 1/4] Backport dracut chroot umount fix
|
|
|
|
---
|
|
src/pylorax/imgutils.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/pylorax/imgutils.py b/src/pylorax/imgutils.py
|
|
index 9a08773..389b52d 100644
|
|
--- a/src/pylorax/imgutils.py
|
|
+++ b/src/pylorax/imgutils.py
|
|
@@ -511,7 +511,7 @@ class ProcMount(object):
|
|
for _, d in self.bind:
|
|
# 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)
|
|
|
|
class DracutChroot(ProcMount):
|
|
def __init__(self, root, bind=None):
|
|
--
|
|
2.43.5
|
|
|