Set pam module path to ${base_libdir}/security as this is the default
path in libpam.

Signed-off-by: Yi Zhao <[email protected]>
---
 meta-oe/recipes-support/snapper/snapper_0.11.2.bb | 6 +++---
 1 file 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"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OECONF += "--disable-zypp --with-pam-security=${libdir}/security"
+EXTRA_OECONF += "--disable-zypp"
 
 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'api-documentation 
systemd pam', d)}"
-PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam"
+PACKAGECONFIG[pam] = "--enable-pam 
--with-pam-security=${base_libdir}/security, --disable-pam,libpam"
 PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd"
 PACKAGECONFIG[api-documentation] = "--enable-doc,--disable-doc,libxslt-native 
docbook-xsl-stylesheets-native"
 
@@ -35,7 +35,7 @@ do_install:append() {
        install -m0644 ${S}/data/default-config 
${D}${sysconfdir}/sysconfig/snapper
 }
 
-FILES:${PN} += "${libdir}/security ${nonarch_libdir} ${systemd_system_unitdir} 
${datadir}"
+FILES:${PN} += "${base_libdir}/security ${nonarch_libdir} 
${systemd_system_unitdir} ${datadir}"
 
 # bash is needed for the testsuite
 RDEPENDS:${PN} = "bash diffutils util-linux util-linux-mount"
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#114655): 
https://lists.openembedded.org/g/openembedded-devel/message/114655
Mute This Topic: https://lists.openembedded.org/mt/110453523/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to