Skip to content

Commit 574bbfd

Browse files
Johan-Liebert1allisonkarlitskaya
authored andcommitted
Document insecure parameter passed to write_boot_simple
Signed-off-by: Pragyan Poudyal <[email protected]>
1 parent 18d49c4 commit 574bbfd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/composefs-boot/src/write_boot.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ pub fn write_t2_simple<ObjectID: FsVerityHashValue>(
7777
/// * repo - The composefs repository
7878
/// * entry - Boot entry variant to be written
7979
/// * root_id - The content hash of the generated EROFS image id
80+
/// * insecure - Make fs-verity validation optional in case the filesystem doesn't support
81+
/// it, indicated by `composefs=?hash` cmdline argument
8082
/// * boot_partition - Path to the boot partition/directory
8183
/// * boot_subdir - If `Some(path)`, the path is prepended to `initrd` and `linux` keys in the BLS entry
8284
///

0 commit comments

Comments
 (0)