Skip to main content

reconcile_uki_candidates

Function reconcile_uki_candidates 

Source
fn reconcile_uki_candidates(
    expected: &ExpectedComposefsDigest,
    expected_ids: ExpectedBootImageIds,
    find_matching: impl FnMut(&Sha512HashValue) -> Result<BootImageMatch<Sha512HashValue>>,
) -> Result<RecoveredBootImage>
Expand description

The repository-independent part of ensure_correct_composefs_digest: every UKI candidate must name a boot image of an acceptable format, found either among expected_ids or via find_matching.