* util/grub-install.in: Fix dvhtool invocation. Add arc to the list of

platforms with firmware disk drivers in the core.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-25 19:32:22 +02:00
parent 754ad9ebbe
commit e9e6f11155
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2012-06-25 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Fix dvhtool invocation. Add arc to the list of
platforms with firmware disk drivers in the core.
2012-06-25 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/disk/diskfilter.c (scan_disk) [GRUB_UTIL]: Put more

View file

@ -340,7 +340,7 @@ if [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-pc" ] ; then
if [ x$disk_module = xunspecified ]; then
disk_module=biosdisk
fi
elif [ "${grub_modinfo_platform}" = "ieee1275" ] || [ "${grub_modinfo_platform}" = "efi" ] ; then
elif [ "${grub_modinfo_platform}" = "ieee1275" ] || [ "${grub_modinfo_platform}" = "efi" ] || [ "${grub_modinfo_platform}" = "arc" ] ; then
disk_module=
else
disk_module=native
@ -817,7 +817,7 @@ elif [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-ieee1275" ]
}
fi
elif [ x"${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = xmips-arc ]; then
dvhtool -d "${install_device}" --unix-to-vh "{grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform/core.${imgext}" grub
dvhtool -d "${install_device}" --unix-to-vh "${grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform/core.${imgext}" grub
gettext "You will have to set \`SystemPartition' and \`OSLoader' manually." 1>&2
echo 1>&2
elif [ x"$grub_modinfo_platform" = xefi ]; then