Switch to new grub-mkimage syntax

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-04-26 21:27:41 +02:00
parent 8ea6ecb36d
commit 88d046d01e
5 changed files with 18 additions and 15 deletions

View file

@ -213,7 +213,7 @@ devabstraction_module=`$grub_probe --target=abstraction --device-map=${device_ma
# The order in this list is critical. Be careful when modifying it.
modules="$modules $fs_module $partmap_module $devabstraction_module"
$grub_mkimage --output=${grubdir}/grub.efi $modules || exit 1
$grub_mkimage -O ${target_cpu}-efi --output=${grubdir}/grub.efi $modules || exit 1
# Prompt the user to check if the device map is correct.
echo "Installation finished. No error reported."