Skip to main content

validate_repository_policy

Function validate_repository_policy 

Source
pub(crate) fn validate_repository_policy(
    repository_insecure: bool,
    requested_relaxed: bool,
    allow_missing_verity_explicit: bool,
) -> Result<()>
Expand description

Enforce the durable repository policy after inspecting the imported image. Existing metadata is never rewritten: an explicit relaxation only applies to the session that will install the boot artifacts.