SHA256
1
0
forked from pool/plymouth
plymouth/plymouth-systemd-KillMode-mixed.patch
Cliff Zhao 23a8d7e9ec Accepting request 879756 from home:qzhao:branches:Base:System
Add plymouth-systemd-KillMode-mixed.patch: Backport from upstream change plymouth systemd plymouth-start.service KillMode=mixed, the old method is unsafe and deprecated (bnc#1177082, bnc#1182145).

OBS-URL: https://build.opensuse.org/request/show/879756
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=294
2021-03-18 01:52:32 +00:00

18 lines
833 B
Diff

diff -Nura plymouth-0.9.5+git20201026+53c83cc/systemd-units/plymouth-start.service.in plymouth-0.9.5+git20201026+53c83cc_new/systemd-units/plymouth-start.service.in
--- plymouth-0.9.5+git20201026+53c83cc/systemd-units/plymouth-start.service.in 2021-03-18 09:26:05.723604182 +0800
+++ plymouth-0.9.5+git20201026+53c83cc_new/systemd-units/plymouth-start.service.in 2021-03-18 09:31:18.479117212 +0800
@@ -6,11 +6,12 @@
Before=systemd-ask-password-plymouth.service
ConditionKernelCommandLine=!plymouth.enable=0
ConditionVirtualization=!container
+IgnoreOnIsolate=true
[Service]
ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach-to-session
ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
Type=forking
RemainAfterExit=yes
-KillMode=none
+KillMode=mixed
SendSIGKILL=no