From eb93deae25d423fd95e75b8437bb97afdcb43f21 Mon Sep 17 00:00:00 2001 From: Erin Date: Sun, 15 Jan 2023 01:04:14 +0100 Subject: [PATCH] added suggestion when limine is not present --- repbuild/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/repbuild/src/main.rs b/repbuild/src/main.rs index d1e8b09..b2cbeb3 100644 --- a/repbuild/src/main.rs +++ b/repbuild/src/main.rs @@ -67,7 +67,9 @@ fn get_fs() -> Result, 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")?, )?;