summaryrefslogtreecommitdiff
path: root/scripts/build/binary_grub
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_grub')
-rwxr-xr-xscripts/build/binary_grub4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_grub b/scripts/build/binary_grub
index cef3da768..9fa1ba1c5 100755
--- a/scripts/build/binary_grub
+++ b/scripts/build/binary_grub
@@ -132,7 +132,7 @@ case "${LB_INITRAMFS}" in
esac
# Setting destination directory
-case "${LB_BINARY_IMAGES}" in
+case "${LIVE_IMAGE_TYPE}" in
iso*|tar)
case "${LB_INITRAMFS}" in
casper)
@@ -245,7 +245,7 @@ fi
mkdir -p binary/boot/grub
cp -r "${TEMPLATES}"/* binary/boot/grub
-case ${LB_BINARY_IMAGES} in
+case ${LIVE_IMAGE_TYPE} in
iso*)
FILES="chroot/usr/lib/grub/*/stage2_eltorito"
;;