SHA256
1
0
forked from pool/plymouth
Raymond Wooninck 2012-04-28 07:01:46 +00:00 committed by Git OBS Bridge
parent 682f8600b5
commit f318e09d85
2 changed files with 14 additions and 2 deletions

View File

@ -1,5 +1,5 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 26 15:57:56 UTC 2012 - tittiatcoke@gmail.com Sat Apr 28 07:00:56 UTC 2012 - tittiatcoke@gmail.com
- Reduce the number of fonts that are included in the initrd. Also - Reduce the number of fonts that are included in the initrd. Also
let mkinitrd sort out the dependencies for the required libs. let mkinitrd sort out the dependencies for the required libs.

View File

@ -33,7 +33,7 @@
+plymouth show-splash +plymouth show-splash
--- /dev/null --- /dev/null
+++ new/scripts/setup-plymouth.sh.in 2012-04-03 11:11:44.656337240 +0200 +++ new/scripts/setup-plymouth.sh.in 2012-04-03 11:11:44.656337240 +0200
@@ -0,0 +1,47 @@ @@ -0,0 +1,59 @@
+#!/bin/bash +#!/bin/bash
+# +#
+#%stage: setup +#%stage: setup
@ -81,3 +81,15 @@
+ mkdir -p $tmp_mnt/$(dirname $plugin) + mkdir -p $tmp_mnt/$(dirname $plugin)
+ cp_bin $plugin $tmp_mnt/$plugin + cp_bin $plugin $tmp_mnt/$plugin
+done +done
+
+_libdir=`rpm --eval '%{_lib}'`
+if [ "$_libdir" == "lib64" ];
+ then
+ _pangodir=`pango-querymodules-64 | grep ModulesPath | awk '{print $4}'`
+ _pangomod="/etc/pango/pango64.modules"
+ else
+ _pangodir=`pango-querymodules | grep ModulesPath | awk '{print $4}'`
+ _pangomod="/etc/pango/pango.modules"
+fi
+install -D ${_pangomod} $tmp_mnt/${_pangomod}
+mkdir -p $tmp_mnt/var/cache/fontconfig