From 3d03f3e3236bd5f4d0d989f7acb6cffc98401b80 Mon Sep 17 00:00:00 2001 From: Pragyan Poudyal Date: Thu, 12 Feb 2026 13:13:17 +0530 Subject: [PATCH] Introduce `allow-missing-fsverity` parameter Signed-off-by: Pragyan Poudyal --- crates/kit/src/install_options.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/crates/kit/src/install_options.rs b/crates/kit/src/install_options.rs index 74649e0..2e33ae1 100644 --- a/crates/kit/src/install_options.rs +++ b/crates/kit/src/install_options.rs @@ -44,6 +44,11 @@ pub struct InstallOptions { /// Which bootloader to use for composefs-native backend #[clap(long, requires = "composefs_backend")] pub bootloader: Option, + + /// Allow installation without fs-verity support for composefs-native + /// backend + #[clap(long, requires = "composefs_backend")] + pub allow_missing_fsverity: bool, } impl InstallOptions { @@ -79,6 +84,10 @@ impl InstallOptions { args.push(b.clone()); } + if self.allow_missing_fsverity { + args.push("--allow-missing-fsverity".into()); + } + args } }