From c05310496f9ebfe0e553e653440952f10aa3b68e Mon Sep 17 00:00:00 2001 From: Pragyan Poudyal Date: Fri, 10 Jul 2026 13:43:06 +0530 Subject: [PATCH] composefs/bls: Add user provided kargs These were not being considered in `install-to filesystem` branch. It was working in `install-to disk` because that path goes through `install_create_rootfs` which injects the user provided kargs in the list Fixes: #2304 Signed-off-by: Pragyan Poudyal --- crates/lib/src/bootc_composefs/boot.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/lib/src/bootc_composefs/boot.rs b/crates/lib/src/bootc_composefs/boot.rs index dd4079c7a..dc3927904 100644 --- a/crates/lib/src/bootc_composefs/boot.rs +++ b/crates/lib/src/bootc_composefs/boot.rs @@ -505,6 +505,12 @@ pub(crate) fn setup_composefs_bls_boot( cmdline_options.extend(&root_setup.kargs); + if let Some(user_kargs) = &state.config_opts.karg { + for karg in user_kargs { + cmdline_options.extend(karg); + } + } + let composefs_cmdline = ComposefsCmdline::build(&id_hex, state.composefs_options.allow_missing_verity); cmdline_options.extend(&Cmdline::from(&composefs_cmdline.to_string()));