diff options
author | Joe MacDonald <joe@deserted.net> | 2013-11-01 14:24:36 -0400 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2013-11-04 09:59:57 -0500 |
commit | 3cf6fd9961b290f6346be94a98b28a44508176e4 (patch) | |
tree | 676b1c7038490f4ad3b7689180179b7082a25bb3 /meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb | |
parent | 153372542a75625cda97b864afc25b3cac54772d (diff) | |
download | meta-openembedded-contrib-3cf6fd9961b290f6346be94a98b28a44508176e4.tar.gz |
autofs: correct QA issues with orphaned systemd files
If we build a project without systemd support on a system that has systemd
enabled, the following QA items get flagged:
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/autofs.service
Trying to keep the solution to the problem as contained as possible in a
way that may be accepted up-stream by adding an optional parameter to the
--with-systemd flag.
Signed-off-by: Joe MacDonald <joe@deserted.net>
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.bb | 4 |
1 files changed, 2 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 c4eea317bc..54e89f5487 100644 --- a/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb +++ b/meta-networking/recipes-daemons/autofs/autofs_5.0.7.bb @@ -60,6 +60,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/daemons/autofs/v5/autofs-${PV}.tar.bz2 \ file://autofs-5.0.7-do-not-check-for-modprobe.patch \ file://fix_disable_ldap.patch \ file://autofs-5.0.7-fix-lib-deps.patch \ + file://0001-systemd-allow-with-systemd-to-take-a-path-arg.patch \ " SRC_URI[md5sum] = "bc46838dece83c02d800ff144ed9f431" @@ -73,7 +74,7 @@ INITSCRIPT_PARAMS = "defaults" # FIXME: modules/Makefile has crappy rules that don't obey LDFLAGS CFLAGS += "${LDFLAGS}" -PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd" +PACKAGECONFIG[systemd] = "--with-systemd=${systemd_unitdir}/system,--without-systemd,systemd" PACKAGECONFIG ?= "${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" @@ -85,7 +86,6 @@ EXTRA_OECONF += "--disable-mount-locking \ " CACHED_CONFIGUREVARS = "ac_cv_path_RANLIB=${RANLIB} \ ac_cv_path_RPCGEN=rpcgen \ - systemddir=${systemd_unitdir}/system \ " do_configure_prepend () { |