aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-08-16 11:09:13 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2019-08-17 14:46:17 +0200
commit8c89a3a9a1d591d151daed2c081376dbd512083b (patch)
tree279d1465fc517359f2c4dea289b6c30a88f66c8b
parentbee5ab6c9d68c7ddb04d64e2ebe714eca882b2f3 (diff)
downloadbuildroot-8c89a3a9a1d591d151daed2c081376dbd512083b.tar.bz2
package/autofs: fix mount, umount and fsck program paths
Fixes: - https://bugs.buildroot.org/show_bug.cgi?id=11876 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/autofs/autofs.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/package/autofs/autofs.mk b/package/autofs/autofs.mk
index e7c65ef4b0..0af00fa936 100644
--- a/package/autofs/autofs.mk
+++ b/package/autofs/autofs.mk
@@ -11,11 +11,18 @@ AUTOFS_LICENSE = GPL-2.0+
AUTOFS_LICENSE_FILES = COPYING COPYRIGHT
AUTOFS_DEPENDENCIES = host-flex host-bison host-pkgconf host-nfs-utils
-# autofs looks on the build machine for the path of modprobe, so tell
-# it explicitly where it will be located on the target.
+# autofs looks on the build machine for the path of modprobe, mount,
+# umount and fsck programs so tell it explicitly where they will be
+# located on the target.
AUTOFS_CONF_ENV = \
+ ac_cv_path_E2FSCK=/usr/sbin/fsck.ext2 \
+ ac_cv_path_E3FSCK=/usr/sbin/fsck.ext3 \
+ ac_cv_path_E4FSCK=/usr/sbin/fsck.ext4 \
ac_cv_path_KRB5_CONFIG=no \
ac_cv_path_MODPROBE=/sbin/modprobe \
+ ac_cv_path_MOUNT=/bin/mount \
+ ac_cv_path_MOUNT_NFS=/usr/sbin/mount.nfs \
+ ac_cv_path_UMOUNT=/bin/umount \
ac_cv_linux_procfs=yes
# instead of looking in the PATH like any reasonable package, autofs