diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-12-02 17:37:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-05 22:28:13 +0000 |
commit | 644914efa83a289da154c888b5661b9d16eaa35b (patch) | |
tree | 56a3c909be815495e72c71cbb1249e5e9c703323 /meta | |
parent | 7adc4853e54b8e440dcb332e147370cc943173d3 (diff) | |
download | poky-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')
-rw-r--r-- | meta/recipes-core/glibc/glibc-tests_2.36.bb | 2 |
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() { | |||
29 | RPROVIDES:${PN} = "${PN}" | 28 | RPROVIDES:${PN} = "${PN}" |
30 | RRECOMMENDS:${PN} = "" | 29 | RRECOMMENDS:${PN} = "" |
31 | RDEPENDS:${PN} = " glibc sed" | 30 | RDEPENDS:${PN} = " glibc sed" |
31 | RDEPENDS:${PN}-ptest = "${PN}" | ||
32 | DEPENDS += "sed" | 32 | DEPENDS += "sed" |
33 | 33 | ||
34 | export oe_srcdir="${exec_prefix}/src/debug/glibc/${PV}/" | 34 | export oe_srcdir="${exec_prefix}/src/debug/glibc/${PV}/" |