[oe-commits] Khem Raj : autofs: Fix build breakage with systemd in DISTRO_FEATURE

git at git.openembedded.org git at git.openembedded.org
Tue Mar 19 00:54:37 UTC 2013


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

Author: Khem Raj <raj.khem at gmail.com>
Date:   Mon Mar 18 14:18:43 2013 -0700

autofs: Fix build breakage with systemd in DISTRO_FEATURE

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>
Signed-off-by: Joe MacDonald <joe.macdonald at windriver.com>

---

 .../recipes-daemons/autofs/autofs_5.0.7.bb         |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

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 \





More information about the Openembedded-commits mailing list