aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Gherzan <andrei.gherzan@windriver.com>2012-05-21 16:55:07 +0300
committerHolger Behrens <holger.behrens@windriver.com>2012-05-24 08:50:25 +0200
commitbccf03867dd293bc6c659da0c82c09e68432cdee (patch)
treefe0cf50ecb34d6a6a8fd5391abf1a384029ca747
parentf88487553fca72e36660e74a3bd677016f09bcf0 (diff)
downloadmeta-ivi-bccf03867dd293bc6c659da0c82c09e68432cdee.tar.gz
meta-ivi-bccf03867dd293bc6c659da0c82c09e68432cdee.tar.bz2
meta-ivi-bccf03867dd293bc6c659da0c82c09e68432cdee.zip
bluez4: Add systemd to DEPENDS if DISTRO_FEATURES contains systemd
As well, ${PN}-systemd should RDEPEND on systemd. Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com>
-rw-r--r--recipes-connectivity/bluez/bluez4_4.99.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-connectivity/bluez/bluez4_4.99.bbappend b/recipes-connectivity/bluez/bluez4_4.99.bbappend
index a1b0580..2b3d2d8 100644
--- a/recipes-connectivity/bluez/bluez4_4.99.bbappend
+++ b/recipes-connectivity/bluez/bluez4_4.99.bbappend
@@ -1,5 +1,9 @@
+DEPENDS += " ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
+
PACKAGES =+ "${PN}-systemd"
FILES_${PN}-systemd = "${base_libdir}/systemd/system/"
+# Systemd service needs systemd
+RDEPENDS_${PN}-systemd = "systemd"