From 2e37e926cca551cd50485c6ef30a3b0b1f9469d7 Mon Sep 17 00:00:00 2001 From: Thomas Gaugler Date: Sat, 31 Aug 2019 17:58:55 +0200 Subject: 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. --- debian/build-efi-images | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/build-efi-images') 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 -- cgit v1.2.3