Bug#787685: grub-pc: postinst script copies /usr/share/grub/unicode.pf2 to wrong path

Michael Prokop mika at debian.org
Wed Jun 3 23:02:16 UTC 2015


Package: grub-pc
Version: 2.02~beta2-22
Severity: normal

Hi,

the grub-pc postinst script ships the following code (present twice
in the file):

|       for i in /usr/share/grub/unicode.pf2 ; do
|         if test -e $i ; then
|           mkdir -p /boot/grub
|           cp $i /boot/grub/
|         fi
|       done

Recent versions of grub (at least 2.02~beta2-22 as present in
Debian/jessie, seems to be introduced in upstream's git commit
274416e82f458ec AFAICT) expect the unicode.pf2 file to be present in
/boot/grub/fonts/unicode.pf2 instead though:

| source /boot/grub/grub.cfg
| error: file `/boot/grub/fonts/unicode.pf2' not found.
| error: no suitable video mode found.
| grub> ls /boot/grub/
| unicode.pf2 i386-pc/ grub.cfg

AFAICT grub-pc.postinst should copy /usr/share/grub/unicode.pf2 to
/boot/grub/fonts/ nowadays.

regards,
-mika-



More information about the Pkg-grub-devel mailing list