-
Notifications
You must be signed in to change notification settings - Fork 723
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also introduce more PACKAGECONFIGs to make build more predicable. Signed-off-by: Ming Liu <[email protected]> Signed-off-by: Khem Raj <[email protected]>
- Loading branch information
Showing
3 changed files
with
107 additions
and
27 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...recipes-core/plymouth/files/0001-Fix-daemon-install-ignoring-configured-runstatedir.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
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 | ||
|
50 changes: 50 additions & 0 deletions
50
meta-oe/recipes-core/plymouth/files/0001-Use-standard-runstatedir-vs-custom-flag.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
From 97012d2c38b84fffb32867fb5eeac64a93455626 Mon Sep 17 00:00:00 2001 | ||
From: Ben Brown <[email protected]> | ||
Date: Tue, 19 Jul 2022 16:10:24 +0100 | ||
Subject: [PATCH] Use standard runstatedir vs custom flag | ||
|
||
Upstream-Status: Backport | ||
|
||
--- | ||
configure.ac | 11 ++--------- | ||
1 file changed, 2 insertions(+), 9 deletions(-) | ||
|
||
Signed-off-by: Ben Brown <[email protected]> | ||
Signed-off-by: Ming Liu <[email protected]> | ||
|
||
diff --git a/configure.ac b/configure.ac | ||
index 608ad02..34a2f2c 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -140,9 +140,7 @@ if test x$enable_systemd_integration = xyes; then | ||
AC_SUBST(SYSTEMD_UNIT_DIR) | ||
fi | ||
|
||
-AC_ARG_WITH([runtimedir], | ||
- AC_HELP_STRING([--with-runtimedir=DIR], [runtime data dir [LOCALSTATEDIR/run]]), | ||
- [plymouthruntimedir=${withval}/plymouth], [plymouthruntimedir=""]) | ||
+AC_ARG_WITH([runtimedir], [], [AC_MSG_ERROR([--with-runtimedir is obsolete, use --runstatedir instead])], []) | ||
|
||
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) | ||
AM_CONDITIONAL(WITH_SYSTEM_ROOT_INSTALL, [test "$with_system_root_install" = yes]) | ||
@@ -150,16 +148,11 @@ AM_CONDITIONAL(WITH_SYSTEM_ROOT_INSTALL, [test "$with_system_root_install" = ye | ||
if test x$with_system_root_install = xyes; then | ||
plymouthclientdir=/bin | ||
plymouthdaemondir=/sbin | ||
- if (test -z "${plymouthruntimedir}"); then | ||
- plymouthruntimedir=/run/plymouth | ||
- fi | ||
else | ||
plymouthclientdir=$bindir | ||
plymouthdaemondir=$sbindir | ||
- if (test -z "${plymouthruntimedir}"); then | ||
- plymouthruntimedir=$localstatedir/run/plymouth | ||
- fi | ||
fi | ||
+plymouthruntimedir=$runstatedir/plymouth | ||
AC_SUBST(plymouthclientdir) | ||
AC_SUBST(plymouthdaemondir) | ||
AC_SUBST(plymouthruntimedir) | ||
-- | ||
2.25.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters