summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/binary_grub-efi18
1 files changed, 9 insertions, 9 deletions
diff --git a/scripts/build/binary_grub-efi b/scripts/build/binary_grub-efi
index e819c9d65..1eaea3fb5 100755
--- a/scripts/build/binary_grub-efi
+++ b/scripts/build/binary_grub-efi
@@ -41,6 +41,15 @@ Create_lockfile .lock
Check_architectures amd64 i386 arm64
Check_crossarchitectures
+# Setting destination directory
+case "${LIVE_IMAGE_TYPE}" in
+ hdd*|netboot)
+ Echo_warning "Bootloader in this image type not yet supported by live-build."
+ Echo_error "This would produce a not bootable image, aborting (FIXME)."
+ exit 1
+ ;;
+esac
+
# Checking depends
case "${LB_ARCHITECTURES}" in
amd64|i386)
@@ -106,15 +115,6 @@ case "${LB_UEFI_SECURE_BOOT}" in
esac
_LB_PACKAGES="${_PRE_SB_PACKAGES}"
-# Setting destination directory
-case "${LIVE_IMAGE_TYPE}" in
- hdd*|netboot)
- Echo_warning "Bootloader in this image type not yet supported by live-build."
- Echo_error "This would produce a not bootable image, aborting (FIXME)."
- exit 1
- ;;
-esac
-
# Restoring cache
Restore_package_cache binary