fix(autoconfigure/linux): remove debug line

This commit is contained in:
2025-11-01 02:01:09 -04:00
parent fd2e9df3f1
commit b94c684d52

View File

@@ -1,17 +1,16 @@
use crate::actions::ActionDeclaration;
use crate::actions::chainload::ChainloadConfiguration; use crate::actions::chainload::ChainloadConfiguration;
use crate::actions::ActionDeclaration;
use crate::config::RootConfiguration; use crate::config::RootConfiguration;
use crate::entries::EntryDeclaration; use crate::entries::EntryDeclaration;
use crate::generators::GeneratorDeclaration;
use crate::generators::list::ListConfiguration; use crate::generators::list::ListConfiguration;
use crate::generators::GeneratorDeclaration;
use crate::utils; use crate::utils;
use anyhow::{Context, Result}; use anyhow::{Context, Result};
use log::info;
use std::collections::BTreeMap; use std::collections::BTreeMap;
use uefi::CString16;
use uefi::fs::{FileSystem, Path, PathBuf}; use uefi::fs::{FileSystem, Path, PathBuf};
use uefi::proto::device_path::DevicePath;
use uefi::proto::device_path::text::{AllowShortcuts, DisplayOnly}; use uefi::proto::device_path::text::{AllowShortcuts, DisplayOnly};
use uefi::proto::device_path::DevicePath;
use uefi::CString16;
/// The name prefix of the Linux chainload action that will be used to boot Linux. /// The name prefix of the Linux chainload action that will be used to boot Linux.
const LINUX_CHAINLOAD_ACTION_PREFIX: &str = "linux-chainload-"; const LINUX_CHAINLOAD_ACTION_PREFIX: &str = "linux-chainload-";
@@ -117,7 +116,6 @@ fn scan_directory(filesystem: &mut FileSystem, path: &str) -> Result<Vec<KernelP
let mut initramfs_path = path_for_join.clone(); let mut initramfs_path = path_for_join.clone();
initramfs_path.push(Path::new(&initramfs)); initramfs_path.push(Path::new(&initramfs));
info!("initramfs path: {:?} ({})", initramfs_path, initramfs);
// Check if the initramfs path exists, if it does, break out of the loop. // Check if the initramfs path exists, if it does, break out of the loop.
if filesystem if filesystem
.try_exists(&initramfs_path) .try_exists(&initramfs_path)