From 500f2050739e8cb902d710d1ae6b3f5de4d00dcd Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Mon, 6 Apr 2020 18:46:47 +0100 Subject: config: s/LIVE_IMAGE_TYPE/LB_IMAGE_TYPE/ no backwards compatibility hack for reading the old var from existing saved config used because this was previously stored in the alternate format config/build file. Gbp-Dch: Short --- scripts/build/binary_grub-legacy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/binary_grub-legacy') diff --git a/scripts/build/binary_grub-legacy b/scripts/build/binary_grub-legacy index 9f0078ba6..19b80e7bb 100755 --- a/scripts/build/binary_grub-legacy +++ b/scripts/build/binary_grub-legacy @@ -21,7 +21,7 @@ USAGE="${PROGRAM} [--force]" # Processing arguments and configuration files Init_config_data "${@}" -if In_list "${LIVE_IMAGE_TYPE}" hdd netboot; then +if In_list "${LB_IMAGE_TYPE}" hdd netboot; then exit 0 fi @@ -200,7 +200,7 @@ fi mkdir -p binary/boot/grub cp -r "${_SOURCE}"/* binary/boot/grub -case ${LIVE_IMAGE_TYPE} in +case ${LB_IMAGE_TYPE} in iso|iso-hybrid) FILES="chroot/usr/lib/grub/*/stage2_eltorito" ;; -- cgit v1.2.3