aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
diff options
context:
space:
mode:
authorJoe MacDonald <joe.macdonald@windriver.com>2013-03-18 15:01:17 -0400
committerJoe MacDonald <joe.macdonald@windriver.com>2013-03-18 15:13:52 -0400
commit2d6c355a55ab92555128a3c3e876a7752c035329 (patch)
tree3b316de41f5fbef3dd00f37de70cefe5802fa547 /meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
parent9641d4dff422b235ecd46947716361206b9b1e37 (diff)
downloadmeta-openembedded-2d6c355a55ab92555128a3c3e876a7752c035329.tar.gz
autofs: fix QA error when building without systemd
Building without systemd enabled results in: WARNING: QA Issue: autofs: Files/directories were installed but not shipped /lib /lib/systemd /lib/systemd/system /lib/systemd/system/autofs.service fix that in the PKGCONFIG way. Signed-off-by: Joe MacDonald <joe.macdonald@windriver.com>
Diffstat (limited to 'meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb')
-rw-r--r--meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb6
1 files changed, 4 insertions, 2 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 44985b2eb7..6cc3b25045 100644
--- a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
+++ b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb
@@ -41,7 +41,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.bz2 \
SRC_URI[md5sum] = "bc46838dece83c02d800ff144ed9f431"
SRC_URI[sha256sum] = "08c4304d8076dc80c14df559bc5fd821b67ef3457b245f61068bd053d8f94ccc"
-inherit update-rc.d
+inherit update-rc.d pkgconfig
INITSCRIPT_NAME = "autofs"
INITSCRIPT_PARAMS = "defaults"
@@ -49,8 +49,10 @@ INITSCRIPT_PARAMS = "defaults"
# FIXME: modules/Makefile has crappy rules that don't obey LDFLAGS
CFLAGS += "${LDFLAGS}"
+PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd"
+
EXTRA_OEMAKE = "DONTSTRIP=1"
-EXTRA_OECONF += "--with-systemd --disable-mount-locking \
+EXTRA_OECONF += "--disable-mount-locking \
--enable-ignore-busy --with-openldap=no \
--with-sasl=no --with-libtirpc=yes \
--with-path=${STAGING_BINDIR_NATIVE} \