diff options
| author | Ross Burton <ross.burton@arm.com> | 2024-02-12 17:44:56 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-13 13:51:41 +0000 |
| commit | 7b7a5f596fcd6396b9da3d47f422578b86244ea1 (patch) | |
| tree | ad2184ce907c4d586d20ae6cd84692ce43ddc3c1 | |
| parent | 1698249fc3a9ecec714dcf696f32bb1264acfc4d (diff) | |
| download | poky-7b7a5f596fcd6396b9da3d47f422578b86244ea1.tar.gz | |
libpam: remove redundant PTEST_ENABLED conditional
do_install_ptest is only called if ptest is enabled, so don't guard it
again.
(From OE-Core rev: 7f9d0f331ce5b5292117b3d8c23f747a369cfde6)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-extended/pam/libpam_1.5.3.bb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.5.3.bb b/meta/recipes-extended/pam/libpam_1.5.3.bb index 809d927f55..4dd9890606 100644 --- a/meta/recipes-extended/pam/libpam_1.5.3.bb +++ b/meta/recipes-extended/pam/libpam_1.5.3.bb | |||
| @@ -163,11 +163,9 @@ do_install() { | |||
| 163 | } | 163 | } |
| 164 | 164 | ||
| 165 | do_install_ptest() { | 165 | do_install_ptest() { |
| 166 | if [ ${PTEST_ENABLED} = "1" ]; then | 166 | mkdir -p ${D}${PTEST_PATH}/tests |
| 167 | mkdir -p ${D}${PTEST_PATH}/tests | 167 | install -m 0755 ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests |
| 168 | install -m 0755 ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests | 168 | install -m 0644 ${S}/tests/confdir ${D}${PTEST_PATH}/tests |
| 169 | install -m 0644 ${S}/tests/confdir ${D}${PTEST_PATH}/tests | ||
| 170 | fi | ||
| 171 | } | 169 | } |
| 172 | 170 | ||
| 173 | pkg_postinst:${PN}() { | 171 | pkg_postinst:${PN}() { |
