livecd-tools/0011-Fix-missync-of-locations-of-efiboot.img.patch

30 lines
1.2 KiB
Diff
Raw Normal View History

2021-06-27 21:14:12 +03:00
From b9cc0a811c2dff5a610c90e3ceb2170d8442c2ab Mon Sep 17 00:00:00 2001
From: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
Date: Sun, 27 Jun 2021 20:35:24 +0300
2021-06-27 21:14:12 +03:00
Subject: [PATCH 11/12] Fix missync of locations of efiboot.img
Fixes: f5d76fa3748 ("place efiboot.img and macboot.img in /isolinux")
That commit forgot to change "images" to "isolinux" for aarch64.
---
imgcreate/live.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/imgcreate/live.py b/imgcreate/live.py
2021-06-27 21:14:12 +03:00
index e06450d..cf66f50 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
2021-06-27 21:14:12 +03:00
@@ -1046,8 +1046,8 @@ class aarch64LiveImageCreator(LiveImageCreatorBase):
def _get_xorrisofs_options(self, isodir):
options = []
- if os.path.exists(os.path.join(isodir, "images/efiboot.img")):
- options += ["-eltorito-alt-boot", "-e", "images/efiboot.img",
+ if os.path.exists(os.path.join(isodir, "isolinux/efiboot.img")):
+ options += ["-eltorito-alt-boot", "-e", "isolinux/efiboot.img",
"-no-emul-boot", "-hide-rr-moved"]
options += ["-rational-rock", "-joliet", "-volid", self.fslabel]
return options
--
2.31.1