aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2020-02-14 05:16:28 +0000
committerArmin Kuster <akuster808@gmail.com>2020-02-16 08:49:20 -0800
commit2a91f5cc628aff1940c49ae5ea8c320e69e39cb6 (patch)
treef7c1784daadc3fb5d9c537e4370c1b56a585fa91
parent238b8936e6154191803df723d8bacba1dac33879 (diff)
downloadmeta-security-2a91f5cc628aff1940c49ae5ea8c320e69e39cb6.tar.gz
meta-security-2a91f5cc628aff1940c49ae5ea8c320e69e39cb6.tar.bz2
meta-security-2a91f5cc628aff1940c49ae5ea8c320e69e39cb6.zip
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. Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--recipes-security/google-authenticator-libpam/google-authenticator-libpam_1.08.bb5
1 files changed, 4 insertions, 1 deletions
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"