flash-image: Enable GRUB_FIRST_BOOT setting

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Michael Tremer
2021-07-27 10:07:09 +00:00
committed by Arne Fitzenreiter
parent 1e848ad3d4
commit dd730a395b

View 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