summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-02-12 17:44:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-02-13 13:51:41 +0000
commit7b7a5f596fcd6396b9da3d47f422578b86244ea1 (patch)
treead2184ce907c4d586d20ae6cd84692ce43ddc3c1 /meta/recipes-extended
parent1698249fc3a9ecec714dcf696f32bb1264acfc4d (diff)
downloadpoky-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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/pam/libpam_1.5.3.bb8
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
165do_install_ptest() { 165do_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
173pkg_postinst:${PN}() { 171pkg_postinst:${PN}() {