diskimage-builder/diskimage_builder/elements/bootloader
David Hill f7ee1cd733 Add grub-efi-x86_64 pkg-map
Add grub-efi-x86_64 pkg-map

Change-Id: I64fab237c3fcd5e4fe1e74eb17ddd2a9aa8110f5
Closes-bug: #1852762
2019-11-16 21:15:28 -05:00
..
cleanup.d Use [[ for =~ matches 2017-08-28 17:01:03 +10:00
environment.d bootloader: make serial console configurable 2019-10-03 21:49:53 +00:00
finalise.d bootloader: make serial console configurable 2019-10-03 21:49:53 +00:00
README.rst bootloader: make serial console configurable 2019-10-03 21:49:53 +00:00
pkg-map Add grub-efi-x86_64 pkg-map 2019-11-16 21:15:28 -05:00

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 parameters that are appended to the GRUB_CMDLINE_LINUX_DEFAULT values in grub.cfg configuration. It defaults to nofb nomodeset vga=normal.
  • 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.