summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-12-02 17:37:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-05 22:28:13 +0000
commit644914efa83a289da154c888b5661b9d16eaa35b (patch)
tree56a3c909be815495e72c71cbb1249e5e9c703323 /meta/recipes-core/glibc
parent7adc4853e54b8e440dcb332e147370cc943173d3 (diff)
downloadpoky-644914efa83a289da154c888b5661b9d16eaa35b.tar.gz
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. (From OE-Core rev: d37c2d428b09b9d0cbb875f083c6a1e9883a7fed) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc')
-rw-r--r--meta/recipes-core/glibc/glibc-tests_2.36.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc-tests_2.36.bb b/meta/recipes-core/glibc/glibc-tests_2.36.bb
index c71c0831c6..bb6ef06162 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() {
16 d.setVar("PACKAGES", "${PN} ${PN}-ptest") 16 d.setVar("PACKAGES", "${PN} ${PN}-ptest")
17 17
18 d.setVar("PROVIDES", "${PN} ${PN}-ptest") 18 d.setVar("PROVIDES", "${PN} ${PN}-ptest")
19 d.setVar("RPROVIDES", "${PN} ${PN}-ptest")
20 19
21 bbclassextend = d.getVar("BBCLASSEXTEND").replace("nativesdk", "").strip() 20 bbclassextend = d.getVar("BBCLASSEXTEND").replace("nativesdk", "").strip()
22 d.setVar("BBCLASSEXTEND", bbclassextend) 21 d.setVar("BBCLASSEXTEND", bbclassextend)
@@ -29,6 +28,7 @@ python __anonymous() {
29RPROVIDES:${PN} = "${PN}" 28RPROVIDES:${PN} = "${PN}"
30RRECOMMENDS:${PN} = "" 29RRECOMMENDS:${PN} = ""
31RDEPENDS:${PN} = " glibc sed" 30RDEPENDS:${PN} = " glibc sed"
31RDEPENDS:${PN}-ptest = "${PN}"
32DEPENDS += "sed" 32DEPENDS += "sed"
33 33
34export oe_srcdir="${exec_prefix}/src/debug/glibc/${PV}/" 34export oe_srcdir="${exec_prefix}/src/debug/glibc/${PV}/"