[3/4] flash-image: Enable GRUB_FIRST_BOOT setting
Commit Message
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
lfs/flash-images | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
@@ -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