grub2-efi: removed duplicated unifont

This commit is contained in:
Matt Housh 2014-09-20 14:30:17 -05:00
parent 38a55299bc
commit d77eb9346f
3 changed files with 5 additions and 11 deletions

View File

@ -1,8 +1,6 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/grub/
drwxr-xr-x root/root usr/lib/grub/fonts/
-rw-r--r-- root/root usr/lib/grub/fonts/unifont.pf2
-rw-r--r-- root/root usr/lib/grub/grub2-i386.efi
-rw-r--r-- root/root usr/lib/grub/grub2-x86_64.efi
drwxr-xr-x root/root usr/lib/grub/i386-efi/

View File

@ -1,2 +1 @@
a1043102fbc7bcedbf53e7ee3d17ab91 grub-2.00.tar.xz
8c28087c5fcb3188f1244b390efffdbe unifont-5.1.20080820.pcf.gz

View File

@ -5,9 +5,8 @@
name=grub2-efi
version=2.00
release=2
source=(http://ftp.gnu.org/gnu/grub/grub-$version.tar.xz \
http://unifoundry.com/unifont-5.1.20080820.pcf.gz)
release=3
source=(http://ftp.gnu.org/gnu/grub/grub-$version.tar.xz)
build() {
export CFLAGS="${CFLAGS} -Wno-error"
@ -15,6 +14,9 @@ build() {
# fix for glibc 'gets' removal
sed -i -e '/gets is a/d' grub-$version/grub-core/gnulib/stdio.in.h
# fix for ftsynth.h path
sed -i -e 's|freetype/ftsynth.h|freetype2/ftsynth.h|' grub-$version/util/grub-mkfont.c
MODLIST="boot chain configfile fat ext2 linux normal ntfs part_gpt part_msdos"
for ARCH in i386 x86_64
@ -32,10 +34,5 @@ build() {
cd ../..
done
gzip -d $SRC/unifont-5.1.20080820.pcf.gz
mkdir -p $PKG/usr/lib/grub/fonts
x86_64/grub-mkfont -o ${PKG}/usr/lib/grub/fonts/unifont.pf2 \
$SRC/unifont-5.1.20080820.pcf
rm -r $PKG/usr/{bin,etc,sbin,share}
}