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