1
0
Fork 0
forked from AbleOS/ableos

added suggestion when limine is not present

This commit is contained in:
Erin 2023-01-15 01:04:14 +01:00 committed by ondra05
parent 84d6cc49a1
commit eb93deae25

View file

@ -67,7 +67,9 @@ fn get_fs() -> Result<FileSystem<impl ReadWriteSeek>, io::Error> {
let bootdir = fs.root_dir().create_dir("efi")?.create_dir("boot")?;
io::copy(
&mut File::open("limine/BOOTX64.EFI")?,
&mut File::open("limine/BOOTX64.EFI")
.into_report()
.attach_printable("copying Limine bootloader (have you pulled the submodule?)")?,
&mut bootdir.create_file("bootx64.efi")?,
)?;