61e6566c48
When building the image on a non-efi environment, it generates linux16/initrd16 entries. But to boot from UEFI they need to have linuxefi/initrdefi entries. Use sed to replace those entries, in case we have an EFI image. Change-Id: I47c96450e10f34b91bcc32888532bd7ab87cf316 |
||
---|---|---|
.. | ||
cleanup.d | ||
environment.d | ||
finalise.d | ||
pkg-map | ||
README.rst |
========== bootloader ========== Installs ``grub[2]`` on boot partition on the system. In case GRUB2 is not available in the system, a fallback to Extlinux will happen. It's also possible to enforce the use of Extlinux by exporting a ``DIB_EXTLINUX`` variable to the environment. 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 the CMDLINE parameters that are appended to the grub.cfg configuration. It defaults to 'nofb nomodeset vga=normal'