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 @@ -407,6 +407,10 @@ pub(crate) struct InstallToExistingRootOpts {
407407 /// via e.g. `-v /:/target`.
408408 #[ clap( default_value = ALONGSIDE_ROOT_MOUNT ) ]
409409 pub ( crate ) root_path : Utf8PathBuf ,
410+
411+ #[ cfg( feature = "composefs-backend" ) ]
412+ #[ clap( flatten) ]
413+ pub ( crate ) composefs_opts : InstallComposefsOpts ,
410414}
411415
412416/// Global state captured from the container.
@@ -2185,12 +2189,7 @@ pub(crate) async fn install_to_existing_root(opts: InstallToExistingRootOpts) ->
21852189 target_opts : opts. target_opts ,
21862190 config_opts : opts. config_opts ,
21872191 #[ cfg( feature = "composefs-backend" ) ]
2188- composefs_opts : InstallComposefsOpts {
2189- composefs_backend : true ,
2190- insecure : false ,
2191- uki_addon : None ,
2192- bootloader : None ,
2193- } ,
2192+ composefs_opts : opts. composefs_opts ,
21942193 } ;
21952194
21962195 install_to_filesystem ( opts, true , cleanup) . await
You can’t perform that action at this time.
0 commit comments