forked from koniifer/ableos
added suggestion when limine is not present
This commit is contained in:
parent
84d6cc49a1
commit
eb93deae25
|
@ -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")?,
|
||||
)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue