* util/grub-install.in: Check for ieee1275 and not ieee1276.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-01 22:43:10 +02:00
parent 2b34f94455
commit 8a7ecad3ab
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2012-06-01 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Check for ieee1275 and not ieee1276.
2012-05-31 Vladimir Serbinenko <phcoder@gmail.com> 2012-05-31 Vladimir Serbinenko <phcoder@gmail.com>
* configure.ac: Bump to beta6. * configure.ac: Bump to beta6.

View file

@ -738,7 +738,7 @@ if [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-pc" ] || [ "$
elif [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-ieee1275" ] || [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "powerpc-ieee1275" ]; then elif [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-ieee1275" ] || [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "powerpc-ieee1275" ]; then
# If a install device is defined, copy the core.elf to PReP partition. # If a install device is defined, copy the core.elf to PReP partition.
if [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "powerpc-ieee1276" ] && [ -n "${install_device}" ]; then if [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "powerpc-ieee1275" ] && [ -n "${install_device}" ]; then
if [ "$("${grub_probe}" -m "${device_map}" -d "${install_device}" -t msdos_parttype)" != "41" ]; then if [ "$("${grub_probe}" -m "${device_map}" -d "${install_device}" -t msdos_parttype)" != "41" ]; then
gettext "The chosen partition is not a PReP partition." 1>&2 gettext "The chosen partition is not a PReP partition." 1>&2
echo 1>&2 echo 1>&2