Merge pull request #47196 from xeji/p/iso-boot-ia32
nixos/iso-image: fix 32bit UEFI boot
commitf753852e11d72c05cb74d1058ea8b7f6d5dd4748
authorSamuel Dionne-Riel <samuel@dionne-riel.com>
dateSun 23 Sep 2018, 00:46 (8 years ago)
parentbd13ef5845ae98
nixos/modules/installer/cd-dvd/iso-image.nix+1−1
@@ -233,7 +233,7 @@ let
233233 "
234234 # Make our own efi program, we can't rely on "grub-install" since it seems to
235235 # probe for devices, even with --skip-fs-probe.
236− ${pkgs.grub2_efi}/bin/grub-mkimage -o $out/EFI/boot/${if targetArch == "x64" then "bootx64" else "bootx32"}.efi -p /EFI/boot -O ${if targetArch == "x64" then "x86_64" else "i386"}-efi \
236+ ${pkgs.grub2_efi}/bin/grub-mkimage -o $out/EFI/boot/${if targetArch == "x64" then "bootx64" else "bootia32"}.efi -p /EFI/boot -O ${if targetArch == "x64" then "x86_64" else "i386"}-efi \
237237 $MODULES
238238 cp ${pkgs.grub2_efi}/share/grub/unicode.pf2 $out/EFI/boot/
239239