pub fn write_t2_simple<ObjectID: FsVerityHashValue>(
t2: Type2Entry<ObjectID>,
bootdir: &Path,
root_id: &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= parameter matches the expected root_id.
§Arguments
t2- The Type 2 entry to writebootdir- Path to the boot directoryroot_id- The expected composefs root object IDrepo- The composefs repository