[packages/dracut] - fix paths to plymouthd

baggins baggins at pld-linux.org
Thu Mar 21 20:26:18 CET 2013


commit 173bc95d26b598b02415016d40e1c8ad79bb59ed
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Mar 21 20:25:59 2013 +0100

    - fix paths to plymouthd

 dracut.spec          |  2 ++
 plymouthd-path.patch | 20 ++++++++++++++++++++
 2 files changed, 22 insertions(+)
---
diff --git a/dracut.spec b/dracut.spec
index 1dee9d8..9a66c78 100644
--- a/dracut.spec
+++ b/dracut.spec
@@ -14,6 +14,7 @@ Patch2:		os-release.patch
 Patch3:		plymouth-logo.patch
 Patch4:		arch-libdir.patch
 Patch5:		systemd-paths.patch
+Patch6:		plymouthd-path.patch
 URL:		https://dracut.wiki.kernel.org/
 BuildRequires:	asciidoc
 BuildRequires:	dash
@@ -181,6 +182,7 @@ konfiguracji maszyn.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %{__sed} -i -e 's, at lib@,%{_lib},g' modules.d/50plymouth/module-setup.sh
 %{__sed} -i -e 's, at lib@,%{_lib},g' modules.d/95resume/module-setup.sh
diff --git a/plymouthd-path.patch b/plymouthd-path.patch
new file mode 100644
index 0000000..4084ccb
--- /dev/null
+++ b/plymouthd-path.patch
@@ -0,0 +1,20 @@
+--- /home/users/baggins/rpm/BUILD/dracut-026/modules.d/50plymouth/plymouth-pretrigger.sh~	2013-03-08 07:07:48.000000000 +0100
++++ /home/users/baggins/rpm/BUILD/dracut-026/modules.d/50plymouth/plymouth-pretrigger.sh	2013-03-21 15:31:40.449408516 +0100
+@@ -2,7 +2,7 @@
+ # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
+ # ex: ts=8 sw=4 sts=4 et filetype=sh
+ 
+-if [ -x /bin/plymouthd -a -z "$DRACUT_SYSTEMD" ]; then
++if [ -x /sbin/plymouthd -a -z "$DRACUT_SYSTEMD" ]; then
+     if getargbool 1 plymouth.enable && getargbool 1 rd.plymouth -d -n rd_NO_PLYMOUTH; then
+         # first trigger graphics subsystem
+         udevadm trigger --action=add --attr-match=class=0x030000 >/dev/null 2>&1
+@@ -16,7 +16,7 @@
+         read consoledev rest < /sys/class/tty/console/active
+         consoledev=${consoledev:-tty0}
+         [ -x /lib/udev/console_init -a -e "/dev/$consoledev" ] && /lib/udev/console_init "/dev/$consoledev"
+-        [ -x /bin/plymouthd ] && /bin/plymouthd --attach-to-session --pid-file /run/plymouth/pid
++        [ -x /sbin/plymouthd ] && /sbin/plymouthd --attach-to-session --pid-file /run/plymouth/pid
+         /bin/plymouth --show-splash 2>&1 | vinfo
+         # reset tty after plymouth messed with it
+         [ -x /lib/udev/console_init -a -e "/dev/$consoledev" ] && /lib/udev/console_init "/dev/$consoledev"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dracut.git/commitdiff/173bc95d26b598b02415016d40e1c8ad79bb59ed



More information about the pld-cvs-commit mailing list