Blame 0003-plymouth-touch-dev-.systemd-plymouth.patch

Harald Hoyer cc91be
From 1cedde068192af7536479ff5fb159c75fc7d7ed6 Mon Sep 17 00:00:00 2001
Harald Hoyer cc91be
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer cc91be
Date: Wed, 9 Feb 2011 13:22:49 +0100
Harald Hoyer cc91be
Subject: [PATCH] plymouth: touch /dev/.systemd/plymouth
Harald Hoyer cc91be
Harald Hoyer cc91be
until plymouth does it itsself, touch /dev/.systemd/plymouth
Harald Hoyer cc91be
https://bugzilla.redhat.com/show_bug.cgi?id=676302
Harald Hoyer cc91be
---
Harald Hoyer cc91be
 modules.d/50plymouth/plymouth-pretrigger.sh |    2 ++
Harald Hoyer cc91be
 1 files changed, 2 insertions(+), 0 deletions(-)
Harald Hoyer cc91be
Harald Hoyer cc91be
diff --git a/modules.d/50plymouth/plymouth-pretrigger.sh b/modules.d/50plymouth/plymouth-pretrigger.sh
Harald Hoyer cc91be
index 0800dbc..c224875 100755
Harald Hoyer cc91be
--- a/modules.d/50plymouth/plymouth-pretrigger.sh
Harald Hoyer cc91be
+++ b/modules.d/50plymouth/plymouth-pretrigger.sh
Harald Hoyer cc91be
@@ -18,6 +18,8 @@ if getargbool 1 rd.plymouth -n rd_NO_PLYMOUTH; then
Harald Hoyer cc91be
 
Harald Hoyer cc91be
     info "Starting plymouth daemon"
Harald Hoyer cc91be
     [ -x /bin/plymouthd ] && /bin/plymouthd --attach-to-session
Harald Hoyer cc91be
+    mkdir -m 0755 /dev/.systemd >/dev/null 2>&1
Harald Hoyer cc91be
+    >/dev/.systemd/plymouth
Harald Hoyer cc91be
     /lib/udev/console_init tty0
Harald Hoyer cc91be
     /bin/plymouth --show-splash 2>&1 | vinfo
Harald Hoyer cc91be
 fi