[oe] [meta-networking][PATCH] autofs: Fix build breakage with systemd in DISTRO_FEATURE
Khem Raj
raj.khem at gmail.com
Mon Mar 18 21:18:43 UTC 2013
When systemd is in distro features we need to translate it
into the appropriate PACKAGECONFIG flag
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
.../recipes-daemons/autofs/autofs_5.0.7.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
index 6cc3b25..7d8cf17 100644
--- a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
+++ b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
@@ -51,6 +51,8 @@ CFLAGS += "${LDFLAGS}"
PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd"
+PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
+
EXTRA_OEMAKE = "DONTSTRIP=1"
EXTRA_OECONF += "--disable-mount-locking \
--enable-ignore-busy --with-openldap=no \
--
1.7.9.5
More information about the Openembedded-devel
mailing list