]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
libpam: add ptest cases back
authorKai Kang <kai.kang@windriver.com>
Wed, 19 Mar 2025 08:15:32 +0000 (01:15 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Mar 2025 09:47:35 +0000 (09:47 +0000)
It removes the installation of ptest cases when upgrade libpam to 1.7.0.
Add them back to make ptest work. And 2 more cases in libpam 1.7.0.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/pam/libpam_1.7.0.bb

index 1be3c9e2bb97989728e25a9df8b9c171f4067791..4abc52bd93b338b6ffd011321475d0f2b860a559 100644 (file)
@@ -142,6 +142,12 @@ do_install:append() {
        fi
 }
 
+do_install_ptest() {
+    mkdir -p ${D}${PTEST_PATH}/tests
+    find ${B}/tests -maxdepth 1 -type f -exec cp {} ${D}${PTEST_PATH}/tests \;
+    install -m 0644 ${S}/tests/confdir ${D}${PTEST_PATH}/tests
+}
+
 pkg_postinst:${PN}() {
          if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
                  /etc/init.d/populate-volatile.sh update