write_t1_simple

Function write_t1_simple 

Source
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 write
  • bootdir - Path to the boot directory
  • boot_subdir - Optional subdirectory to prepend to paths
  • root_id - The composefs root object ID
  • insecure - Whether to allow optional fs-verity verification
  • cmdline_extra - Additional kernel command line arguments
  • repo - The composefs repository