[1/1] package/autofs: fix fsck program paths
diff mbox series

Message ID 20190819220520.24833-1-fontaine.fabrice@gmail.com
State New
Headers show
Series
  • [1/1] package/autofs: fix fsck program paths
Related show

Commit Message

Fabrice Fontaine Aug. 19, 2019, 10:05 p.m. UTC
Following Arnout review of "autofs: fix mount, umount and fsck program
paths" in https://patchwork.ozlabs.org/patch/1148086, set
ac_cv_path_E2FSCK to /sbin/fsck and ac_cv_path_E{3,4}FSCK to no so that
the fsck wrapper will always gets used (if the e3 and e4 versions don't
exist, the e2 version is used regardless of fs type).

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/autofs/autofs.mk | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Patch
diff mbox series

diff --git a/package/autofs/autofs.mk b/package/autofs/autofs.mk
index 1a5cb3ce8f..14e78a7e88 100644
--- a/package/autofs/autofs.mk
+++ b/package/autofs/autofs.mk
@@ -15,9 +15,9 @@  AUTOFS_DEPENDENCIES = host-flex host-bison host-pkgconf host-nfs-utils
 # 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_E2FSCK=/sbin/fsck \
+	ac_cv_path_E3FSCK=no \
+	ac_cv_path_E4FSCK=no \
 	ac_cv_path_KRB5_CONFIG=no \
 	ac_cv_path_MODPROBE=/sbin/modprobe \
 	ac_cv_path_MOUNT=/bin/mount \