diff --git a/blsctl/src/main.rs b/blsctl/src/main.rs index baeb0b5..fd76fc8 100644 --- a/blsctl/src/main.rs +++ b/blsctl/src/main.rs @@ -158,11 +158,14 @@ fn inspect_root(config: &Configuration) -> color_eyre::Result<()> { } } log::info!("Kernels: {kernels:?}"); - let entries = kernels.iter().map(Entry::new); + let mut entries = kernels.iter().map(Entry::new).collect::>(); + for entry in entries.iter_mut() { + entry.load_cmdline_snippets(config)?; + } // Query the manager let manager = Manager::new(config)? - .with_entries(entries) + .with_entries(entries.into_iter()) .with_bootloader_assets(booty_bits); let _parts = manager.mount_partitions()?; eprintln!("manager = {manager:?}");