From: Alexander Kanavin Date: Fri, 2 Dec 2022 16:37:37 +0000 (+0100) Subject: glibc-tests: correctly pull in the actual tests when installing -ptest package X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~2382 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d37c2d428b09b9d0cbb875f083c6a1e9883a7fed;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git glibc-tests: correctly pull in the actual tests when installing -ptest package The tests are packaged into the main glibc-tests package which is fine, but then glibc-tests-ptest package needs to depend on that. Which is what this commit addresses. Signed-off-by: Alexander Kanavin Signed-off-by: Alexandre Belloni --- diff --git a/meta/recipes-core/glibc/glibc-tests_2.36.bb b/meta/recipes-core/glibc/glibc-tests_2.36.bb index c71c0831c62..bb6ef061623 100644 --- a/meta/recipes-core/glibc/glibc-tests_2.36.bb +++ b/meta/recipes-core/glibc/glibc-tests_2.36.bb @@ -16,7 +16,6 @@ python __anonymous() { d.setVar("PACKAGES", "${PN} ${PN}-ptest") d.setVar("PROVIDES", "${PN} ${PN}-ptest") - d.setVar("RPROVIDES", "${PN} ${PN}-ptest") bbclassextend = d.getVar("BBCLASSEXTEND").replace("nativesdk", "").strip() d.setVar("BBCLASSEXTEND", bbclassextend) @@ -29,6 +28,7 @@ python __anonymous() { RPROVIDES:${PN} = "${PN}" RRECOMMENDS:${PN} = "" RDEPENDS:${PN} = " glibc sed" +RDEPENDS:${PN}-ptest = "${PN}" DEPENDS += "sed" export oe_srcdir="${exec_prefix}/src/debug/glibc/${PV}/"