a2cc17ad75
This change removes the uninstall grub2-efi which was required for prerelease rhel-9 images but now breaks current centos-9-stream images. A different approach may be required for rhel-9 if the base image remains different to centos-9-stream (such as populating the empty /boot/efi partition from the base image) This change also fixes the detection of whether this is an efi build to check the block device instead of checking for whether a grub efi package is installed. This fixes building a centos-9-stream whole-disk image when package grub2-efi-x64 is installed but a legacy fallback grub also needs to be installed. Change-Id: I24baf553e1acd15a66737fc0b2a79d5335e28aa5 Partial-Bug: #1957789 |
||
---|---|---|
.. | ||
environment.d | ||
finalise.d | ||
pkg-map | ||
README.rst |
========== bootloader ========== Installs ``grub[2]`` on boot partition on the system. Arguments ========= * ``DIB_GRUB_TIMEOUT`` sets the ``grub`` 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 the ``GRUB_CMDLINE_LINUX_DEFAULT`` values in ``grub.cfg`` configuration. It defaults to ``nofb nomodeset gfxpayload=text``. * ``DIB_BOOTLOADER_SERIAL_CONSOLE`` sets the serial device to be used as a console. It defaults to ``hvc0`` for PowerPC, ``ttyAMA0,115200`` for ARM64, otherwise ``ttyS0,115200``.