From f318e09d853d05af6ca8c41c6538cad2a8ad9ccbe9ffb3ea3993a88535e64e68 Mon Sep 17 00:00:00 2001 From: Raymond Wooninck Date: Sat, 28 Apr 2012 07:01:46 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=31 --- plymouth.changes | 2 +- suse-initrd-support | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/plymouth.changes b/plymouth.changes index d3dabba..6acb603 100644 --- a/plymouth.changes +++ b/plymouth.changes @@ -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 let mkinitrd sort out the dependencies for the required libs. diff --git a/suse-initrd-support b/suse-initrd-support index bb93b6e..d8e9f92 100644 --- a/suse-initrd-support +++ b/suse-initrd-support @@ -33,7 +33,7 @@ +plymouth show-splash --- /dev/null +++ new/scripts/setup-plymouth.sh.in 2012-04-03 11:11:44.656337240 +0200 -@@ -0,0 +1,47 @@ +@@ -0,0 +1,59 @@ +#!/bin/bash +# +#%stage: setup @@ -81,3 +81,15 @@ + mkdir -p $tmp_mnt/$(dirname $plugin) + cp_bin $plugin $tmp_mnt/$plugin +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