Skip to content

Commit

Permalink
blsctl: Fix loading of kernel snippets
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed Dec 22, 2024
1 parent 56776c9 commit 0b4ff01
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions blsctl/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<Vec<_>>();
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:?}");
Expand Down

0 comments on commit 0b4ff01

Please sign in to comment.