grub cloud: Add kernel release to boot ID

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Michael Tremer
2021-07-27 10:07:10 +00:00
committed by Arne Fitzenreiter
parent dd730a395b
commit b8b36e969c
2 changed files with 6 additions and 2 deletions

View File

@@ -188,7 +188,7 @@ ifeq "$(BOOTLOADER)" "grub"
# Create configuration
mkdir -pv $(MNThdd)/boot/grub
GRUB_FIRST_BOOT=true chroot $(MNThdd) \
GRUB_FIRST_BOOT=true KERNEL_RELEASE="$(KVER)-ipfire" chroot $(MNThdd) \
grub-mkconfig -o /boot/grub/grub.cfg
# Boot the first kernel by default