summaryrefslogtreecommitdiff
path: root/scripts/build/binary_grub-legacy
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-04-06 18:46:47 +0100
committerRaphaƫl Hertzog <hertzog@debian.org>2020-04-23 16:54:31 +0000
commit500f2050739e8cb902d710d1ae6b3f5de4d00dcd (patch)
treef4d1faa61e34a86b5826dbd09c2e2c694df1bb0c /scripts/build/binary_grub-legacy
parent83d9145257220d39e487021e993344adafe71b8a (diff)
downloadvyos-live-build-500f2050739e8cb902d710d1ae6b3f5de4d00dcd.tar.gz
vyos-live-build-500f2050739e8cb902d710d1ae6b3f5de4d00dcd.zip
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
Diffstat (limited to 'scripts/build/binary_grub-legacy')
-rwxr-xr-xscripts/build/binary_grub-legacy4
1 files changed, 2 insertions, 2 deletions
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"
;;