libpwquality: set correct pam plugin directory
PATCH 1/2 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 <[email protected]>
--- .../recipes-extended/libpwquality/libpwquality_1.4.4.bb | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
meta-oe/recipes-extended/libpwquality/libpwquality_1.4.4.bb +5 -4
@@ -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"
Signature · 1 line
2.25.1
PATCH 2/2 ostree: add runtime dependency bubblewrap for PACKAGECONFIG[selinux]
Since 2022.3, ostree has a runtime dependency on bubblewrap when enable selinux feature[1].
[1] https://github.com/ostreedev/ostree/commit/edb4f3893474736156c654aa43bdbf3784991811
Signed-off-by Yi Zhao <[email protected]>
--- meta-oe/recipes-extended/ostree/ostree_2022.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/ostree/ostree_2022.5.bb +1 -1
@@ -82,7 +82,7 @@ PACKAGECONFIG[mkinitcpio] = "--with-mkinitcpio, --without-mkinitcpio" PACKAGECONFIG[no-http2] = "--disable-http2, --enable-http2" PACKAGECONFIG[openssl] = "--with-crypto=openssl, , openssl, , , glib gnutls" PACKAGECONFIG[rofiles-fuse] = "--enable-rofiles-fuse, --disable-rofiles-fuse, fuse" -PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux" +PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux, bubblewrap" PACKAGECONFIG[smack] = "--with-smack, --without-smack, smack" PACKAGECONFIG[soup] = "--with-soup, --without-soup --disable-glibtest, libsoup-2.4" PACKAGECONFIG[static] = ""
Signature · 1 line
2.25.1