Copy unicode.pf2 to /boot/grub/ for EFI installs so that it is more

likely to be readable by GRUB (closes: #661789).
This commit is contained in:
Colin Watson 2012-12-28 07:16:11 +00:00
parent d448e0a4ad
commit 48a8807ea4
2 changed files with 9 additions and 0 deletions

2
debian/changelog vendored
View File

@ -12,6 +12,8 @@ grub2 (2.00-8) UNRELEASED; urgency=low
(LP: #1051306).
- Fix incorrect initrd minimum address calculation (LP: #1055686).
- Avoid assuming that gets is declared.
* Copy unicode.pf2 to /boot/grub/ for EFI installs so that it is more
likely to be readable by GRUB (closes: #661789).
-- Colin Watson <cjwatson@debian.org> Thu, 27 Sep 2012 13:25:46 +0100

7
debian/postinst.in vendored
View File

@ -659,6 +659,13 @@ case "$1" in
if [ "$bootloader_id" ] && [ -d "/boot/efi/EFI/$bootloader_id" ]; then
grub-install
fi
# /boot/grub/ has more chances of being accessible by GRUB
for i in /usr/share/grub/unicode.pf2 ; do
if test -e $i ; then
cp $i /boot/grub/
fi
done
;;
grub-yeeloong)