Skip to contentSkip to conversation

google-authenticator-libpam: install module in pam location

PATCH New akuster 1 participant 1 message Feb 14, 2020

lore
Share & tools
lore

akuster

author
#0 lore raw

PATCH 1/1 google-authenticator-libpam: install module in pam location

pam_google_authenticator.so was being installed where pam could not find it. Move it where the rest of the pam modules site.

---
 .../google-authenticator-libpam_1.08.bb                      | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb +4 -1
index 2ba949e..f9ca092 100644
@@ -14,7 +14,10 @@ inherit autotools features_check
 
 REQUIRED_DISTRO_FEATURES = "pam"
 
+# Use the same dir location as PAM
+EXTRA_OECONF = "--libdir=${base_libdir}" 
+
 PACKAGES += "pam-google-authenticator"
-FILES_pam-google-authenticator = "${libdir}/security/pam_google_authenticator.so"
+FILES_pam-google-authenticator = "${base_libdir}/security/pam_google_authenticator.so"
 
 RDEPNEDS_pam-google-authenticator  = "libpam"
Signature · 1 line
2.17.1