sgimips grub-install partial support (untested)

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-05-13 18:02:36 +02:00
parent 214af04cf5
commit dd10ec9e60

View file

@ -619,6 +619,10 @@ elif [ "${target_cpu}-${platform}" = "i386-ieee1275" ] || [ "${target_cpu}-${pla
exit 1
}
fi
elif [ x"${target_cpu}-${platform}" = xmips-arc ]; then
dvhtool -d "${install_device}" --unix-to-vh "{grubdir}/core.${imgext}" grub
echo "You will have to set boot-device manually. At the Open Firmware prompt, type:"
elif [ x"$platform" = xefi ]; then
cp "${grubdir}/core.${imgext}" "${efidir}/${efi_file}"
# For old macs. Suggested by Peter Jones.