Skip to main content

Module boot_partition

Module boot_partition 

Source
Expand description

Selecting the partition that holds the composefs boot entries.

Per the Boot Loader Specification, boot entries go on the Extended Boot Loader Partition (XBOOTLDR) on the ESP’s disk if there is one, and on the ESP otherwise. bootc follows that for bootloaders that read entries that way (see Bootloader::is_bls_conformant), with one exception: systems installed by a bootc that didn’t use XBOOTLDR partitions keep their entries on the ESP, so a booted system keeps using the partition holding the booted deployment’s entries.

Enums§

BootPartition 🔒
The partition holding UKIs, Type #1 entries and their kernels and initramfs images.

Functions§

has_type1_entry_for 🔒
Whether boot_dir has one of our Type #1 entries, staged or not, for the deployment verity.
sibling_xbootldr 🔒