package/autofs: fix fsck program paths
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 19 Aug 2019 22:05:20 +0000 (00:05 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Wed, 1 Jan 2020 10:41:18 +0000 (11:41 +0100)
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>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/autofs/autofs.mk

index 73e77d415984b42a0d731d60798206d8989ee7b9..ab2dac6a1487fda85c6bd8b46a3e258b8cc7516a 100644 (file)
@@ -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 \