diff options
author | Thomas Gaugler <thomas@dadie.net> | 2019-08-31 17:58:55 +0200 |
---|---|---|
committer | Thomas Gaugler <thomas@dadie.net> | 2019-08-31 17:58:55 +0200 |
commit | 2e37e926cca551cd50485c6ef30a3b0b1f9469d7 (patch) | |
tree | e0346469e3f64d3c673795bdade3dfd9fb5986d0 | |
parent | f2d317f145d27e32b64eebef36119abe5650991e (diff) |
Add leading / to prefix of network boot image for d-i
The win32-loader package relies on the hosted netboot debian-installer
files.
The grubx64.efi file is located at
https://deb.deb.debian.org/debian/dists/stable/main/installer-amd64/current/images/netboot/gtk/debian-installer/amd64/grubx64.efi
and originates from the grub2 source package.
This grubx64.efi file includes the preconfigured prefix:
($root)debian-installer/amd64/grub.
This prefix lacks the leading / in front of debian-installer. Therefore
no grub.cfg file located on a local storage device can be accessed via
this preconfigured prefix.
The normal network boot image uses ($root)/grub as its prefix. As a
stopgap the win32-loader package (experimental) transforms the above
mentioned grubx64.efi file into a normal network boot image (also known
as grubnetx64.efi.signed of the grub-efi-amd64-signed_1+2.02+dfsg1+20
package). As a consequence the grub.cfg file could be accessed at the
($root)/grub prefix.
-rwxr-xr-x | debian/build-efi-images | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/build-efi-images b/debian/build-efi-images index 5ee103411..77dff87a4 100755 --- a/debian/build-efi-images +++ b/debian/build-efi-images @@ -216,6 +216,6 @@ NET_MODULES="$CD_MODULES "$grub_mkimage" -O "$platform" -o "$outdir/grubnet$efi_name-installer.efi" \ -d "$grub_core" -c "$workdir/grub-bootstrap.cfg" \ -m "$workdir/memdisk-netboot.fat" \ - -p "${efi_vendor}-installer/$deb_arch/grub" $NET_MODULES + -p "/${efi_vendor}-installer/$deb_arch/grub" $NET_MODULES exit 0 |