Skip to contentSkip to conversation

plymouth: uprev to 24.004.60

PATCH New [email protected] 1 participant 1 message Feb 15, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 plymouth: uprev to 24.004.60

From: Ming Liu <[email protected]>

The changes include:
- Change to use meson buildsystem.
- Fix build issues in OE.
- Move patches from files to plymouth subdirectory.
- Make themes build/installation optional, since a user might not want all themes to be installed to rootfs, now he can set PLYMOUTH_THEMES to chose the themes.

---
 ...tall-ignoring-configured-runstatedir.patch |  30 -----
 ...o-systemd-tty-ask-password-agent-con.patch |  34 -----
 ...-standard-runstatedir-vs-custom-flag.patch |  50 --------
 ...-Avoid-linking-to-plymouth_logo_file.patch |  28 ++++
 .../plymouth/0001-Drop-libdl-references.patch |  70 ++++++++++
 ...o-systemd-tty-ask-password-agent-con.patch |  63 +++++++++
 .../0001-Make-themes-build-optional.patch     | 120 ++++++++++++++++++
 ...lymouth-Add-the-retain-splash-option.patch |   0
 ...ervice-in-add-related-kernel-paramet.patch |   0
 .../plymouth/plymouth_22.02.122.bb            |  73 -----------
 .../plymouth/plymouth_24.004.60.bb            | 102 +++++++++++++++
 11 files changed, 383 insertions(+), 187 deletions(-)
 delete mode 100644 meta-oe/recipes-core/plymouth/files/0001-Fix-daemon-install-ignoring-configured-runstatedir.patch
 delete mode 100644 meta-oe/recipes-core/plymouth/files/0001-Make-full-path-to-systemd-tty-ask-password-agent-con.patch
 delete mode 100644 meta-oe/recipes-core/plymouth/files/0001-Use-standard-runstatedir-vs-custom-flag.patch
 create mode 100644 meta-oe/recipes-core/plymouth/plymouth/0001-Avoid-linking-to-plymouth_logo_file.patch
 create mode 100644 meta-oe/recipes-core/plymouth/plymouth/0001-Drop-libdl-references.patch
 create mode 100644 meta-oe/recipes-core/plymouth/plymouth/0001-Make-full-path-to-systemd-tty-ask-password-agent-con.patch
 create mode 100644 meta-oe/recipes-core/plymouth/plymouth/0001-Make-themes-build-optional.patch
 rename meta-oe/recipes-core/plymouth/{files => plymouth}/0001-plymouth-Add-the-retain-splash-option.patch (100%)
 rename meta-oe/recipes-core/plymouth/{files => plymouth}/0001-plymouth-start-service-in-add-related-kernel-paramet.patch (100%)
 delete mode 100644 meta-oe/recipes-core/plymouth/plymouth_22.02.122.bb
 create mode 100644 meta-oe/recipes-core/plymouth/plymouth_24.004.60.bb
meta-oe/recipes-core/plymouth/files/0001-Fix-daemon-install-ignoring-configured-runstatedir.patch deleted +0 -30
deleted file mode 100644
index e04917e30..000000000
@@ -1,30 +0,0 @@
-From 4c90a66fb7fd9dbb861c5a888fc828f3795fe540 Mon Sep 17 00:00:00 2001
-From: Ben Brown <[email protected]>
-Date: Tue, 19 Jul 2022 16:12:12 +0100
-Subject: [PATCH] Fix daemon install ignoring configured runstatedir
-
-Upstream-Status: Backport
-
-Signed-off-by: Ben Brown <[email protected]>
-Signed-off-by: Ming Liu <[email protected]>
-
----
- src/Makefile.am | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/Makefile.am b/src/Makefile.am
-index ad3655d..abd7a4c 100644
---- a/src/Makefile.am
-+++ b/src/Makefile.am
-@@ -37,7 +37,7 @@ escrow_PROGRAMS = plymouthd-fd-escrow
- 
- plymouthd_fd_escrow_SOURCES = plymouthd-fd-escrow.c
- 
--plymouthdrundir = $(localstatedir)/run/plymouth
-+plymouthdrundir = $(plymouthruntimedir)
- plymouthdspooldir = $(localstatedir)/spool/plymouth
- plymouthdtimedir = $(localstatedir)/lib/plymouth
- 
--- 
-2.25.1
-
meta-oe/recipes-core/plymouth/files/0001-Make-full-path-to-systemd-tty-ask-password-agent-con.patch deleted +0 -34
deleted file mode 100644
index 6a86c76d1..000000000
@@ -1,34 +0,0 @@
-From 746c690f57b52e6fe21cc2a11b5bb71d25af3128 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
-Date: Wed, 13 Dec 2017 16:15:57 +0100
-Subject: [PATCH] Make full path to systemd-tty-ask-password-agent configurable
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Upstream-Status: Inappropriate [embedded specific]
-
-Signed-off-by: Andreas Müller <[email protected]>
----
- configure.ac | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index aad673e..6b37179 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -48,7 +48,10 @@ PLYMOUTH_LIBS="-lm -lrt -ldl"
- AC_SUBST(PLYMOUTH_CFLAGS)
- AC_SUBST(PLYMOUTH_LIBS)
- 
--AC_PATH_PROG([SYSTEMD_ASK_PASSWORD_AGENT], [systemd-tty-ask-password-agent])
-+AC_ARG_WITH(systemd-tty-ask-password-agent, AS_HELP_STRING([--with-systemd-tty-ask-password-agent],[path of systemd-tty-ask-password-agent]),SYSTEMD_ASK_PASSWORD_AGENT=${withval},SYSTEMD_ASK_PASSWORD_AGENT=/bin/systemd-tty-ask-password-agent)
-+AC_SUBST(SYSTEMD_ASK_PASSWORD_AGENT)
-+
-+# checked: UDEVADM is not used
- AC_PATH_PROG([UDEVADM], [udevadm])
- 
- AC_ARG_ENABLE(pango, AS_HELP_STRING([--enable-pango],[enable building with pango, disabled there is no encryption prompts]),enable_pango=$enableval,enable_pango=yes)
--- 
-2.9.5
-
meta-oe/recipes-core/plymouth/files/0001-Use-standard-runstatedir-vs-custom-flag.patch deleted +0 -50

50 lines not on this page · raw message

meta-oe/recipes-core/plymouth/plymouth/0001-Avoid-linking-to-plymouth_logo_file.patch new file +28 -0
new file mode 100644
index 000000000..77c9fbd96
@@ -0,0 +1,28 @@
+From 210090a8bddc4d4fae6089449306276a58db7409 Mon Sep 17 00:00:00 2001
+From: Ming Liu <[email protected]>
+Date: Wed, 14 Feb 2024 14:45:29 +0100
+Subject: [PATCH] Avoid linking to plymouth_logo_file
+
+Otherwise it would lead to install errors during cross-compilation.
+
+Upstream-Status: Inappropriate [embedded specific]
+
+Signed-off-by: Ming Liu <[email protected]>
+---
+ themes/spinfinity/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/themes/spinfinity/meson.build b/themes/spinfinity/meson.build
+index f48e8e55..da9ea705 100644
+--- a/themes/spinfinity/meson.build
++++ b/themes/spinfinity/meson.build
+@@ -56,5 +56,5 @@ install_data(
+ 
+ install_symlink('header-image.png',
+   install_dir: plymouth_theme_path / 'spinfinity',
+-  pointing_to: plymouth_logo_file,
++  pointing_to: '..' / '..'/ 'bizcom.png',
+ )
+-- 
+2.34.1
+
meta-oe/recipes-core/plymouth/plymouth/0001-Drop-libdl-references.patch new file +70 -0

70 lines not on this page · raw message

meta-oe/recipes-core/plymouth/plymouth/0001-Make-full-path-to-systemd-tty-ask-password-agent-con.patch new file +63 -0

63 lines not on this page · raw message

meta-oe/recipes-core/plymouth/plymouth/0001-Make-themes-build-optional.patch new file +120 -0

120 lines not on this page · raw message

meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-Add-the-retain-splash-option.patch renamed from meta-oe/recipes-core/plymouth/files/0001-plymouth-Add-the-retain-splash-option.patch +0 -0
similarity index 100%
rename from meta-oe/recipes-core/plymouth/files/0001-plymouth-Add-the-retain-splash-option.patch
rename to meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-Add-the-retain-splash-option.patch
meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-start-service-in-add-related-kernel-paramet.patch renamed from meta-oe/recipes-core/plymouth/files/0001-plymouth-start-service-in-add-related-kernel-paramet.patch +0 -0
similarity index 100%
rename from meta-oe/recipes-core/plymouth/files/0001-plymouth-start-service-in-add-related-kernel-paramet.patch
rename to meta-oe/recipes-core/plymouth/plymouth/0001-plymouth-start-service-in-add-related-kernel-paramet.patch
meta-oe/recipes-core/plymouth/plymouth_22.02.122.bb deleted +0 -73

73 lines not on this page · raw message

meta-oe/recipes-core/plymouth/plymouth_24.004.60.bb new file +102 -0

102 lines not on this page · raw message

Signature · 1 line
2.34.1