Compare commits
No commits in common. 'i9' and 'i8' have entirely different histories.
@ -1 +1 @@
|
|||||||
SOURCES/lorax-34.9.26.tar.gz
|
SOURCES/lorax-28.14.70.tar.gz
|
||||||
|
@ -1 +1 @@
|
|||||||
d0dcdb64f67e0835d8dfb1bfe76da510e7df5579 SOURCES/lorax-34.9.26.tar.gz
|
9c1e880ab9b31d9be4d089704d0104a4f0bcd590 SOURCES/lorax-28.14.70.tar.gz
|
||||||
|
@ -1,34 +0,0 @@
|
|||||||
From f04d4c94d77f644d4a9cfe25d708789c4334c25a 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/3] Backport dracut chroot umount fix
|
|
||||||
|
|
||||||
---
|
|
||||||
src/pylorax/imgutils.py | 8 +++++---
|
|
||||||
1 file changed, 5 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/pylorax/imgutils.py b/src/pylorax/imgutils.py
|
|
||||||
index d713e4c..80e8c2f 100644
|
|
||||||
--- a/src/pylorax/imgutils.py
|
|
||||||
+++ b/src/pylorax/imgutils.py
|
|
||||||
@@ -498,12 +498,14 @@ class DracutChroot(object):
|
|
||||||
return self
|
|
||||||
|
|
||||||
def __exit__(self, exc_type, exc_value, tracebk):
|
|
||||||
- runcmd(["umount", self.root + "/proc" ])
|
|
||||||
- runcmd(["umount", self.root + "/dev" ])
|
|
||||||
+ umount(self.root + '/proc', delete=False)
|
|
||||||
+ umount(self.root + '/dev', delete=False)
|
|
||||||
|
|
||||||
# cleanup bind mounts
|
|
||||||
for _, d in self.bind:
|
|
||||||
- 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=200, retrysleep=5, delete=False)
|
|
||||||
|
|
||||||
def Run(self, args):
|
|
||||||
runcmd(["dracut"] + args, root=self.root)
|
|
||||||
--
|
|
||||||
2.40.1
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
From 5aed220986528c282c92125fc11e61ee67031555 Mon Sep 17 00:00:00 2001
|
|
||||||
From: tigro <tigro@msvsphere-os.ru>
|
|
||||||
Date: Mon, 9 Dec 2024 13:22:40 +0300
|
|
||||||
Subject: [PATCH] Our isolinux.cfg is in cp866 encoding
|
|
||||||
|
|
||||||
---
|
|
||||||
src/bin/mkksiso | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/bin/mkksiso b/src/bin/mkksiso
|
|
||||||
index 42cdbfb..c9cfedd 100755
|
|
||||||
--- a/src/bin/mkksiso
|
|
||||||
+++ b/src/bin/mkksiso
|
|
||||||
@@ -294,8 +294,8 @@ def EditIsolinux(rm_args, add_args, new_volid, old_volid, tmpdir):
|
|
||||||
change_volid = old_volid != new_volid
|
|
||||||
|
|
||||||
# Edit the config file, save the new one as .new
|
|
||||||
- with open(orig_cfg, "r") as in_fp:
|
|
||||||
- with open(orig_cfg + ".new", "w") as out_fp:
|
|
||||||
+ with open(orig_cfg, "r", encoding="cp866") as in_fp:
|
|
||||||
+ with open(orig_cfg + ".new", "w", encoding="cp866") as out_fp:
|
|
||||||
for line in in_fp:
|
|
||||||
if change_volid and old_volid in line:
|
|
||||||
line = line.replace(old_volid, new_volid)
|
|
||||||
--
|
|
||||||
2.47.1
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue