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>
This commit is contained in:
Armin Kuster
2020-02-14 05:16:28 +00:00
parent 238b8936e6
commit 2a91f5cc62

View File

@@ -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"