Skip to main content

Module bootloader

Module bootloader 

Source

Constantsยง

BOOTCTL_RANDOM_SEED_MIN_VERSION ๐Ÿ”’
First systemd release whose bootctl install accepts --random-seed. See: https://www.freedesktop.org/software/systemd/man/latest/bootctl.html
BOOTUPD_UPDATES ๐Ÿ”’
The EFI system partition GUID Path to the bootupd update payload
EFI_DIR ๐Ÿ”’
The name of the mountpoint for efi (as a subdirectory of /boot, or at the toplevel)
KERNEL_INSTALL_CONF_ROOT ๐Ÿ”’
Redirect bootctlโ€™s entry-token write into a tmpfs scratch area.
SYSTEMD_KEY_DIR ๐Ÿ”’

Functionsยง

bootctl_systemd_version ๐Ÿ”’
bootupd_supports_filesystem ๐Ÿ”’
Check whether the target bootupd supports --filesystem.
install_systemd_boot ๐Ÿ”’
Install systemd-boot using a pre-prepared boot root.
install_via_bootupd ๐Ÿ”’
Install the bootloader via bootupd.
install_via_zipl ๐Ÿ”’
mount_esp_part ๐Ÿ”’
Mount the first ESP found among backing devices at /boot/efi.
parse_systemd_version ๐Ÿ”’
Parse the systemd major version from bootctl --version output, whose first line looks like systemd 259 (259.5-0ubuntu3).
supports_bootupd ๐Ÿ”’
Determine if the invoking environment contains bootupd, and if there are bootupd-based updates in the target root.