summaryrefslogtreecommitdiff
path: root/plymouth/debian/patches/0005-cmdline.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-09-15 01:40:06 +0000
committerB Stack <bgstack15@gmail.com>2019-09-15 01:40:06 +0000
commitf2dff3ec0939afc06060528e453a86f3045a73a9 (patch)
tree37d52e919c9b407b9783b388aa6706ad31a0c931 /plymouth/debian/patches/0005-cmdline.patch
parentMerge branch 'chicago95-bump' into 'master' (diff)
parentfix maintainer (diff)
downloadstackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.tar.gz
stackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.tar.bz2
stackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.zip
Merge branch 'plymouth-bump' into 'master'
Add plymouth See merge request bgstack15/stackrpms!87
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