]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
glibc-tests: correctly pull in the actual tests when installing -ptest package
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 2 Dec 2022 16:37:37 +0000 (17:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Dec 2022 22:28:10 +0000 (22:28 +0000)
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 <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-core/glibc/glibc-tests_2.36.bb

index c71c0831c6277ba15664341df450d54cba213a31..bb6ef0616234230b30f9724d2245827b2ef0740d 100644 (file)
@@ -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}/"