summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2022-02-07 15:34:19 +0800
committerKhem Raj <raj.khem@gmail.com>2022-02-07 09:20:27 -0800
commit49ce3bdac6eb5f67a732ede823f5151717a264b1 (patch)
treeee8504fd786002fa1ff6cc20c2fa344552792d46 /meta-oe/recipes-core
parent52474de7b7bfede93f37f898f1db3e193c673d5a (diff)
downloadmeta-openembedded-49ce3bdac6eb5f67a732ede823f5151717a264b1.tar.gz
plymouth: add extra kernel parameter
Add extra kernel parameter to make sure the plymouth splash screen display during boot. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/plymouth/files/0001-plymouth-start-service-in-add-related-kernel-paramet.patch31
-rw-r--r--meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb1
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/plymouth/files/0001-plymouth-start-service-in-add-related-kernel-paramet.patch b/meta-oe/recipes-core/plymouth/files/0001-plymouth-start-service-in-add-related-kernel-paramet.patch
new file mode 100644
index 000000000..7ba1034e9
--- /dev/null
+++ b/meta-oe/recipes-core/plymouth/files/0001-plymouth-start-service-in-add-related-kernel-paramet.patch
@@ -0,0 +1,31 @@
1From 658eac007d14d836cb002a5675487bac63d50324 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <mingli.yu@windriver.com>
3Date: Mon, 7 Feb 2022 03:22:12 +0000
4Subject: [PATCH] plymouth-start.service.in: add related kernel parameter
5
6Add extra kernel parameter to make the plymouth splash screen
7display during boot.
8
9Upstream-Status: Submitted [https://gitlab.freedesktop.org/plymouth/plymouth/-/merge_requests/156]
10
11Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
12---
13 systemd-units/plymouth-start.service.in | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/systemd-units/plymouth-start.service.in b/systemd-units/plymouth-start.service.in
17index 830a62d..c20aabe 100644
18--- a/systemd-units/plymouth-start.service.in
19+++ b/systemd-units/plymouth-start.service.in
20@@ -9,7 +9,7 @@ ConditionVirtualization=!container
21 IgnoreOnIsolate=true
22
23 [Service]
24-ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach-to-session
25+ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --kernel-command-line="splash plymouth.ignore-serial-consoles" --pid-file=@plymouthruntimedir@/pid --attach-to-session
26 ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash
27 Type=forking
28 RemainAfterExit=yes
29--
302.31.1
31
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 d096462ee..8f9997e96 100644
--- a/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb
+++ b/meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb
@@ -21,6 +21,7 @@ SRC_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 file://0001-systemd-switch-to-KillMode-mixed.patch \
24 file://0001-plymouth-start-service-in-add-related-kernel-paramet.patch \
24 " 25 "
25 26
26SRC_URI[md5sum] = "8a25d23f3ae732af300a56fa33cacff2" 27SRC_URI[md5sum] = "8a25d23f3ae732af300a56fa33cacff2"