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 ๐Ÿ”’
SYSTEMD_LOADER_CONF_PATH ๐Ÿ”’
Destination of the systemd-boot loader configuration on the ESP
SYSTEMD_LOADER_CONF_SRC ๐Ÿ”’
Path in the container image where an image author may ship an initial systemd-boot configuration. When present, it is copied verbatim onto the ESP after bootctl install

Functionsยง

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.
systemd_version ๐Ÿ”’
Query the major version of systemd via systemctl --version, caching the result so it can be shared across callers (bootctl, systemd-repart, etc.).