grub-menu-builder: GRUB now installs unicode.pf2 automatically

This commit is contained in:
Eelco Dolstra 2012-07-24 22:37:16 -04:00
parent a0721ad2b3
commit be4c4d79cf

View File

@ -63,8 +63,6 @@ if ($grubVersion == 1) {
} }
else { else {
copy "$grub/share/grub/unicode.pf2", "/boot/grub/unicode.pf2" or die "cannot copy unicode.pf2 to /boot/grub: $!\n";
$conf .= " $conf .= "
if [ -s \$prefix/grubenv ]; then if [ -s \$prefix/grubenv ]; then
load_env load_env
@ -86,7 +84,7 @@ else {
set timeout=$timeout set timeout=$timeout
fi fi
if loadfont $bootRoot/grub/unicode.pf2; then if loadfont $bootRoot/grub/fonts/unicode.pf2; then
set gfxmode=640x480 set gfxmode=640x480
insmod gfxterm insmod gfxterm
insmod vbe insmod vbe