Skip to contentSkip to conversation

lastlog2: specify correct pamlibdir

PATCH New Yi Zhao 1 participant 2 messages Jul 4, 2024

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/2 lastlog2: specify correct pamlibdir

Install pam_lastlog2.so to pam plugin directoy.

---
 meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/lastlog2/lastlog2_1.2.0.bb +1 -1
index 43deac383..0b3ab1f82 100644
@@ -20,7 +20,7 @@ REQUIRED_DISTRO_FEATURES = "pam"
 
 SYSTEMD_SERVICE:${PN} = "lastlog2-import.service"
 
-EXTRA_OEMESON = " -Dpamlibdir=${libdir}"
+EXTRA_OEMESON = " -Dpamlibdir=${base_libdir}/security"
 
 do_install:append () {
       if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then
Signature · 1 line
2.25.1
author
#1 lore raw

PATCH 2/2 wtmpdb: specify correct pamlibdir

Install pam_wtmpdb.so to pam plugin directoy.

---
 meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/wtmpdb/wtmpdb_0.11.0.bb +1 -1
index 785ae50e9..7fb31f208 100644
@@ -19,7 +19,7 @@ REQUIRED_DISTRO_FEATURES = "pam"
 
 SYSTEMD_SERVICE:${PN} = "wtmpdb-update-boot.service wtmpdb-rotate.service"
 
-EXTRA_OEMESON = " -Dpamlibdir=${libdir}"
+EXTRA_OEMESON = " -Dpamlibdir=${base_libdir}/security"
 
 do_install:append () {
       if [ -d ${D}${prefix}/lib/systemd -a ${D}${prefix}/lib != `dirname ${D}${systemd_unitdir}` ]; then
Signature · 1 line
2.25.1