]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/flash-images
flash-image: Enable GRUB_FIRST_BOOT setting
[ipfire-2.x.git] / lfs / flash-images
index 72e635073d2bfd2c08644823e78111cedb652f53..ca1ffa5e0c89a59e8e39e0761de17d1ac3de5ad5 100644 (file)
@@ -188,7 +188,8 @@ ifeq "$(BOOTLOADER)" "grub"
 
        # Create configuration
        mkdir -pv $(MNThdd)/boot/grub
-       chroot $(MNThdd) grub-mkconfig -o /boot/grub/grub.cfg
+       GRUB_FIRST_BOOT=true chroot $(MNThdd) \
+               grub-mkconfig -o /boot/grub/grub.cfg
 
        # Boot the first kernel by default
        chroot $(MNThdd) grub-set-default 0