Skip to content

Commit 2058af6

Browse files
committed
Rename the output images from bootimage-* to boot-*
To avoid confusion with the `bootimage` crate.
1 parent 536e0f6 commit 2058af6

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/bin/builder.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,7 @@ fn main() -> anyhow::Result<()> {
154154
})?;
155155

156156
if let Some(out_dir) = &args.out_dir {
157-
let efi_file =
158-
out_dir.join(format!("bootimage-{}-{}.efi", executable_name, kernel_name));
157+
let efi_file = out_dir.join(format!("boot-{}-{}.efi", executable_name, kernel_name));
159158
create_uefi_disk_image(&executable_path, &efi_file)
160159
.context("failed to create UEFI disk image")?;
161160
}
@@ -208,7 +207,7 @@ fn main() -> anyhow::Result<()> {
208207
let mut output_bin_path = executable_path
209208
.parent()
210209
.unwrap()
211-
.join(format!("bootimage-{}-{}.img", executable_name, kernel_name));
210+
.join(format!("boot-{}-{}.img", executable_name, kernel_name));
212211

213212
create_disk_image(&executable_path, &output_bin_path)
214213
.context("Failed to create bootable disk image")?;

tests/runner/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub fn create_disk_image(kernel_binary_path: &Path, bios_only: bool) -> PathBuf
6666
let disk_image = kernel_binary_path
6767
.parent()
6868
.unwrap()
69-
.join(format!("bootimage-bios-{}.img", kernel_binary_name));
69+
.join(format!("boot-bios-{}.img", kernel_binary_name));
7070
if !disk_image.exists() {
7171
panic!(
7272
"Disk image does not exist at {} after bootloader build",

0 commit comments

Comments
 (0)