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 @@ -413,6 +413,10 @@ pub(crate) struct InstallToExistingRootOpts {
413413 /// via e.g. `-v /:/target`.
414414 #[ clap( default_value = ALONGSIDE_ROOT_MOUNT ) ]
415415 pub ( crate ) root_path : Utf8PathBuf ,
416+
417+ #[ cfg( feature = "composefs-backend" ) ]
418+ #[ clap( flatten) ]
419+ pub ( crate ) composefs_opts : InstallComposefsOpts ,
416420}
417421
418422/// Global state captured from the container.
@@ -2139,12 +2143,7 @@ pub(crate) async fn install_to_existing_root(opts: InstallToExistingRootOpts) ->
21392143 target_opts : opts. target_opts ,
21402144 config_opts : opts. config_opts ,
21412145 #[ cfg( feature = "composefs-backend" ) ]
2142- compoesfs_opts : InstallComposefsOpts {
2143- composefs_backend : true ,
2144- insecure : false ,
2145- bootloader : Bootloader :: Grub ,
2146- uki_addon : None ,
2147- } ,
2146+ compoesfs_opts : opts. composefs_opts ,
21482147 } ;
21492148
21502149 install_to_filesystem ( opts, true , cleanup) . await
You can’t perform that action at this time.
0 commit comments