From 49ce3bdac6eb5f67a732ede823f5151717a264b1 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Mon, 7 Feb 2022 15:34:19 +0800 Subject: plymouth: add extra kernel parameter Add extra kernel parameter to make sure the plymouth splash screen display during boot. Signed-off-by: Mingli Yu Signed-off-by: Khem Raj --- ...art-service-in-add-related-kernel-paramet.patch | 31 ++++++++++++++++++++++ meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb | 1 + 2 files changed, 32 insertions(+) create mode 100644 meta-oe/recipes-core/plymouth/files/0001-plymouth-start-service-in-add-related-kernel-paramet.patch (limited to 'meta-oe') 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 0000000000..7ba1034e93 --- /dev/null +++ b/meta-oe/recipes-core/plymouth/files/0001-plymouth-start-service-in-add-related-kernel-paramet.patch @@ -0,0 +1,31 @@ +From 658eac007d14d836cb002a5675487bac63d50324 Mon Sep 17 00:00:00 2001 +From: Mingli Yu +Date: Mon, 7 Feb 2022 03:22:12 +0000 +Subject: [PATCH] plymouth-start.service.in: add related kernel parameter + +Add extra kernel parameter to make the plymouth splash screen +display during boot. + +Upstream-Status: Submitted [https://gitlab.freedesktop.org/plymouth/plymouth/-/merge_requests/156] + +Signed-off-by: Mingli Yu +--- + systemd-units/plymouth-start.service.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/systemd-units/plymouth-start.service.in b/systemd-units/plymouth-start.service.in +index 830a62d..c20aabe 100644 +--- a/systemd-units/plymouth-start.service.in ++++ b/systemd-units/plymouth-start.service.in +@@ -9,7 +9,7 @@ ConditionVirtualization=!container + IgnoreOnIsolate=true + + [Service] +-ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --pid-file=@plymouthruntimedir@/pid --attach-to-session ++ExecStart=@PLYMOUTH_DAEMON_DIR@/plymouthd --mode=boot --kernel-command-line="splash plymouth.ignore-serial-consoles" --pid-file=@plymouthruntimedir@/pid --attach-to-session + ExecStartPost=-@PLYMOUTH_CLIENT_DIR@/plymouth show-splash + Type=forking + RemainAfterExit=yes +-- +2.31.1 + 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 d096462eed..8f9997e96f 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 = " \ http://www.freedesktop.org/software/plymouth/releases/${BPN}-${PV}.tar.xz \ file://0001-Make-full-path-to-systemd-tty-ask-password-agent-con.patch \ file://0001-systemd-switch-to-KillMode-mixed.patch \ + file://0001-plymouth-start-service-in-add-related-kernel-paramet.patch \ " SRC_URI[md5sum] = "8a25d23f3ae732af300a56fa33cacff2" -- cgit v1.2.3-54-g00ecf