Skip to main content

image_fsverity_policy

Function image_fsverity_policy 

Source
pub(crate) fn image_fsverity_policy(
    repo: &Repository<Sha512HashValue>,
    entries: &[BootEntry<Sha512HashValue>],
) -> Result<Option<bool>>
Expand description

Inspect primary boot artifacts to discover the image’s fs-verity policy before creating the durable repository. Final artifact validation occurs while installing the boot artifact.