]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
flash-image: Enable GRUB_FIRST_BOOT setting
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 21 Jul 2021 16:43:42 +0000 (16:43 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Jul 2021 10:05:31 +0000 (10:05 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
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