From 5d8a24fa4fe2135aafde517c9afb04aadf367c91 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 30 Jan 2014 15:00:27 +0100 Subject: [PATCH] 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 --- recipes-fixes/systemd/systemd_sysmocom.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes-fixes/systemd/systemd_sysmocom.inc b/recipes-fixes/systemd/systemd_sysmocom.inc index 484d275..7081c87 100644 --- a/recipes-fixes/systemd/systemd_sysmocom.inc +++ b/recipes-fixes/systemd/systemd_sysmocom.inc @@ -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