summaryrefslogtreecommitdiff
path: root/plymouth/debian/patches/0005-cmdline.patch
diff options
context:
space:
mode:
Diffstat (limited to 'plymouth/debian/patches/0005-cmdline.patch')
-rw-r--r--plymouth/debian/patches/0005-cmdline.patch80
1 files changed, 80 insertions, 0 deletions
diff --git a/plymouth/debian/patches/0005-cmdline.patch b/plymouth/debian/patches/0005-cmdline.patch
new file mode 100644
index 0000000..7d63c55
--- /dev/null
+++ b/plymouth/debian/patches/0005-cmdline.patch
@@ -0,0 +1,80 @@
+Author: Laurent Bigonville <bigon@debian.org
+Description:
+ Handle 'nosplash' boot parameter as 'plymouth.enable=0' in system unit
+
+--- a/systemd-units/plymouth-halt.service.in
++++ b/systemd-units/plymouth-halt.service.in
+@@ -4,7 +4,8 @@ After=getty@tty1.service display-manager
+ Before=systemd-halt.service
+ DefaultDependencies=no
+ ConditionKernelCommandLine=!plymouth.enable=0
++ConditionKernelCommandLine=!nosplash
+ ConditionVirtualization=!container
+
+ [Service]
+ ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
+--- a/systemd-units/plymouth-kexec.service.in
++++ b/systemd-units/plymouth-kexec.service.in
+@@ -4,7 +4,8 @@ After=getty@tty1.service display-manager
+ Before=systemd-kexec.service
+ DefaultDependencies=no
+ ConditionKernelCommandLine=!plymouth.enable=0
++ConditionKernelCommandLine=!nosplash
+ ConditionVirtualization=!container
+
+ [Service]
+ ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
+--- a/systemd-units/plymouth-poweroff.service.in
++++ b/systemd-units/plymouth-poweroff.service.in
+@@ -4,7 +4,8 @@ After=getty@tty1.service display-manager
+ Before=systemd-poweroff.service
+ DefaultDependencies=no
+ ConditionKernelCommandLine=!plymouth.enable=0
++ConditionKernelCommandLine=!nosplash
+ ConditionVirtualization=!container
+
+ [Service]
+ ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
+--- a/systemd-units/plymouth-reboot.service.in
++++ b/systemd-units/plymouth-reboot.service.in
+@@ -4,7 +4,8 @@ After=getty@tty1.service display-manager
+ Before=systemd-reboot.service
+ DefaultDependencies=no
+ ConditionKernelCommandLine=!plymouth.enable=0
++ConditionKernelCommandLine=!nosplash
+ ConditionVirtualization=!container
+
+ [Service]
+ ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=shutdown --attach-to-session
+--- a/systemd-units/plymouth-start.service.in
++++ b/systemd-units/plymouth-start.service.in
+@@ -5,7 +5,8 @@ Wants=systemd-ask-password-plymouth.path
+ After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.service
+ Before=systemd-ask-password-plymouth.service
+ ConditionKernelCommandLine=!plymouth.enable=0
++ConditionKernelCommandLine=!nosplash
+ ConditionVirtualization=!container
+
+ [Service]
+ ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach-to-session
+--- a/systemd-units/systemd-ask-password-plymouth.path.in
++++ b/systemd-units/systemd-ask-password-plymouth.path.in
+@@ -6,6 +6,7 @@ Conflicts=shutdown.target
+ After=plymouth-start.service
+ Before=basic.target shutdown.target
+ ConditionKernelCommandLine=!plymouth.enable=0
++ConditionKernelCommandLine=!nosplash
+ ConditionPathExists=/run/plymouth/pid
+
+ [Path]
+--- a/systemd-units/systemd-ask-password-plymouth.service.in
++++ b/systemd-units/systemd-ask-password-plymouth.service.in
+@@ -6,7 +6,8 @@ Conflicts=shutdown.target
+ After=plymouth-start.service
+ Before=shutdown.target
+ ConditionKernelCommandLine=!plymouth.enable=0
++ConditionKernelCommandLine=!nosplash
+ ConditionVirtualization=!container
+ ConditionPathExists=/run/plymouth/pid
+
+ [Service]
bgstack15