
Creating a separate /boot partition is desirable in some cases[1]. This change detects if /boot is a partition, and ensures that the kernel/ramdisk paths are correct in either case. This is applied to all BLS entries files, whether they were generated by the previous grub2-mkconfig call or in the source image. This means the rhel9 specific workaround can be removed since all paths are now normalised at this stage. [1] https://review.opendev.org/c/openstack/tripleo-image-elements/+/846807 Change-Id: I62120ec8c65876e451532d2654d37435eb3606a6 Resolves: rhbz#2101514
bootloader
Installs grub[2]
on boot partition on the system.
Arguments
DIB_GRUB_TIMEOUT
sets thegrub
menu timeout. It defaults to 5 seconds. Set this to 0 (no timeout) for fast boot times.DIB_BOOTLOADER_DEFAULT_CMDLINE
sets parameters that are appended to theGRUB_CMDLINE_LINUX_DEFAULT
values ingrub.cfg
configuration. It defaults tonofb nomodeset gfxpayload=text
.DIB_BOOTLOADER_SERIAL_CONSOLE
sets the serial device to be used as a console. It defaults tohvc0
for PowerPC,ttyAMA0,115200
for ARM64, otherwisettyS0,115200
.