From: Schantl Stefan Date: Mon, 25 Oct 2010 14:56:59 +0000 (+0200) Subject: grub: Temporary generate grub compatible font for graphical boot. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0be77df76d3d5fcc7d3ad59e72e99111aa61697;p=ipfire-3.x.git grub: Temporary generate grub compatible font for graphical boot. --- diff --git a/pkgs/core/grub/grub.nm b/pkgs/core/grub/grub.nm index d2d3b7844..b965d865f 100644 --- a/pkgs/core/grub/grub.nm +++ b/pkgs/core/grub/grub.nm @@ -26,7 +26,7 @@ include $(PKGROOT)/Include PKG_NAME = grub PKG_VER = 1.98 -PKG_REL = 0 +PKG_REL = 1 PKG_MAINTAINER = PKG_GROUP = System/Boot @@ -35,7 +35,7 @@ PKG_LICENSE = GPLv2+ PKG_SUMMARY = Grand Unified Boot Loader. PKG_BUILD_DEPS+= autoconf automake bison flex freetype-devel gettext \ - ncurses-devel zlib-devel + ncurses-devel xorg-x11-fonts zlib-devel PKG_DEPS += os-prober define PKG_DESCRIPTION @@ -65,4 +65,11 @@ define STAGE_INSTALL cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT) sed -e "s/pkgdatadir/pkglibdir/g" -i $(BUILDROOT)/usr/sbin/grub-install + + # XXX - We will have to do this after the installation of the package by pakfire + # Generate grub compatible font for graphical boot menu + -mkdir -pv $(BUILDROOT)/boot/grub + # This only converts Latin-1, Latin Extended A+B, Arrows, Box and Block characters + $(BUILDROOT)/usr/bin/grub-mkfont --output=$(BUILDROOT)/boot/grub/unifont.pf2 \ + --range=0x0000-0x0241,0x2190-0x21FF,0x2500-0x259f /usr/share/X11/fonts/misc/unifont.pcf.gz endef