mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1698249fc3
commit
7b7a5f596f
@@ -163,11 +163,9 @@ do_install() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
if [ ${PTEST_ENABLED} = "1" ]; then
|
mkdir -p ${D}${PTEST_PATH}/tests
|
||||||
mkdir -p ${D}${PTEST_PATH}/tests
|
install -m 0755 ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests
|
||||||
install -m 0755 ${B}/tests/.libs/* ${D}${PTEST_PATH}/tests
|
install -m 0644 ${S}/tests/confdir ${D}${PTEST_PATH}/tests
|
||||||
install -m 0644 ${S}/tests/confdir ${D}${PTEST_PATH}/tests
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst:${PN}() {
|
pkg_postinst:${PN}() {
|
||||||
|
|||||||
Reference in New Issue
Block a user