summaryrefslogtreecommitdiff
path: root/scripts/build/binary_grub
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-19 10:52:13 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:03 +0200
commitf5acab633c5a8425987e472a40a113715891b301 (patch)
tree1ba0d14a503182449514be729338d4bbf9b675fb /scripts/build/binary_grub
parentc73a5a0ee0b7e372ef33b6f0ab817d86a1a8093e (diff)
downloadvyos-live-build-f5acab633c5a8425987e472a40a113715891b301.tar.gz
vyos-live-build-f5acab633c5a8425987e472a40a113715891b301.zip
Moving off binary image type into new config tree format.
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"
;;