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

Signed-off-by: Armin Kuster <[email protected]>
---
 .../google-authenticator-libpam_1.08.bb                      | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb
 
b/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb
index 2ba949e..f9ca092 100644
--- 
a/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb
+++ 
b/recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb
@@ -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"
-- 
2.17.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#48406): https://lists.yoctoproject.org/g/yocto/message/48406
Mute This Topic: https://lists.yoctoproject.org/mt/71263261/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to