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-23 23:05:56 +0000 |
| commit | b631ceae1644622c307ea52515ed3ea78821e2bc (patch) | |
| tree | 89bdd5e64a3f1c6230e1264b4dd7de5d881447da | |
| parent | 0027d2a2d66bda86ad2ee576a9f72faae468d947 (diff) | |
| download | poky-b631ceae1644622c307ea52515ed3ea78821e2bc.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: 6731e8ff3a0c036ebf3680bf86038e88d3450caa)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit d37c2d428b09b9d0cbb875f083c6a1e9883a7fed)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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}/" |
