* util/grub-install.in: Correctly use bootloader_id and not

GRUB_DISTRIBUTOR on efibootmgr line.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-01-03 14:33:43 +01:00
parent 323a8e9c64
commit 469ee10a7f
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-01-03 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Correctly use bootloader_id and not
GRUB_DISTRIBUTOR on efibootmgr line.
2011-01-03 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkfont.c (main): Report errors in FT_New_Face.

View file

@ -648,7 +648,7 @@ elif [ x"$platform" = xefi ]; then
efidir_disk="$(echo "$clean_devmap" | grep "^$(echo "$efidir_drive" | sed 's/,[^)]*//')" | cut -f2)"
efidir_part="$(echo "$efidir_drive" | sed 's/^([^,]*,[^0-9]*//; s/[^0-9].*//')"
efibootmgr $efi_quiet -c -d "$efidir_disk" -p "$efidir_part" -w \
-L "$GRUB_DISTRIBUTOR" -l "\\EFI\\$efi_distributor\\$efi_file"
-L "$bootloader_id" -l "\\EFI\\$efi_distributor\\$efi_file"
fi
fi
fi