* util/grub-install.in: Recognize ESP mounted at /boot/EFI.
This commit is contained in:
parent
e4bcf6258c
commit
ca5572a9ad
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2011-07-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub-install.in: Recognize ESP mounted at /boot/EFI.
|
||||||
|
|
||||||
2011-07-10 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-07-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* po/POTFILES.in: Regenerate.
|
* po/POTFILES.in: Regenerate.
|
||||||
|
|
|
@ -335,6 +335,12 @@ if [ x"$platform" = xefi ]; then
|
||||||
if test "x$install_device" != "x`"$grub_mkdevicemap" --device-map=/dev/stdout | "$grub_probe" --target=device --device-map=/dev/stdin "${bootdir}"`"; then
|
if test "x$install_device" != "x`"$grub_mkdevicemap" --device-map=/dev/stdout | "$grub_probe" --target=device --device-map=/dev/stdin "${bootdir}"`"; then
|
||||||
efidir="${bootdir}/efi"
|
efidir="${bootdir}/efi"
|
||||||
fi
|
fi
|
||||||
|
elif test -d "${bootdir}/EFI"; then
|
||||||
|
install_device="`"$grub_mkdevicemap" --device-map=/dev/stdout | "$grub_probe" --target=device --device-map=/dev/stdin "${bootdir}/EFI"`"
|
||||||
|
# Is it a mount point?
|
||||||
|
if test "x$install_device" != "x`"$grub_mkdevicemap" --device-map=/dev/stdout | "$grub_probe" --target=device --device-map=/dev/stdin "${bootdir}"`"; then
|
||||||
|
efidir="${bootdir}/EFI"
|
||||||
|
fi
|
||||||
elif test -n "$rootdir" && test "x$rootdir" != "x/"; then
|
elif test -n "$rootdir" && test "x$rootdir" != "x/"; then
|
||||||
# The EFI System Partition may have been given directly using
|
# The EFI System Partition may have been given directly using
|
||||||
# --root-directory.
|
# --root-directory.
|
||||||
|
|
Loading…
Reference in a new issue