[oe] [meta-networking][PATCH 1/2] autofs: set some paths for configure script

Andreas Oberritter obi at opendreambox.org
Thu Nov 7 20:42:33 UTC 2019


The configure script used by autofs tries to detect paths on the
build system. Avoid it by presetting fixed values.

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
---
 meta-networking/recipes-daemons/autofs/autofs_5.1.6.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-networking/recipes-daemons/autofs/autofs_5.1.6.bb b/meta-networking/recipes-daemons/autofs/autofs_5.1.6.bb
index aeadc9d5dd..4f61562731 100644
--- a/meta-networking/recipes-daemons/autofs/autofs_5.1.6.bb
+++ b/meta-networking/recipes-daemons/autofs/autofs_5.1.6.bb
@@ -47,13 +47,19 @@ PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
 EXTRA_OEMAKE = "DONTSTRIP=1"
 EXTRA_OECONF += "--disable-mount-locking \
                 --enable-ignore-busy --with-openldap=no \
+                --with-confdir=${sysconfdir}/default \
+                --with-fifodir=/run \
+                --with-flagdir=/run \
                 --with-sasl=no --with-libtirpc \
+                --with-mapdir=${sysconfdir} \
                 --with-path=${STAGING_BINDIR_NATIVE} \
                 --with-fifodir=${localstatedir}/run \
                 --with-flagdir=${localstatedir}/run \
 "
 CACHED_CONFIGUREVARS = "ac_cv_path_RANLIB=${RANLIB} \
                         ac_cv_path_RPCGEN=rpcgen \
+                        initdir=${INIT_D_DIR} \
+                        piddir=/run \
 "
 
 do_configure_prepend () {
-- 
2.17.1



More information about the Openembedded-devel mailing list