diff options
| author | Kai Kang <kai.kang@windriver.com> | 2025-03-19 01:15:32 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-19 09:48:14 +0000 |
| commit | 067b1fa297abf9f4fb6bacdab9900f042fccce81 (patch) | |
| tree | eef89a946a0434464098595c6e8f3120ddb7312e | |
| parent | aec9b16dc9f2575e4570d7858fc5e2d53d6caefa (diff) | |
| download | poky-067b1fa297abf9f4fb6bacdab9900f042fccce81.tar.gz | |
libpam: add ptest cases back
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.
(From OE-Core rev: ba8266267b4a89285bba0fceeaa1507957d318fb)
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>
| -rw-r--r-- | meta/recipes-extended/pam/libpam_1.7.0.bb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.7.0.bb b/meta/recipes-extended/pam/libpam_1.7.0.bb index 1be3c9e2bb..4abc52bd93 100644 --- a/meta/recipes-extended/pam/libpam_1.7.0.bb +++ b/meta/recipes-extended/pam/libpam_1.7.0.bb | |||
| @@ -142,6 +142,12 @@ do_install:append() { | |||
| 142 | fi | 142 | fi |
| 143 | } | 143 | } |
| 144 | 144 | ||
| 145 | do_install_ptest() { | ||
| 146 | mkdir -p ${D}${PTEST_PATH}/tests | ||
| 147 | find ${B}/tests -maxdepth 1 -type f -exec cp {} ${D}${PTEST_PATH}/tests \; | ||
| 148 | install -m 0644 ${S}/tests/confdir ${D}${PTEST_PATH}/tests | ||
| 149 | } | ||
| 150 | |||
| 145 | pkg_postinst:${PN}() { | 151 | pkg_postinst:${PN}() { |
| 146 | if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then | 152 | if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then |
| 147 | /etc/init.d/populate-volatile.sh update | 153 | /etc/init.d/populate-volatile.sh update |
