From: Pgowda Date: Tue, 19 Apr 2022 06:15:56 +0000 (-0700) Subject: glibc: ptest: Fix glibc-tests package issue X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~4361 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5555e7cf935b047a3dc3228d26bf0fd52eb425e5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git glibc: ptest: Fix glibc-tests package issue Run glibc-tests only when its enabled in the DISTRO_FEATURES. Signed-off-by: pgowda Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/glibc/glibc-tests_2.35.bb b/meta/recipes-core/glibc/glibc-tests_2.35.bb index 8c7ecf89ba9..414f8660de3 100644 --- a/meta/recipes-core/glibc/glibc-tests_2.35.bb +++ b/meta/recipes-core/glibc/glibc-tests_2.35.bb @@ -1,7 +1,8 @@ require glibc_${PV}.bb require glibc-tests.inc -inherit ptest +inherit ptest features_check +REQUIRED_DISTRO_FEATURES = "ptest" SRC_URI:append = " \ file://run-ptest \