diff options
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" ;; |