We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd2a59d commit 4f6f6bbCopy full SHA for 4f6f6bb
src/lib.rs
@@ -123,8 +123,11 @@ pub fn create_bios_disk_image(
123
Ok(())
124
}
125
126
-/// Prepare a folder for use with booting over UEFI_PXE. The dhcp server should
127
-/// have the filename option set to `bootloader`.
+/// Prepare a folder for use with booting over UEFI_PXE.
+///
128
+/// This places the bootloader executable under the path "bootloader". The
129
+/// DHCP server should set the filename option to that path, otherwise the
130
+/// bootloader won't be found.
131
pub fn create_uefi_pxe_tftp_folder(kernel_binary: &Path, out_path: &Path) -> anyhow::Result<()> {
132
let bootloader_path = Path::new(env!("UEFI_BOOTLOADER_PATH"));
133
0 commit comments