summaryrefslogtreecommitdiff
path: root/scripts/build/binary_grub-pc
diff options
context:
space:
mode:
authorKim Hagen <kim@sentrium.io>2021-07-23 08:14:26 -0500
committerKim Hagen <kim@sentrium.io>2021-07-23 08:14:26 -0500
commitca2a4e78bedd6ec8d6dffd94009163596c1c5e1c (patch)
treebfd403077e0124ab8af60f7e79bc61e3412436d8 /scripts/build/binary_grub-pc
parenta410b8345de730b947d949f387730109f902c6c8 (diff)
downloadvyos-live-build-ca2a4e78bedd6ec8d6dffd94009163596c1c5e1c.tar.gz
vyos-live-build-ca2a4e78bedd6ec8d6dffd94009163596c1c5e1c.zip
create vyos hdd image
Diffstat (limited to 'scripts/build/binary_grub-pc')
-rwxr-xr-xscripts/build/binary_grub-pc4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/build/binary_grub-pc b/scripts/build/binary_grub-pc
index 6d111a7d0..2bdadeb39 100755
--- a/scripts/build/binary_grub-pc
+++ b/scripts/build/binary_grub-pc
@@ -24,6 +24,10 @@ Arguments "${@}"
Read_conffiles config/all config/common config/bootstrap config/chroot config/binary config/source
Set_defaults
+if In_list "${LIVE_IMAGE_TYPE}" hdd netboot; then
+ exit 0
+fi
+
Check_Any_Bootloader_Role "grub-pc"
Echo_message "Begin installing grub-pc..."