[oe-commits] Ross Burton : dbus: explicitly disable systemd when no systemd

git at git.openembedded.org git at git.openembedded.org
Tue Mar 26 22:41:15 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 7c39f21cbde23ad678ddf54cb54b7f01e971a325
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=7c39f21cbde23ad678ddf54cb54b7f01e971a325

Author: Ross Burton <ross.burton at intel.com>
Date:   Mon Mar 25 11:23:27 2013 +0000

dbus: explicitly disable systemd when no systemd

If systemd isn't a distro feature, explicitly disable the systemd unit path
check as otherwise it will search the sysroot.

Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-core/dbus/dbus.inc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index affffbc..c64084f 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -68,8 +68,8 @@ pkg_postinst_dbus() {
 EXTRA_OECONF_X = "${@base_contains('DISTRO_FEATURES', 'x11', '--with-x', '--without-x', d)}"
 EXTRA_OECONF_X_class-native = "--without-x --disable-x11-autolaunch"
 # TODO: would like to --enable-systemd but that's a circular build-dependency
-# between systemd <->dbus
-EXTRA_OECONF_SYSTEMD = "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '', d)}"
+# between systemd<->dbus
+EXTRA_OECONF_SYSTEMD = "${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
 
 EXTRA_OECONF = "--disable-tests \
                 --disable-checks \





More information about the Openembedded-commits mailing list