Improved systemd integration

OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=9
This commit is contained in:
Raymond Wooninck 2012-02-21 09:52:47 +00:00 committed by Git OBS Bridge
parent fb66de5c55
commit a62fee9653
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 21 09:49:52 UTC 2012 - tittiatcoke@gmail.com
- Changed the parameters to plymouthd in the initrd to create
the necessary pid-file for the systemd integration
-------------------------------------------------------------------
Fri Feb 17 18:04:29 UTC 2012 - tittiatcoke@gmail.com

View File

@ -27,18 +27,20 @@
+plymouth update-root-fs --new-root-dir=/root
--- /dev/null
+++ plymouth-0.8.3_git201110131555/scripts/boot-plymouth.sh
@@ -0,0 +1,8 @@
@@ -0,0 +1,10 @@
+#!/bin/bash
+#%stage: boot
+#%depends: start udev kms
+#%programs: /usr/bin/plymouth /usr/sbin/plymouthd
+
+/usr/sbin/plymouthd --mode=boot --attach-to-session
+mkdir --mode 755 /run/plymouth
+
+/usr/sbin/plymouthd --attach-to-session --pid-file /run/plymouth/pid
+
+plymouth show-splash
--- /dev/null
+++ plymouth-0.8.3_git201110131555/scripts/setup-plymouth.sh.in
@@ -0,0 +1,43 @@
@@ -0,0 +1,41 @@
+#!/bin/bash
+#
+#%stage: setup
@ -64,8 +66,6 @@
+ @PLYMOUTH_DATADIR@/plymouth/plymouthd.defaults \
+ @PLYMOUTH_DATADIR@/plymouth/themes/${THEME}/* \
+ @PLYMOUTH_DATADIR@/plymouth/logo.png \
+ /usr/bin/plymouth \
+ /usr/sbin/plymouthd \
+ /etc/plymouth/plymouthd.conf"
+
+PLUGINS="${PLUGIN_PATH}/details.so \