Patchwork [01/12] connman: explicitly disable systemd if we don't want it enabled

login
register
mail settings
Submitter Ross Burton
Date March 11, 2013, 6:24 p.m.
Message ID <971f90d91cd5f1e576e54137895917c23104a4a5.1363025917.git.ross.burton@intel.com>
Download mbox | patch
Permalink /patch/45953/
State Accepted
Commit 423d68e615f643c4d8a3d098e7522fb8b884c3dc
Headers show

Comments

Ross Burton - March 11, 2013, 6:24 p.m.
Otherwise configure will use pkg-config and may find systemd, even though we
don't want it.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-connectivity/connman/connman.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 04b21f7..96ebc55 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -40,7 +40,7 @@  EXTRA_OECONF += "\
     --disable-polkit \
     --enable-client \
     --enable-fake \
-    ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '', d)} \
+    ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '--with-systemdunitdir=', d)} \
 "
 
 INITSCRIPT_NAME = "connman"