Raymond Wooninck 2012-10-11 09:17:16 +00:00 committed by Git OBS Bridge
parent 5e79d1ae68
commit 50bb899c12
3 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Oct 11 09:13:33 UTC 2012 - tittiatcoke@gmail.com
- Fix the Pango installation within the initrd. This would
resolve the error message that Pango cannot find any fonts
-------------------------------------------------------------------
Thu Sep 27 12:37:13 UTC 2012 - tittiatcoke@gmail.com
- fix the libdir path in plymouth-set-default-theme (bnc#780085)
-------------------------------------------------------------------
Thu Sep 20 09:45:07 UTC 2012 - tittiatcoke@gmail.com

View File

@ -155,7 +155,6 @@ Requires: findutils
Requires: gzip
Requires: plymouth
Requires(post): mkinitrd
BuildArch: noarch
%description scripts
This package contains scripts that help integrate Plymouth with

View File

@ -117,17 +117,17 @@ Index: plymouth-0.8.6.1/scripts/setup-plymouth.sh.in
+done
+
+_libdir=`rpm --eval '%{_lib}'`
+mkdir -p $tmp_mnt/etc/pango
+if [ "$_libdir" == "lib64" ];
+ then
+ _pangodir=`pango-querymodules-64 | grep ModulesPath | awk '{print $4}'`
+ _pangomod="/etc/pango/pango64.modules"
+ pango-querymodules-64 > $tmp_mnt/etc/pango/pango.modules
+ pangobasicfc="${_pangodir}/pango-basic-fc.so"
+ else
+ _pangodir=`pango-querymodules | grep ModulesPath | awk '{print $4}'`
+ _pangomod="/etc/pango/pango.modules"
+ pango-querymodules > $tmp_mnt/etc/pango/pango.modules
+ pangobasicfc="${_pangodir}/pango-basic-fc.so"
+fi
+install -D ${_pangomod} $tmp_mnt/${_pangomod}
+install -D ${pangobasicfc} $tmp_mnt/${pangobasicfc}
+mkdir -p $tmp_mnt/var/cache/fontconfig
Index: plymouth-0.8.6.1/scripts/plymouth-update-initrd