plymouth: do not start plymouth via dracut for systemd in the initramfs
authorHarald Hoyer <harald@redhat.com>
Thu, 26 Jul 2012 16:59:36 +0000 (18:59 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 26 Jul 2012 17:00:04 +0000 (19:00 +0200)
modules.d/50plymouth/module-setup.sh
modules.d/50plymouth/plymouth-newroot.sh
modules.d/50plymouth/plymouth-pretrigger.sh

index 14d9e59..10aa0da 100755 (executable)
@@ -76,9 +76,5 @@ install() {
     inst_hook pre-trigger 10 "$moddir"/plymouth-pretrigger.sh
     inst_hook emergency 50 "$moddir"/plymouth-emergency.sh
     dracut_install readlink
-
-    if [[ -x $systemdutildir/systemd ]]; then
-        dracut_install -o $systemdsystemunitdir/plymouth-quit-wait.service
-    fi
 }
 
index e03e98d..ffbabf1 100755 (executable)
@@ -2,6 +2,6 @@
 # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
 # ex: ts=8 sw=4 sts=4 et filetype=sh
 
-if [ -x /bin/plymouth ]; then
+if [ -x /bin/plymouth ! -x /lib/systemd/systemd ]; then
     /bin/plymouth --newroot=$NEWROOT
 fi
index ddb8ddb..c52cf83 100755 (executable)
@@ -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 ]; then
+if [ -x /bin/plymouthd -a ! -x /lib/systemd/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