Fix creating efiboot.img on aarch64

This commit is contained in:
Mikhail Novosyolov 2021-06-27 18:40:21 +03:00
parent 85cfc322ca
commit 08a81fcb55
2 changed files with 28 additions and 1 deletions

View file

@ -0,0 +1,26 @@
From 4491f8084a801659f797c2f7f9169ac7afb2ebed Mon Sep 17 00:00:00 2001
From: Mikhail Novosyolov <m.novosyolov@rosalinux.ru>
Date: Sun, 27 Jun 2021 18:38:10 +0300
Subject: [PATCH] mkdir isolinux on aarch64
It was made on x86 but was not in aarch64
This suplication of code looks ugly but I don't know how to amke it better
---
imgcreate/live.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/imgcreate/live.py b/imgcreate/live.py
index b0162ad..708325c 100644
--- a/imgcreate/live.py
+++ b/imgcreate/live.py
@@ -1196,6 +1196,7 @@ submenu 'Troubleshooting -->' {
def _configure_efi_bootloader(self, isodir):
"""Set up the configuration for an EFI bootloader"""
+ makedirs(isodir + "/isolinux")
if self.__copy_efi_files(isodir):
shutil.rmtree(isodir + "/EFI")
logging.warning("Failed to copy EFI files, no EFI Support will be included.")
--
2.31.1

View file

@ -10,7 +10,7 @@ Name: livecd-tools
Summary: Tools for building live CDs
Epoch: 1
Version: 28.2
Release: 1
Release: 2
License: GPLv2
Group: System/Base
URL: https://github.com/livecd-tools/livecd-tools
@ -31,6 +31,7 @@ Patch0007: 0007-Adapt-Grub-and-Shim-paths-for-ROSA.patch
Patch0008: 0008-Fix-name-of-x86_64-bootloader-according-to-UEFI-spec.patch
Patch0009: 0009-Fix-check-if-EFI-bootloader-exists.patch
Patch0010: 0010-ROSA-theme-and-config-of-bootloaders.patch
Patch0011: 0011-mkdir-isolinux-on-aarch64.patch
BuildRequires: python3-devel
# pod2man comes from perl