summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2022-01-25 10:59:48 +0800
committerKhem Raj <raj.khem@gmail.com>2022-01-25 09:13:09 -0800
commitfbfb73d20162055fe9154beb142919a0d17ed1a4 (patch)
tree2629a89acdb7ea815c8c71d32a01a46391cb8e4e
parentd82d175a8016cacac3aa8eb80916e6fafec07831 (diff)
downloadmeta-openembedded-fbfb73d20162055fe9154beb142919a0d17ed1a4.tar.gz
lxdm: remove conflicts setting
When use plymouth[1] with lxdm, the plymouth boot splash screen will hang there as lxdm.service conflicts with plymouth-quit.service and plymouth-quit will fail to start if plymouth-quit.service and lxdm.service start at the same time and it will result in the boot screen hang forever. Consider there is also After setting for these two services, so remove the conflicts setting to make the service start as expected. [1] https://gitlab.freedesktop.org/plymouth/plymouth/-/tree/main Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-graphics/lxdm/lxdm/0001-systemd-lxdm.service-remove-plymouth-quit-conflicts.patch38
-rw-r--r--meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb1
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm/0001-systemd-lxdm.service-remove-plymouth-quit-conflicts.patch b/meta-oe/recipes-graphics/lxdm/lxdm/0001-systemd-lxdm.service-remove-plymouth-quit-conflicts.patch
new file mode 100644
index 0000000000..7ec073b08a
--- /dev/null
+++ b/meta-oe/recipes-graphics/lxdm/lxdm/0001-systemd-lxdm.service-remove-plymouth-quit-conflicts.patch
@@ -0,0 +1,38 @@
1From f662906c52f264e4c139e402932103f47269aa1b Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Mon, 24 Jan 2022 17:16:15 +0800
4Subject: [PATCH] systemd/lxdm.service: remove plymouth-quit conflicts
5
6When use plymouth[1] with lxdm, the plymouth boot splash screen
7will hang there as lxdm.service conflicts with plymouth-quit.service
8and plymouth-quit will fail to start if plymouth-quit.service and
9lxdm.service start at the same time and it will result in the boot
10screen hang forever.
11
12Consider there is also After setting for these two services, so
13remove the conflicts setting to make the service start as expected.
14
15[1] https://gitlab.freedesktop.org/plymouth/plymouth/-/tree/main
16
17Upstream-Status: Submitted [https://sourceforge.net/p/lxdm/code/merge-requests/3]
18
19Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
20---
21 systemd/lxdm.service | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
23
24diff --git a/systemd/lxdm.service b/systemd/lxdm.service
25index bf4a0a8..90d8cdb 100644
26--- a/systemd/lxdm.service
27+++ b/systemd/lxdm.service
28@@ -1,6 +1,6 @@
29 [Unit]
30 Description=LXDE Display Manager
31-Conflicts=getty@tty1.service plymouth-quit.service
32+Conflicts=getty@tty1.service
33 After=systemd-user-sessions.service getty@tty1.service plymouth-quit.service
34
35 [Service]
36--
372.17.1
38
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
index 2a8a8859b7..a0c86223e2 100644
--- a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
+++ b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
@@ -18,6 +18,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}%20${PV}/${BPN}-${PV}.tar.
18 file://0007-greeter.c-support-to-update-expired-password.patch \ 18 file://0007-greeter.c-support-to-update-expired-password.patch \
19 file://0008-greeter.c-show-information-on-gtk-label-info.patch \ 19 file://0008-greeter.c-show-information-on-gtk-label-info.patch \
20 file://0009-greeter.c-disallow-empty-new-password.patch \ 20 file://0009-greeter.c-disallow-empty-new-password.patch \
21 file://0001-systemd-lxdm.service-remove-plymouth-quit-conflicts.patch \
21 " 22 "
22SRC_URI[md5sum] = "061caae432634e6db38bbdc84bc6ffa0" 23SRC_URI[md5sum] = "061caae432634e6db38bbdc84bc6ffa0"
23SRC_URI[sha256sum] = "4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f" 24SRC_URI[sha256sum] = "4891efee81c72a400cc6703e40aa76f3f3853833d048b72ec805da0f93567f2f"