From 286caf03bed722e3438f37a54e7c2d9720fc6535 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Sat, 28 Mar 2020 02:14:09 +0000 Subject: [PATCH] fix outdated grub-legacy bootloader name references --- functions/defaults.sh | 2 +- scripts/build/binary_hdd | 2 +- scripts/build/binary_iso | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/defaults.sh b/functions/defaults.sh index 72e5e94cd..f1bb85dce 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -616,7 +616,7 @@ Check_config_defaults () case "${LIVE_IMAGE_TYPE}" in hdd*) case "${LB_FIRST_BOOTLOADER}" in - grub) + grub-legacy) Echo_error "You have selected a combination of bootloader and image type that is currently not supported by live-build. Please use either another bootloader or a different image type." exit 1 ;; diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd index c380374e7..b81c301da 100755 --- a/scripts/build/binary_hdd +++ b/scripts/build/binary_hdd @@ -55,7 +55,7 @@ Check_package host /sbin/losetup mount for BOOTLOADER in $(echo "${LB_BOOTLOADERS}" | tr "," "\n"); do case "${BOOTLOADER}" in - grub) + grub-legacy) Check_package chroot /usr/sbin/grub grub ;; esac diff --git a/scripts/build/binary_iso b/scripts/build/binary_iso index 3b862b05a..eef752f80 100755 --- a/scripts/build/binary_iso +++ b/scripts/build/binary_iso @@ -120,7 +120,7 @@ do XORRISO_OPTIONS="${XORRISO_OPTIONS} -eltorito-alt-boot " fi case "${BOOTLOADER}" in - grub) + grub-legacy) XORRISO_OPTIONS="${XORRISO_OPTIONS} -no-emul-boot -boot-load-size 4 -boot-info-table" XORRISO_OPTIONS="${XORRISO_OPTIONS} -b boot/grub/stage2_eltorito" XORRISO_EXCLUDE="boot/grub/stage2_eltorito"