]> git.proxmox.com Git - grub2.git/commitdiff
Copy unicode.pf2 to /boot/grub/ for EFI installs so that it is more
authorColin Watson <cjwatson@canonical.com>
Fri, 28 Dec 2012 05:28:17 +0000 (05:28 +0000)
committerColin Watson <cjwatson@canonical.com>
Fri, 28 Dec 2012 05:28:17 +0000 (05:28 +0000)
likely to be readable by GRUB (closes: #661789).

debian/changelog
debian/postinst.in

index ad41a6f210940cc1becf8b8d737e5d6d7f0000a2..05da9e92bd2b317e165096f9ce010e46310dd475 100644 (file)
@@ -2,6 +2,8 @@ grub2 (1.99-24) UNRELEASED; urgency=low
 
   * Acknowledge NMU with thanks.
   * Fix namespace of EFI boot failure patch file added in NMU.
+  * 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>  Fri, 28 Dec 2012 05:17:38 +0000
 
index d4a7ea9f832c39d6a344077e7b4aa817cbb6050f..3fcb8b47221f133b5b6ea6051b2de096fb0209ea 100644 (file)
@@ -657,6 +657,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)