summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2025-01-06 16:21:48 +0800
committerKhem Raj <raj.khem@gmail.com>2025-01-06 07:22:29 -0800
commit83a8e761ed11fdd7b7d5392fe4c87b0022fa5378 (patch)
treeda3d56e3b4deeffd101da80522c213dc7d7e20bb
parentd89fc818b716d099f83a5a9a973be428e2b66806 (diff)
downloadmeta-openembedded-83a8e761ed11fdd7b7d5392fe4c87b0022fa5378.tar.gz
snapper: set pam module path to ${base_libdir}/security
Set pam module path to ${base_libdir}/security as this is the default path in libpam. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/snapper/snapper_0.11.2.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-oe/recipes-support/snapper/snapper_0.11.2.bb b/meta-oe/recipes-support/snapper/snapper_0.11.2.bb
index 28fa104af0..74181ad6ae 100644
--- a/meta-oe/recipes-support/snapper/snapper_0.11.2.bb
+++ b/meta-oe/recipes-support/snapper/snapper_0.11.2.bb
@@ -17,10 +17,10 @@ SRCREV = "6c603565f36e9996d85045c8012cd04aba5f3708"
17 17
18S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
19 19
20EXTRA_OECONF += "--disable-zypp --with-pam-security=${libdir}/security" 20EXTRA_OECONF += "--disable-zypp"
21 21
22PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'api-documentation systemd pam', d)}" 22PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'api-documentation systemd pam', d)}"
23PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam" 23PACKAGECONFIG[pam] = "--enable-pam --with-pam-security=${base_libdir}/security, --disable-pam,libpam"
24PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd" 24PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd"
25PACKAGECONFIG[api-documentation] = "--enable-doc,--disable-doc,libxslt-native docbook-xsl-stylesheets-native" 25PACKAGECONFIG[api-documentation] = "--enable-doc,--disable-doc,libxslt-native docbook-xsl-stylesheets-native"
26 26
@@ -35,7 +35,7 @@ do_install:append() {
35 install -m0644 ${S}/data/default-config ${D}${sysconfdir}/sysconfig/snapper 35 install -m0644 ${S}/data/default-config ${D}${sysconfdir}/sysconfig/snapper
36} 36}
37 37
38FILES:${PN} += "${libdir}/security ${nonarch_libdir} ${systemd_system_unitdir} ${datadir}" 38FILES:${PN} += "${base_libdir}/security ${nonarch_libdir} ${systemd_system_unitdir} ${datadir}"
39 39
40# bash is needed for the testsuite 40# bash is needed for the testsuite
41RDEPENDS:${PN} = "bash diffutils util-linux util-linux-mount" 41RDEPENDS:${PN} = "bash diffutils util-linux util-linux-mount"