[oe] [meta-oe][PATCH 01/10] dbus-broker: include only if systemd is DISTO_FEATURE

Armin Kuster akuster808 at gmail.com
Tue Apr 10 00:22:27 UTC 2018


Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta-oe/recipes-core/dbus/dbus-broker_git.bb | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/meta-oe/recipes-core/dbus/dbus-broker_git.bb b/meta-oe/recipes-core/dbus/dbus-broker_git.bb
index 51dfe8c..b62bccf 100644
--- a/meta-oe/recipes-core/dbus/dbus-broker_git.bb
+++ b/meta-oe/recipes-core/dbus/dbus-broker_git.bb
@@ -6,7 +6,7 @@ SECTION = "base"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7b486c2338d225a1405d979ed2c15ce8"
 
-DEPENDS = "dbus glib-2.0 expat systemd"
+DEPENDS = "dbus glib-2.0 expat"
 
 PV = "9+git${SRCPV}"
 SRCREV = "ccd06b284892182af569e69046262331150e3536"
@@ -17,13 +17,16 @@ SRC_URI += "file://0002-Correct-including-directory-for-conf.patch"
 
 S = "${WORKDIR}/git"
 
-inherit meson pkgconfig systemd
+inherit meson pkgconfig systemd distro_features_check
+
+REQUIRED_DISTRO_FEATURES = "systemd"
 
 SYSTEMD_SERVICE_${PN} = "${BPN}.service"
 
 FILES_${PN} += "${systemd_system_unitdir}"
 FILES_${PN} += "${systemd_user_unitdir}"
 
-RDEPENDS_${PN} = "dbus systemd"
+RDEPENDS_${PN} = "dbus"
 
 BBCLASSEXTEND = "native"
+
-- 
2.7.4




More information about the Openembedded-devel mailing list