Skip to contentSkip to conversation

plymouth: Add the retain-splash option

PATCH New [email protected] 1 participant 1 message Feb 16, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v2 1/1 plymouth: Add the retain-splash option

From: Mingli Yu <[email protected]>

Adding the "retain-splash” option to tell plymouth to keep the boot splash’s contents on screen even after plymouth exits to make the splash screen show more friendly on the system which boots so fast.

---
 ...lymouth-Add-the-retain-splash-option.patch | 35 +++++++++++++++++++
 .../recipes-core/plymouth/plymouth_0.9.5.bb   |  1 +
 2 files changed, 36 insertions(+)
 create mode 100644 meta-oe/recipes-core/plymouth/files/0001-plymouth-Add-the-retain-splash-option.patch
meta-oe/recipes-core/plymouth/files/0001-plymouth-Add-the-retain-splash-option.patch new file +35 -0
new file mode 100644
index 000000000..ba2bf224a
@@ -0,0 +1,35 @@
+From f270f80d4c36a22a0f7b8de8fb6b1abef6f7b183 Mon Sep 17 00:00:00 2001
+From: Mingli Yu <[email protected]>
+Date: Tue, 15 Feb 2022 16:23:10 +0800
+Subject: [PATCH] plymouth : Add the retain-splash option
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Adding the "retain-splash” option to tell plymouth to keep the boot
+splash’s contents on screen even after plymouth exits to make the
+splash screen show more friendly on the system which boots so fast.
+
+Upstream-Status: Inappropriate[embedded specific]
+
+Signed-off-by: Mingli Yu <[email protected]>
+---
+ systemd-units/plymouth-quit.service.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/systemd-units/plymouth-quit.service.in b/systemd-units/plymouth-quit.service.in
+index ed9f9b9..147e9ee 100644
+--- a/systemd-units/plymouth-quit.service.in
++++ b/systemd-units/plymouth-quit.service.in
+@@ -3,7 +3,7 @@ Description=Terminate Plymouth Boot Screen
+ After=rc-local.service plymouth-start.service systemd-user-sessions.service
+ 
+ [Service]
+-ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth quit
++ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth quit --retain-splash
+ Type=oneshot
+ RemainAfterExit=yes
+ TimeoutSec=20
+-- 
+2.17.1
+
meta-oe/recipes-core/plymouth/plymouth_0.9.5.bb +1 -0
index 8f9997e96..7d76ab76f 100644
@@ -22,6 +22,7 @@ SRC_URI = " \
     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 \
+    file://0001-plymouth-Add-the-retain-splash-option.patch \
         "
 
 SRC_URI[md5sum] = "8a25d23f3ae732af300a56fa33cacff2"
Signature · 1 line
2.17.1