From 7312c63f09f8bacb08d206cd298d6985120ed0a2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 21 Jul 2021 16:43:42 +0000 Subject: [PATCH] flash-image: Enable GRUB_FIRST_BOOT setting Signed-off-by: Michael Tremer --- lfs/flash-images | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lfs/flash-images b/lfs/flash-images index 72e635073d..ca1ffa5e0c 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -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 -- 2.39.5