summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-14 17:28:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-15 17:52:49 +0100
commitdb4ef506b6b86e62a5ee1cbea8f12f97615dd0b8 (patch)
tree11928eb7f4ccaebab71612da28ce2411bf801b64
parent7fc21775e62fddd6620d49a6cf00ca914ba6b4ba (diff)
downloadopenembedded-core-contrib-db4ef506b6b86e62a5ee1cbea8f12f97615dd0b8.tar.gz
dbus-test: Improve ptest dependencies dependencies
The dbus-test package is empty, move its dependencies to the ${PN}-ptest package. Also ensure that it doesn't depend on the empty ${PN} package which is about to start causing image failures in the following commit. In this case the correct dependency is dbus itself. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/dbus/dbus-test_1.12.12.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/dbus/dbus-test_1.12.12.bb b/meta/recipes-core/dbus/dbus-test_1.12.12.bb
index 0502c44917..f95b31a863 100644
--- a/meta/recipes-core/dbus/dbus-test_1.12.12.bb
+++ b/meta/recipes-core/dbus/dbus-test_1.12.12.bb
@@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
DEPENDS = "dbus glib-2.0"
-RDEPENDS_${PN} += "make"
RDEPENDS_${PN}-dev = ""
SRC_URI = "http://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
@@ -85,6 +84,7 @@ do_install_ptest() {
sed -i -e 's;@PTEST_PATH@;${PTEST_PATH};g' ${D}${PTEST_PATH}/run-ptest
}
-RDEPENDS_${PN}-ptest += "bash"
+RDEPENDS_${PN}-ptest += "bash make dbus"
+RDEPENDS_${PN}-ptest_remove = "${PN}"
PRIVATE_LIBS_${PN}-ptest = "libdbus-1.so.3"