Skip to main content

primary_boot_entry

Function primary_boot_entry 

Source
pub(crate) fn primary_boot_entry(
    entries: &[BootEntry<Sha512HashValue>],
) -> Result<&BootEntry<Sha512HashValue>>
Expand description

Pick the first real bootable entry, skipping UKI addons.

Addons can precede primary artifacts in discovery order, including aboot payloads. They must not determine the boot type or installation path.