Blame 0032-plymouth-fixed-inst_libdir_file-call.patch

Harald Hoyer d1bf89
From 0efc6c716a0f4e0def943e3c661decc75fe6f958 Mon Sep 17 00:00:00 2001
Harald Hoyer d1bf89
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer d1bf89
Date: Mon, 18 Jun 2012 13:45:13 +0200
Harald Hoyer d1bf89
Subject: [PATCH] plymouth: fixed inst_libdir_file() call
Harald Hoyer d1bf89
Harald Hoyer d1bf89
https://bugzilla.redhat.com/show_bug.cgi?id=831349
Harald Hoyer d1bf89
---
Harald Hoyer d1bf89
 modules.d/50plymouth/plymouth-populate-initrd.sh |    4 ++--
Harald Hoyer d1bf89
 1 file changed, 2 insertions(+), 2 deletions(-)
Harald Hoyer d1bf89
Harald Hoyer d1bf89
diff --git a/modules.d/50plymouth/plymouth-populate-initrd.sh b/modules.d/50plymouth/plymouth-populate-initrd.sh
Harald Hoyer d1bf89
index 7ab1a5d..1e2ffe7 100755
Harald Hoyer d1bf89
--- a/modules.d/50plymouth/plymouth-populate-initrd.sh
Harald Hoyer d1bf89
+++ b/modules.d/50plymouth/plymouth-populate-initrd.sh
Harald Hoyer d1bf89
@@ -11,8 +11,9 @@ dracut_install /bin/plymouth \
Harald Hoyer d1bf89
 
Harald Hoyer d1bf89
 mkdir -m 0755 -p "${initdir}/usr/share/plymouth"
Harald Hoyer d1bf89
 
Harald Hoyer d1bf89
+inst_libdir_file "plymouth/text.so" "plymouth/details.so"
Harald Hoyer d1bf89
+    
Harald Hoyer d1bf89
 if [[ $hostonly ]]; then
Harald Hoyer d1bf89
-    inst_libdir_file "plymouth/text.so" "plymouth/details.so"
Harald Hoyer d1bf89
     dracut_install \
Harald Hoyer d1bf89
         "/usr/share/plymouth/themes/details/details.plymouth" \
Harald Hoyer d1bf89
         "/usr/share/plymouth/themes/text/text.plymouth" \
Harald Hoyer d1bf89
@@ -37,7 +38,6 @@ else
Harald Hoyer d1bf89
         mkdir -m 0755 -p "${initdir}/$THEME_DIR"
Harald Hoyer d1bf89
         dracut_install "$x"
Harald Hoyer d1bf89
     done
Harald Hoyer d1bf89
-    inst_libdir_file "/plymouth/{text,details}.so"
Harald Hoyer d1bf89
     (
Harald Hoyer d1bf89
         cd ${initdir}/usr/share/plymouth/themes;
Harald Hoyer d1bf89
         ln -s text/text.plymouth default.plymouth 2>&1;