summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core/plymouth/files
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2022-10-02 16:51:57 +0200
committerKhem Raj <raj.khem@gmail.com>2022-10-02 13:10:17 -0700
commit479b1455e37d49bc24f709bd2284effdb92686ab (patch)
tree1a819bb88bef7a54c157ad56df46d5366b8d3897 /meta-oe/recipes-core/plymouth/files
parentff7666cae8b3e6cca45e5d0652b16d6caa6be7a5 (diff)
downloadmeta-openembedded-479b1455e37d49bc24f709bd2284effdb92686ab.tar.gz
plymouth: uprev to 22.02.122
Also introduce more PACKAGECONFIGs to make build more predicable. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core/plymouth/files')
-rw-r--r--meta-oe/recipes-core/plymouth/files/0001-Fix-daemon-install-ignoring-configured-runstatedir.patch30
-rw-r--r--meta-oe/recipes-core/plymouth/files/0001-Use-standard-runstatedir-vs-custom-flag.patch50
2 files changed, 80 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/plymouth/files/0001-Fix-daemon-install-ignoring-configured-runstatedir.patch b/meta-oe/recipes-core/plymouth/files/0001-Fix-daemon-install-ignoring-configured-runstatedir.patch
new file mode 100644
index 0000000000..e04917e305
--- /dev/null
+++ b/meta-oe/recipes-core/plymouth/files/0001-Fix-daemon-install-ignoring-configured-runstatedir.patch
@@ -0,0 +1,30 @@
1From 4c90a66fb7fd9dbb861c5a888fc828f3795fe540 Mon Sep 17 00:00:00 2001
2From: Ben Brown <ben@demerara.io>
3Date: Tue, 19 Jul 2022 16:12:12 +0100
4Subject: [PATCH] Fix daemon install ignoring configured runstatedir
5
6Upstream-Status: Backport
7
8Signed-off-by: Ben Brown <ben@demerara.io>
9Signed-off-by: Ming Liu <liu.ming50@gmail.com>
10
11---
12 src/Makefile.am | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/src/Makefile.am b/src/Makefile.am
16index ad3655d..abd7a4c 100644
17--- a/src/Makefile.am
18+++ b/src/Makefile.am
19@@ -37,7 +37,7 @@ escrow_PROGRAMS = plymouthd-fd-escrow
20
21 plymouthd_fd_escrow_SOURCES = plymouthd-fd-escrow.c
22
23-plymouthdrundir = $(localstatedir)/run/plymouth
24+plymouthdrundir = $(plymouthruntimedir)
25 plymouthdspooldir = $(localstatedir)/spool/plymouth
26 plymouthdtimedir = $(localstatedir)/lib/plymouth
27
28--
292.25.1
30
diff --git a/meta-oe/recipes-core/plymouth/files/0001-Use-standard-runstatedir-vs-custom-flag.patch b/meta-oe/recipes-core/plymouth/files/0001-Use-standard-runstatedir-vs-custom-flag.patch
new file mode 100644
index 0000000000..e351098f35
--- /dev/null
+++ b/meta-oe/recipes-core/plymouth/files/0001-Use-standard-runstatedir-vs-custom-flag.patch
@@ -0,0 +1,50 @@
1From 97012d2c38b84fffb32867fb5eeac64a93455626 Mon Sep 17 00:00:00 2001
2From: Ben Brown <ben@demerara.io>
3Date: Tue, 19 Jul 2022 16:10:24 +0100
4Subject: [PATCH] Use standard runstatedir vs custom flag
5
6Upstream-Status: Backport
7
8---
9 configure.ac | 11 ++---------
10 1 file changed, 2 insertions(+), 9 deletions(-)
11
12Signed-off-by: Ben Brown <ben@demerara.io>
13Signed-off-by: Ming Liu <liu.ming50@gmail.com>
14
15diff --git a/configure.ac b/configure.ac
16index 608ad02..34a2f2c 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -140,9 +140,7 @@ if test x$enable_systemd_integration = xyes; then
20 AC_SUBST(SYSTEMD_UNIT_DIR)
21 fi
22
23-AC_ARG_WITH([runtimedir],
24- AC_HELP_STRING([--with-runtimedir=DIR], [runtime data dir [LOCALSTATEDIR/run]]),
25- [plymouthruntimedir=${withval}/plymouth], [plymouthruntimedir=""])
26+AC_ARG_WITH([runtimedir], [], [AC_MSG_ERROR([--with-runtimedir is obsolete, use --runstatedir instead])], [])
27
28 AC_ARG_WITH(system-root-install, AS_HELP_STRING([--with-system-root-install],[Install client in /bin and daemon in /sbin]),with_system_root_install=${withval},with_system_root_install=no)
29 AM_CONDITIONAL(WITH_SYSTEM_ROOT_INSTALL, [test "$with_system_root_install" = yes])
30@@ -150,16 +148,11 @@ AM_CONDITIONAL(WITH_SYSTEM_ROOT_INSTALL, [test "$with_system_root_install" = ye
31 if test x$with_system_root_install = xyes; then
32 plymouthclientdir=/bin
33 plymouthdaemondir=/sbin
34- if (test -z "${plymouthruntimedir}"); then
35- plymouthruntimedir=/run/plymouth
36- fi
37 else
38 plymouthclientdir=$bindir
39 plymouthdaemondir=$sbindir
40- if (test -z "${plymouthruntimedir}"); then
41- plymouthruntimedir=$localstatedir/run/plymouth
42- fi
43 fi
44+plymouthruntimedir=$runstatedir/plymouth
45 AC_SUBST(plymouthclientdir)
46 AC_SUBST(plymouthdaemondir)
47 AC_SUBST(plymouthruntimedir)
48--
492.25.1
50