summaryrefslogtreecommitdiff
path: root/scripts/build/binary_grub2
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_grub2
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_grub2')
-rwxr-xr-xscripts/build/binary_grub24
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_grub2 b/scripts/build/binary_grub2
index 1b77523d1..7182a5e4d 100755
--- a/scripts/build/binary_grub2
+++ b/scripts/build/binary_grub2
@@ -106,7 +106,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)
@@ -218,7 +218,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/i386-pc/*.mod chroot/usr/lib/grub/i386-pc/*.lst chroot/usr/lib/grub/i386-pc/efiemu??.o chroot/usr/share/grub/*.pf2"
;;