diff options
author | Peter Jones <pjones@redhat.com> | 2007-01-30 19:37:46 +0000 |
---|---|---|
committer | Peter Jones <pjones@redhat.com> | 2007-01-30 19:37:46 +0000 |
commit | e07a8b4dfce91e7805416d474b84c265ecf2d6ab (patch) | |
tree | fbde395983a4edb9d832a429a907d972f39a8986 | |
parent | ef683c2397caa48db72c12aa7d82ed2ab5074b87 (diff) | |
download | anaconda-e07a8b4dfce91e7805416d474b84c265ecf2d6ab.tar.gz anaconda-e07a8b4dfce91e7805416d474b84c265ecf2d6ab.tar.xz anaconda-e07a8b4dfce91e7805416d474b84c265ecf2d6ab.zip |
- make bogl font during upd-instroot (#180113)
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | scripts/upd-instroot | 14 |
2 files changed, 17 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2007-01-30 Peter Jones <pjones@redhat.com> + + * scripts/upd-instroot: make bogl font (#180113) + 2007-01-29 Jeremy Katz <katzj@redhat.com> * loader2/loader.c (main): Don't load fb mods for virtpcon diff --git a/scripts/upd-instroot b/scripts/upd-instroot index 08d7b876a..3987c7ba5 100755 --- a/scripts/upd-instroot +++ b/scripts/upd-instroot @@ -118,7 +118,7 @@ PACKAGES="glibc glibc-common setup openssl python newt slang libselinux busybox-anaconda rpm-python booty hdparm lvm2 beecrypt device-mapper rhpl pyxf86config libxml2 libxml2-python glib2 audit-libs elfutils-libelf bogl-bterm bogl krb5-libs convertdb1 jfsutils - xfsprogs xfsdump dmapi libacl libattr attr acl + xfsprogs xfsdump dmapi libacl libattr attr acl bogl-devel policy policycoreutils pyparted xorg-x11 selinux-policy-targeted" if [ $ARCH = i386 -o $ARCH = x86_64 ]; then @@ -585,6 +585,8 @@ usr/bin/uniq usr/bin/Xvnc usr/bin/vncconfig usr/bin/vncpasswd +usr/bin/reduce-font +usr/bin/bdftobogl usr/lib/anaconda/iw usr/$LIBDIR/gconv/* usr/$LIBDIR/gdk-pixbuf/loaders/*png* @@ -927,6 +929,16 @@ if [ -n "$NEEDGR" ]; then rm -f $DESTGR/etc/man.config-old fi +echo "Creating bogl font.." +OLDLANG=$LANG +export LANG=en_US.UTF-8 +zcat $DESTGR/usr/lib/bogl/font.bdf.gz > $DESTGR/usr/lib/bogl/font.bdf +(cat $DESTGR/usr/lib/anaconda-runtime/unicode-linedraw-chars.txt ; find $DESTGR/usr/share/locale -name '*.mo' -exec msgunfmt {} \;) | $DESTGR/usr/bin/reduce-font $DESTGR/usr/lib/bogl/font.bdf > $DESTGR/usr/lib/anaconda-runtime/loader/font-reduced.bdf +$DESTGR/usr/bin/bdftobogl -b $DESTGR/usr/lib/anaconda-runtime/loader/font-reduced.bdf > $DESTGR/usr/lib/anaconda-runtime/loader/font.bgf +rm -f $DESTGR/usr/lib/anaconda-runtime/loader/font-reduced.bdf $DESTGR/usr/lib/bogl/font.bdf $DESTGR/usr/bin/reduce-font $DESTGR/usr/bin/bdftobogl +gzip -9 $DESTGR/usr/lib/anaconda-runtime/loader/font.bgf +export LANG=$OLDLANG + echo "Running mkfontdir..." if [ -n "$NEEDGR" ]; then /usr/X11R6/bin/mkfontdir $DESTGR/usr/X11R6/lib/X11/fonts/* |