52e2965c21
Some base images will be known to have the required grub packages installed already so package installation can be skipped. This is specifically for the case where the base image was built by dib, and installing any packages is undesirable because repos are not set up. Change-Id: I0beab9e93838845a0ee533c7e6c7a4980cadd9b3 |
||
---|---|---|
.. | ||
environment.d | ||
finalise.d | ||
pkg-map | ||
README.rst |
bootloader
Installs grub[2]
on boot partition on the system.
Arguments
DIB_GRUB_TIMEOUT
sets thegrub
menu timeout. It defaults to 1 seconds. Set this to 0 (no timeout) for fast boot times.DIB_GRUB_TIMEOUT_STYLE
sets the visibility of thegrub
menu. It defaults tohidden
(orcountdown
as an alias). Set this tomenu
to display the menu and then wait for the timeout set byDIB_GRUB_TIMEOUT
to expire before booting the default entry.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_USE_SERIAL_CONSOLE
allows usage of a serial console to be disabled in the resulting image by setting to a value ofFalse
.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
.DIB_BOOTLOADER_VIRTUAL_TERMINAL
sets the virtual terminal be used as a console. It defaults totty0
. When explicitly set to an empty string then no virtual terminal console kernel argument is added.DIB_NO_TIMER_CHECK
allows the default kernel argument,no_timer_check
to be removed from the kernel command line when the value is set toFalse
.DIB_SKIP_GRUB_PACKAGE_INSTALL
when set toTrue
will not install any grub packages, and will assume all necessary packages are already installed.