* util/grub-install.in: Copy bootia32.efi to boot.efi.
* util/grub-mkrescue.in: Likewise.
Suggested by: Peter Jones.
+2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
+
+ Old macs search for boot.efi rather than for bootia32.efi.
+
+ * util/grub-install.in: Copy bootia32.efi to boot.efi.
+ * util/grub-mkrescue.in: Likewise.
+ Suggested by: Peter Jones.
+
2011-03-29 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub.d/20_linux_xen.in: Accept old-style xen kernels.
fi
elif [ x"$platform" = xefi ]; then
cp "${grubdir}/core.${imgext}" "${efidir}/${efi_file}"
+ # For old macs. Suggested by Peter Jones.
+ if [ x$target_cpu = xi386 ]; then
+ cp "${grubdir}/core.${imgext}" "${efidir}/boot.efi"
+ fi
# Try to make this image bootable using the EFI Boot Manager, if available.
efibootmgr="`which efibootmgr`"
make_image "${efi64_dir}" x86_64-efi "${efi_dir}"/efi/boot/bootx64.efi ""
# build bootia32.efi
make_image "${efi32_dir}" i386-efi "${efi_dir}"/efi/boot/bootia32.efi ""
+ if [ -e "${efi_dir}"/efi/boot/bootia32.efi ]; then
+ # For old macs. Suggested by Peter Jones.
+ cp "${efi_dir}"/efi/boot/bootia32.efi "${efi_dir}"/efi/boot/boot.efi
+ fi
mformat -C -f 2880 -L 16 -i "${iso9660_dir}"/efi.img ::
mcopy -s -i "${iso9660_dir}"/efi.img ${efi_dir}/efi ::/