pub fn write_t1_simple<ObjectID: FsVerityHashValue>(
t1: Type1Entry<ObjectID>,
bootdir: &Path,
boot_subdir: Option<&str>,
root_id: &ObjectID,
insecure: bool,
cmdline_extra: &[&str],
repo: &Repository<ObjectID>,
) -> Result<()>Expand description
Writes a Type 1 boot entry to the boot directory.
ยงArguments
t1- The Type 1 entry to writebootdir- Path to the boot directoryboot_subdir- Optional subdirectory to prepend to pathsroot_id- The composefs root object IDinsecure- Whether to allow optional fs-verity verificationcmdline_extra- Additional kernel command line argumentsrepo- The composefs repository