Browse Source

Merge "Added missing grubby arg DIB_BOOTLOADER_DEFAULT_CMDLINE"

changes/51/818851/3
Zuul 6 months ago committed by Gerrit Code Review
parent
commit
11d25f76d2
  1. 2
      diskimage_builder/elements/bootloader/finalise.d/50-bootloader

2
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

Loading…
Cancel
Save