summaryrefslogtreecommitdiff
path: root/scripts/build/binary_grub-pc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_grub-pc')
-rwxr-xr-xscripts/build/binary_grub-pc6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build/binary_grub-pc b/scripts/build/binary_grub-pc
index cd385ead2..ac6fd04a1 100755
--- a/scripts/build/binary_grub-pc
+++ b/scripts/build/binary_grub-pc
@@ -21,11 +21,13 @@ USAGE="${PROGRAM} [--force]"
# Processing arguments and configuration files
Init_config_data "${@}"
-if In_list "${LB_IMAGE_TYPE}" hdd netboot; then
+if ! In_list "grub-pc" $LB_BOOTLOADERS; then
exit 0
fi
-Check_Any_Bootloader_Role "grub-pc"
+if In_list "${LB_IMAGE_TYPE}" hdd netboot; then
+ exit 0
+fi
Echo_message "Begin installing grub-pc..."