[neon/forks/live-build/Neon/release] scripts/build: arm64 iso's cannot have -isohybrid-* options

Carlos De Maine null at kde.org
Mon May 20 09:37:35 BST 2024


Git commit afd3da789bac67c202eff6b3ba8163e8d8704c5f by Carlos De Maine.
Committed on 20/05/2024 at 02:15.
Pushed by jriddell into branch 'Neon/release'.

arm64 iso's cannot have -isohybrid-* options

as per https://wiki.debian.org/RepackBootableISO#arm64_release_9.4.0

arm64 live-build iso's cannot have -isohybrid-gpt-basdat -isohybrid-apm-hfsplus options as they don't exist on non amd64 architectures

M  +6    -2    scripts/build/lb_binary_iso

https://invent.kde.org/neon/forks/live-build/-/commit/afd3da789bac67c202eff6b3ba8163e8d8704c5f

diff --git a/scripts/build/lb_binary_iso b/scripts/build/lb_binary_iso
index 35b7aaf..1c96430 100755
--- a/scripts/build/lb_binary_iso
+++ b/scripts/build/lb_binary_iso
@@ -158,8 +158,12 @@ if [ -e binary/boot/grub/efi.img ];
 then
         Echo "Yes EFI boot code to include in the ISO"
         XORRISO_OPTIONS="-as mkisofs ${GENISOIMAGE_OPTIONS}"
-	XORRISO_OPTIONS="${XORRISO_OPTIONS} -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot"
-	XORRISO_OPTIONS="${XORRISO_OPTIONS} -isohybrid-gpt-basdat -isohybrid-apm-hfsplus"
+		XORRISO_OPTIONS="${XORRISO_OPTIONS} -eltorito-alt-boot -e boot/grub/efi.img -no-emul-boot"
+		case "${LB_ARCHITECTURES}" in
+			amd64)
+				XORRISO_OPTIONS="${XORRISO_OPTIONS} -isohybrid-gpt-basdat -isohybrid-apm-hfsplus"
+			;;
+		esac
 else
 	Echo "No EFI boot code to include in the ISO"
 fi


More information about the Neon-commits mailing list