diff options
author | Daniel Baumann <daniel@debian.org> | 2012-12-19 10:52:13 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:03 +0200 |
commit | f5acab633c5a8425987e472a40a113715891b301 (patch) | |
tree | 1ba0d14a503182449514be729338d4bbf9b675fb /scripts/build/binary_grub2 | |
parent | c73a5a0ee0b7e372ef33b6f0ab817d86a1a8093e (diff) | |
download | vyos-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-x | scripts/build/binary_grub2 | 4 |
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" ;; |