mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
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:
committed by
Arne Fitzenreiter
parent
1e848ad3d4
commit
dd730a395b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user