Package: plymouth
Version: 0.8.3-20
Severity: wishlist
Tags: patch

Hi,

systemd has native unit files for plymouth.
The unit plymouth-start.service starts plymouthd, if no initramfs is
used. Thus it shouldn't run if plymouthd has been started in the
initramfs.
To do that, the unit file contains a check:
===
# Dracut informs us with this flag file if plymouth is already running
ConditionPathExists=!/run/plymouth/pid
===

The attached patch adds the equivalent to the plymouth pre-mount script.

Please consider applying this patch in your next upload.

Cheers,
Michael

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages plymouth depends on:
ii  initramfs-tools  0.99
ii  libc6            2.13-26

plymouth recommends no packages.

plymouth suggests no packages.

-- Configuration Files:
/etc/plymouth/plymouthd.conf changed [not included]

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/initramfs-tools/scripts/init-premount/plymouth 
(from plymouth package)
diff --git a/debian/local/plymouth.init-premount b/debian/local/plymouth.init-premount
index b1566a8..3708bbf 100644
--- a/debian/local/plymouth.init-premount
+++ b/debian/local/plymouth.init-premount
@@ -34,6 +34,7 @@ then
 	modprobe i8042
 	modprobe atkbd
 
-	/sbin/plymouthd --mode=boot --attach-to-session
+	mkdir -m 0755 /run/plymouth
+	/sbin/plymouthd --mode=boot --attach-to-session --pid-file=/run/plymouth/pid
 	/bin/plymouth --show-splash
 fi

Reply via email to