From 5a4e8a2c9e6fc7888d4a2e5402b24c450ac1576a Mon Sep 17 00:00:00 2001 From: Jakub Darmach Date: Tue, 16 Nov 2021 11:22:15 +0100 Subject: [PATCH] Added missing grubby arg DIB_BOOTLOADER_DEFAULT_CMDLINE DIB_BOOTLOADER_DEFAULT_CMDLINE was missing from grubby args. Closes-Bug: 1951084 Change-Id: Idf2a471453c5490d927979fb97aa916418172153 --- diskimage_builder/elements/bootloader/finalise.d/50-bootloader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diskimage_builder/elements/bootloader/finalise.d/50-bootloader b/diskimage_builder/elements/bootloader/finalise.d/50-bootloader index d042d0ed..433a2c67 100755 --- a/diskimage_builder/elements/bootloader/finalise.d/50-bootloader +++ b/diskimage_builder/elements/bootloader/finalise.d/50-bootloader @@ -196,7 +196,7 @@ fi GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=${SERIAL_CONSOLE} no_timer_check" if [ -n "$USE_GRUBBY" ]; then - grubby --update-kernel=ALL --args="$GRUB_CMDLINE_LINUX_DEFAULT" + grubby --update-kernel=ALL --args="${GRUB_CMDLINE_LINUX_DEFAULT} ${DIB_BOOTLOADER_DEFAULT_CMDLINE}" else echo "GRUB_CMDLINE_LINUX_DEFAULT=\"${GRUB_CMDLINE_LINUX_DEFAULT} ${DIB_BOOTLOADER_DEFAULT_CMDLINE}\"" >>/etc/default/grub fi