File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -409,6 +409,10 @@ pub(crate) struct InstallToExistingRootOpts {
409409 /// via e.g. `-v /:/target`.
410410 #[ clap( default_value = ALONGSIDE_ROOT_MOUNT ) ]
411411 pub ( crate ) root_path : Utf8PathBuf ,
412+
413+ #[ cfg( feature = "composefs-backend" ) ]
414+ #[ clap( flatten) ]
415+ pub ( crate ) composefs_opts : InstallComposefsOpts ,
412416}
413417
414418/// Global state captured from the container.
@@ -2135,12 +2139,7 @@ pub(crate) async fn install_to_existing_root(opts: InstallToExistingRootOpts) ->
21352139 target_opts : opts. target_opts ,
21362140 config_opts : opts. config_opts ,
21372141 #[ cfg( feature = "composefs-backend" ) ]
2138- composefs_opts : InstallComposefsOpts {
2139- composefs_backend : true ,
2140- insecure : false ,
2141- bootloader : Bootloader :: Grub ,
2142- uki_addon : None ,
2143- } ,
2142+ composefs_opts : opts. composefs_opts ,
21442143 } ;
21452144
21462145 install_to_filesystem ( opts, true , cleanup) . await
You can’t perform that action at this time.
0 commit comments