* util/grub-install.in: Fix nvram call for PreP.
This commit is contained in:
parent
5d1182a66b
commit
08fbf92ecb
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2012-03-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub-install.in: Fix nvram call for PreP.
|
||||||
|
|
||||||
2012-03-28 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-03-28 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Degrade
|
* grub-core/disk/diskfilter.c (grub_diskfilter_memberlist): Degrade
|
||||||
|
|
|
@ -764,6 +764,13 @@ elif [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-ieee1275" ]
|
||||||
echo " dd if=/dev/zero of=${install_device}"
|
echo " dd if=/dev/zero of=${install_device}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
dev="`echo "${install_device}" | sed -e 's/\/dev\///' -e 's/[0-9]\+//'`"
|
||||||
|
boot_device="`$ofpathname "$dev"`" || {
|
||||||
|
# TRANSLATORS: "device tree path" is the name of the device
|
||||||
|
# for IEEE1275
|
||||||
|
gettext_printf "Couldn't find IEEE1275 device tree path for %s.\nYou will have to set \`boot-device' variable manually.\n" "$dev" 1>&2
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"$nvsetenv" boot-device "$boot_device" || {
|
"$nvsetenv" boot-device "$boot_device" || {
|
||||||
|
|
Loading…
Reference in a new issue