All of lore.kernel.org
 help / color / mirror / Atom feed
* [warrior][PATCH] dbus-test: Improve ptest dependencies dependencies
@ 2019-06-09  7:56 Martin Jansa
  2019-06-09 14:36 ` akuster808
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Jansa @ 2019-06-09  7:56 UTC (permalink / raw)
  To: openembedded-core

From: Richard Purdie <richard.purdie@linuxfoundation.org>

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>
---
 meta/recipes-core/dbus/dbus-test_1.12.12.bb | 4 ++--
 1 file 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 f4131926c2..486a996879 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 \
@@ -78,6 +77,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"
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [warrior][PATCH] dbus-test: Improve ptest dependencies dependencies
  2019-06-09  7:56 [warrior][PATCH] dbus-test: Improve ptest dependencies dependencies Martin Jansa
@ 2019-06-09 14:36 ` akuster808
  0 siblings, 0 replies; 2+ messages in thread
From: akuster808 @ 2019-06-09 14:36 UTC (permalink / raw)
  To: Martin Jansa, openembedded-core



On 6/9/19 12:56 AM, Martin Jansa wrote:
> From: Richard Purdie <richard.purdie@linuxfoundation.org>
>
> 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>
got it
thanks
Armin
> ---
>  meta/recipes-core/dbus/dbus-test_1.12.12.bb | 4 ++--
>  1 file 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 f4131926c2..486a996879 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 \
> @@ -78,6 +77,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"



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-06-09 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-09  7:56 [warrior][PATCH] dbus-test: Improve ptest dependencies dependencies Martin Jansa
2019-06-09 14:36 ` akuster808

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.