diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2022-11-21 22:04:56 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-11-23 08:25:30 -0800 |
commit | ac988457c8dc30e1cc1600c27af308b9d802b5f5 (patch) | |
tree | 5cddcb01915b22aab47e3e0156122508533bc792 /meta-oe/recipes-extended/libpwquality/libpwquality_1.4.4.bb | |
parent | 278d2bd97503881652a04d26f91491b384c6f1bb (diff) | |
download | meta-openembedded-contrib-ac988457c8dc30e1cc1600c27af308b9d802b5f5.tar.gz |
libpwquality: set correct pam plugin directory
Set pam plugin directory to ${base_libdir}/security as this is the
default setting in pam recipe.
Before the patch:
root@qemux86-64:~# echo "password requisite pam_pwquality.so retry=3" >> /etc/pam.d/common-password
root@qemux86-64:~# passwd
passwd: Module is unknown
passwd: password unchanged
After the patch:
root@qemux86-64:~# echo "password requisite pam_pwquality.so retry=3" >> /etc/pam.d/common-password
root@qemux86-64:~# passwd
New password:
Retype new password:
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/libpwquality/libpwquality_1.4.4.bb')
-rw-r--r-- | meta-oe/recipes-extended/libpwquality/libpwquality_1.4.4.bb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.4.bb b/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.4.bb index a6887b0868b..b50c0f7de76 100644 --- a/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.4.bb +++ b/meta-oe/recipes-extended/libpwquality/libpwquality_1.4.4.bb @@ -31,12 +31,13 @@ EXTRA_OECONF += "--with-python-rev=${PYTHON_BASEVERSION} \ --with-python-binary=${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN} \ --with-pythonsitedir=${PYTHON_SITEPACKAGES_DIR} \ --libdir=${libdir} \ + --with-securedir=${base_libdir}/security \ " PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" PACKAGECONFIG[pam] = "--enable-pam, --disable-pam, libpam" -FILES:${PN} += "${libdir}/security/pam_pwquality.so" -FILES:${PN}-dbg += "${libdir}/security/.debug" -FILES:${PN}-staticdev += "${libdir}/security/pam_pwquality.a" -FILES:${PN}-dev += "${libdir}/security/pam_pwquality.la" +FILES:${PN} += "${base_libdir}/security/pam_pwquality.so" +FILES:${PN}-dbg += "${base_libdir}/security/.debug" +FILES:${PN}-staticdev += "${base_libdir}/security/pam_pwquality.a" +FILES:${PN}-dev += "${base_libdir}/security/pam_pwquality.la" |