summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2024-08-22 02:26:41 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-08-23 09:12:38 +0100
commit768acd2df8c7737911fff04f1879819e95ee096a (patch)
tree1eebcd1dec02893c58ee95961c7891de9ee61c27 /meta/recipes-core
parent4fda9fc667406ede864c56365d4df8bade516634 (diff)
downloadpoky-768acd2df8c7737911fff04f1879819e95ee096a.tar.gz
util-linux/util-linux-libuuid: upgrade from 2.40.1 to 2.40.2
Upgrade util-linux from 2.40.1 to 2.40.2. 0001-Revert-autotools-make-pam-install-path-configurable.patch is added to solve a problem of lastlog2 pam module not installed in the expected location. (From OE-Core rev: 2303f28de507ceb88a012647f70b74e0fad6ec4b) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/util-linux/util-linux-libuuid_2.40.2.bb (renamed from meta/recipes-core/util-linux/util-linux-libuuid_2.40.1.bb)0
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc3
-rw-r--r--meta/recipes-core/util-linux/util-linux/0001-Revert-autotools-make-pam-install-path-configurable.patch65
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.40.2.bb (renamed from meta/recipes-core/util-linux/util-linux_2.40.1.bb)0
4 files changed, 67 insertions, 1 deletions
diff --git a/meta/recipes-core/util-linux/util-linux-libuuid_2.40.1.bb b/meta/recipes-core/util-linux/util-linux-libuuid_2.40.2.bb
index ec04c1d384..ec04c1d384 100644
--- a/meta/recipes-core/util-linux/util-linux-libuuid_2.40.1.bb
+++ b/meta/recipes-core/util-linux/util-linux-libuuid_2.40.2.bb
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index 0f5f838e84..ff47131d12 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -38,6 +38,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin
38 file://display_testname_for_subtest.patch \ 38 file://display_testname_for_subtest.patch \
39 file://avoid_parallel_tests.patch \ 39 file://avoid_parallel_tests.patch \
40 file://fcntl-lock.c \ 40 file://fcntl-lock.c \
41 file://0001-Revert-autotools-make-pam-install-path-configurable.patch \
41 " 42 "
42 43
43SRC_URI[sha256sum] = "59e676aa53ccb44b6c39f0ffe01a8fa274891c91bef1474752fad92461def24f" 44SRC_URI[sha256sum] = "d78b37a66f5922d70edf3bdfb01a6b33d34ed3c3cafd6628203b2a2b67c8e8b3"
diff --git a/meta/recipes-core/util-linux/util-linux/0001-Revert-autotools-make-pam-install-path-configurable.patch b/meta/recipes-core/util-linux/util-linux/0001-Revert-autotools-make-pam-install-path-configurable.patch
new file mode 100644
index 0000000000..e9f01fd0be
--- /dev/null
+++ b/meta/recipes-core/util-linux/util-linux/0001-Revert-autotools-make-pam-install-path-configurable.patch
@@ -0,0 +1,65 @@
1From af5b58cb77fc8e2e2e2f26aadef4b773b950eafc Mon Sep 17 00:00:00 2001
2From: Chen Qi <Qi.Chen@windriver.com>
3Date: Wed, 21 Aug 2024 07:50:57 -0700
4Subject: [PATCH] Revert "autotools: make pam install path configurable"
5
6This reverts commit 0539b1ebd26f6a168b822374d7b167f8ef4a1997.
7
8If people want to use /lib instead of /usr/lib as $(libdir) and want
9lastlog2 pam module installed in /lib/security, there's no way to do so.
10
11Beside, we have:
12pam_lastlog2/meson.build: pamlibdir = get_option('libdir') / 'security'
13
14So things are not in sync between Makemodule.am and meson.build with
15the original commit.
16
17Upstream-Status: Submitted [https://github.com/util-linux/util-linux/pull/3173]
18
19Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
20---
21 Makefile.am | 1 -
22 configure.ac | 3 ---
23 pam_lastlog2/src/Makemodule.am | 3 ++-
24 3 files changed, 2 insertions(+), 5 deletions(-)
25
26diff --git a/Makefile.am b/Makefile.am
27index 54e0fd497..3f801c686 100644
28--- a/Makefile.am
29+++ b/Makefile.am
30@@ -56,7 +56,6 @@ usrsbin_exec_PROGRAMS =
31 man_MANS =
32 pkgconfig_DATA =
33 usrlib_exec_LTLIBRARIES =
34-usrsecurelib_exec_LTLIBRARIES =
35 bin_PROGRAMS =
36 sbin_PROGRAMS =
37 dist_usrbin_exec_SCRIPTS =
38diff --git a/configure.ac b/configure.ac
39index 82d0e4bf9..35a70aba4 100644
40--- a/configure.ac
41+++ b/configure.ac
42@@ -120,9 +120,6 @@ AS_CASE([$libdir],
43 )
44 AC_SUBST([usrlib_execdir])
45
46-usrsecurelib_execdir='${usrlib_execdir}/security'
47-AC_SUBST([usrsecurelib_execdir])
48-
49 # static configuration maintaned by packages (e.g. /usr/lib)
50 AC_ARG_VAR([SYSCONFSTATICDIR],
51 [Path to static system configuration, default ${prefix}/lib])
52diff --git a/pam_lastlog2/src/Makemodule.am b/pam_lastlog2/src/Makemodule.am
53index 6d2365378..f9a9b6b41 100644
54--- a/pam_lastlog2/src/Makemodule.am
55+++ b/pam_lastlog2/src/Makemodule.am
56@@ -1,4 +1,5 @@
57-usrsecurelib_exec_LTLIBRARIES += pam_lastlog2.la
58+securelibdir = $(libdir)/security
59+securelib_LTLIBRARIES = pam_lastlog2.la
60
61 pam_lastlog2_la_SOURCES = \
62 pam_lastlog2/src/pam_lastlog2.c
63--
642.25.1
65
diff --git a/meta/recipes-core/util-linux/util-linux_2.40.1.bb b/meta/recipes-core/util-linux/util-linux_2.40.2.bb
index a8e346539a..a8e346539a 100644
--- a/meta/recipes-core/util-linux/util-linux_2.40.1.bb
+++ b/meta/recipes-core/util-linux/util-linux_2.40.2.bb