From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 3/4] flash-image: Enable GRUB_FIRST_BOOT setting
Date: Tue, 27 Jul 2021 10:07:09 +0000 [thread overview]
Message-ID: <20210727100710.5331-3-michael.tremer@ipfire.org> (raw)
In-Reply-To: <20210727100710.5331-1-michael.tremer@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 602 bytes --]
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
lfs/flash-images | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lfs/flash-images b/lfs/flash-images
index 72e635073..ca1ffa5e0 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.20.1
next prev parent reply other threads:[~2021-07-27 10:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-27 10:07 [PATCH 1/4] flash-images: Label serial console option as "serial" Michael Tremer
2021-07-27 10:07 ` [PATCH 2/4] grub: Add file with cloud helping stuff Michael Tremer
2021-07-27 10:07 ` Michael Tremer [this message]
2021-07-27 10:07 ` [PATCH 4/4] grub cloud: Add kernel release to boot ID Michael Tremer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210727100710.5331-3-michael.tremer@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox