systemd: Fix the rdepends of systemd by using a new language construct

We don't want to launch the dbus-daemon and we did this by modifying
the RDEPENDS_${PN}. Back then this was okay as dbus was the only
dependency but now kmod got added to the recipe as well. Use the new
language construct to just remove a specific value from the rdepends.
Paul Eggleton was nice enough to point that out.

Fixes: SYS#231
This commit is contained in:
Holger Hans Peter Freyther 2014-01-30 15:00:27 +01:00
parent b606eb9bec
commit 5d8a24fa4f
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
S_THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
FILESPATH =. "${@base_set_filespath(["${S_THISDIR}/${PN}"], d)}:"
PRINC="17"
PRINC="18"
SRC_URI += "file://journald.conf \
file://0001-Feature-switch-ListenDatagram-from-run-systemd-journ.patch \
@ -11,7 +11,7 @@ SRC_URI_append_sysmobts-v1 = " file://system.conf"
SRC_URI_append_sysmobts-v2 = " file://system.conf"
# Disable depedency on dbus
RDEPENDS_${PN} = ""
RDEPENDS_${PN}_remove = "dbus"
# TODO: disable systemd-logind as it needs dbus