dbus-cynara: Fix a missing RDEPENDS 31/13731/1
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 6 Apr 2018 12:20:17 +0000 (14:20 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 6 Apr 2018 12:27:47 +0000 (14:27 +0200)
dbus-cynara is a separate package of dbus because it
allows to break the dependency loop dbus -> cynara -> ... -> dbus
coming from the fact that many many usefull things depend
on dbus: documentation generators, test handlers, ...

In other words, dbus-cynara is the same as dbus. As such, it
uses the subpackage dbus-lib (known as libdbus). This has to
be set as a RDEPENDS, otherwise bitbake complains:

 QA Issue: dbus-cynara rdepends on dbus-lib, but it isn't a builds
           dependency, missing dbus in DEPENDS or PACKAGECONFIG?

Change-Id: I72472dc9e6e8f21d0aabc9a1186f1cb7d8343445
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
meta-security/recipes-core/dbus-cynara/dbus-cynara_1.10.20.bb

index c46298e..a971483 100644 (file)
@@ -12,6 +12,8 @@ SRC_URI_append = "\
 "
 
 DEPENDS += "cynara smack"
+RDEPENDS_${PN} += "dbus"
+
 EXTRA_OECONF += "--enable-cynara --disable-selinux"
 
 inherit distro_features_check