Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/autofs: fix fsck program paths
@ 2019-08-19 22:05 Fabrice Fontaine
  2020-01-01 10:46 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2019-08-19 22:05 UTC (permalink / raw)
  To: buildroot

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(-)

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 \
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH 1/1] package/autofs: fix fsck program paths
  2019-08-19 22:05 [Buildroot] [PATCH 1/1] package/autofs: fix fsck program paths Fabrice Fontaine
@ 2020-01-01 10:46 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2020-01-01 10:46 UTC (permalink / raw)
  To: buildroot

Fabrice, All,

On 2019-08-20 00:05 +0200, Fabrice Fontaine spake thusly:
> 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>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/autofs/autofs.mk | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> 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 \
> -- 
> 2.20.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-01-01 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-19 22:05 [Buildroot] [PATCH 1/1] package/autofs: fix fsck program paths Fabrice Fontaine
2020-01-01 10:46 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox