We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7587638 commit 8c6294aCopy full SHA for 8c6294a
src/lib.rs
@@ -7,8 +7,7 @@ An experimental x86_64 bootloader that works on both BIOS and UEFI systems.
7
use anyhow::Context;
8
use std::{
9
collections::BTreeMap,
10
- ops::Deref,
11
- path::{self, Path, PathBuf},
+ path::{Path, PathBuf},
12
};
13
use tempfile::NamedTempFile;
14
@@ -37,6 +36,7 @@ impl BiosBoot {
37
36
}
38
39
+ /// Add a ramdisk file to the image
40
pub fn with_ramdisk(&self, ramdisk_path: &Path) -> Self {
41
Self {
42
kernel: self.kernel.to_owned(),
@@ -107,6 +107,7 @@ impl UefiBoot {
107
108
109
110
+ /// Add a ramdisk file to the disk image
111
112
113
kernel: self.kernel.clone(),
0 commit comments