feat(autoconfigure): find vmlinuz and initramfs pairs with linux autoconfigure module

This commit is contained in:
2025-10-27 15:41:29 -04:00
parent 99653b5192
commit d6e8fe0245
8 changed files with 317 additions and 39 deletions

View File

@@ -1,4 +1,5 @@
use anyhow::{Context, Result, bail};
use log::info;
use std::collections::BTreeMap;
/// The type of option. This disambiguates different behavior
@@ -113,9 +114,9 @@ pub trait OptionsRepresentable {
// Handle the --help flag case.
if description.form == OptionForm::Help {
// Generic configured options output.
println!("Configured Options:");
info!("Configured Options:");
for (name, description) in &configured {
println!(
info!(
" --{}{}: {}",
name,
if description.form == OptionForm::Value {