summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-core/plymouth/files/0001-systemd-switch-to-KillMode-mixed.patch43
-rw-r--r--meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb1
2 files changed, 44 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/plymouth/files/0001-systemd-switch-to-KillMode-mixed.patch b/meta-oe/recipes-core/plymouth/files/0001-systemd-switch-to-KillMode-mixed.patch
new file mode 100644
index 000000000..eb1c8db21
--- /dev/null
+++ b/meta-oe/recipes-core/plymouth/files/0001-systemd-switch-to-KillMode-mixed.patch
@@ -0,0 +1,43 @@
1From 9d0f8b2e7bc2d1d2b0900fcdf119bb9a2cc4f474 Mon Sep 17 00:00:00 2001
2From: Ray Strode <rstrode@redhat.com>
3Date: Tue, 25 Aug 2020 10:49:11 -0400
4Subject: [PATCH] systemd: switch to KillMode=mixed
5
6KillMode=none is deprecated, so we need to stop using it.
7
8For now, use `KillMode=mixed` and `IgnoreOnIsolate=true` instead.
9
10In the future, we should change plymouth to be able to exit and
11start again without restarting the active animation, but that's
12going to require some effort.
13
14https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/123
15
16Upstream-Status: Backport [https://gitlab.freedesktop.org/plymouth/plymouth/-/commit/9d0f8b2e7bc2d1d2b0900fcdf119bb9a2cc4f474]
17
18Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
19---
20 systemd-units/plymouth-start.service.in | 3 ++-
21 1 file changed, 2 insertions(+), 1 deletion(-)
22
23diff --git a/systemd-units/plymouth-start.service.in b/systemd-units/plymouth-start.service.in
24index 3d00cc6..830a62d 100644
25--- a/systemd-units/plymouth-start.service.in
26+++ b/systemd-units/plymouth-start.service.in
27@@ -6,11 +6,12 @@ After=systemd-vconsole-setup.service systemd-udev-trigger.service systemd-udevd.
28 Before=systemd-ask-password-plymouth.service
29 ConditionKernelCommandLine=!plymouth.enable=0
30 ConditionVirtualization=!container
31+IgnoreOnIsolate=true
32
33 [Service]
34 ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach-to-session
35 ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
36 Type=forking
37 RemainAfterExit=yes
38-KillMode=none
39+KillMode=mixed
40 SendSIGKILL=no
41--
422.17.1
43
diff --git a/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb b/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb
index e5d8c9819..d096462ee 100644
--- a/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb
+++ b/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb
@@ -20,6 +20,7 @@ RPROVIDES:${PN} = "virtual-psplash virtual-psplash-support"
20SRC_URI = " \ 20SRC_URI = " \
21 http://www.freedesktop.org/software/plymouth/releases/${BPN}-${PV}.tar.xz \ 21 http://www.freedesktop.org/software/plymouth/releases/${BPN}-${PV}.tar.xz \
22 file://0001-Make-full-path-to-systemd-tty-ask-password-agent-con.patch \ 22 file://0001-Make-full-path-to-systemd-tty-ask-password-agent-con.patch \
23 file://0001-systemd-switch-to-KillMode-mixed.patch \
23 " 24 "
24 25
25SRC_URI[md5sum] = "8a25d23f3ae732af300a56fa33cacff2" 26SRC_URI[md5sum] = "8a25d23f3ae732af300a56fa33cacff2"