From dd730a395bd5f2b5becd6d56cdd998e395a19a33 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 27 Jul 2021 10:07:09 +0000 Subject: [PATCH] flash-image: Enable GRUB_FIRST_BOOT setting Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- 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.2