Skip to content

Commit 510a44b

Browse files
committed
Use correct file name when loading boot config file
1 parent 2f5fdf0 commit 510a44b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bios/stage-2/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ fn start(disk_number: u16, partition_table_start: *const u8) -> ! {
115115
}
116116
let config_file_start = ramdisk_start.wrapping_add(ramdisk_len.try_into().unwrap());
117117
let config_file_len = try_load_file(
118-
"config.json",
118+
"boot.json",
119119
config_file_start,
120120
&mut fs,
121121
&mut disk,

uefi/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ fn load_config_file(
219219
st: &mut SystemTable<Boot>,
220220
boot_mode: BootMode,
221221
) -> Option<&'static mut [u8]> {
222-
load_file_from_boot_method(image, st, "config.json\0", boot_mode)
222+
load_file_from_boot_method(image, st, "boot.json\0", boot_mode)
223223
}
224224

225225
fn load_kernel(

0 commit comments

Comments
 (0)