]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
flash-image: Enable GRUB_FIRST_BOOT setting
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Jul 2021 10:07:09 +0000 (10:07 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 1 Aug 2021 13:24:46 +0000 (13:24 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@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