pub fn write_t2_simple<ObjectID: FsVerityHashValue>(
t2: Type2Entry<ObjectID>,
bootdir: &Path,
acceptable_digests: &[&ObjectID],
repo: &Repository<ObjectID>,
) -> Result<()>Expand description
Writes a Type 2 boot entry (UKI) to the boot directory.
Validates that the UKI’s embedded composefs karg (composefs= or composefs.digest=)
matches one of the expected acceptable_digests.
§Arguments
t2- The Type 2 entry to writebootdir- Path to the boot directoryacceptable_digests- The composefs root object IDs the UKI may carryrepo- The composefs repository