binary_iso: fix iso-hybrid images with EFI bootloader

This commit is contained in:
jfliu 2023-07-17 09:59:02 +08:00 committed by Luca Boccassi
parent 95fc0dfdaf
commit e663ec5b0e
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,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" ] && [ -n "${LB_BOOTLOADER_BIOS}" ];
then
if [ "${LB_BOOTLOADER_BIOS}" = "syslinux" ]
then