From b968e2c0f7625f679bbbe6db12feb30f4b7f3598 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sun, 14 Feb 2021 21:37:35 +0000 Subject: Fix build on architecture without syslinux Don't run xorriso with -isohybrid-mbr if LB_BOOTLOADER_BIOS is not set to syslinux Closes: #982746 --- scripts/build/binary_iso | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/binary_iso b/scripts/build/binary_iso index 5008d382a..753a7de49 100755 --- a/scripts/build/binary_iso +++ b/scripts/build/binary_iso @@ -66,7 +66,7 @@ fi XORRISO_OPTIONS="-R -r -J -joliet-long -l -cache-inodes -iso-level 3" # Handle xorriso live-build specific options -if [ "${LB_IMAGE_TYPE}" = "iso-hybrid" ] +if [ "${LB_IMAGE_TYPE}" = "iso-hybrid" ] && [ "${LB_BOOTLOADER_BIOS}" = "syslinux" ] then XORRISO_OPTIONS="${XORRISO_OPTIONS} -isohybrid-mbr /usr/lib/ISOLINUX/isohdpfx.bin -partition_offset 16" fi -- cgit v1.2.3