From: Carlos Santos Date: Sat, 22 Apr 2017 22:49:17 +0000 (+0200) Subject: e2fsprogs: avoid conflict with util-linux fsck wrapper X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74cedf7eb91d5a2dfc94a3c1d4ec61bcacaeff6d;p=buildroot.git e2fsprogs: avoid conflict with util-linux fsck wrapper The fsck wrapper from util-linux is better maintained, so it should be preferred. In particular, systemd relies on features in the util-linux fsck wrapper that don't exist in the e2fsprogs one. However, since e2fsprogs depends on util-linux, the one from e2fsprogs currently has precedence. So in order to have e2fsck from e2fsprogs and the fsck wrapper from util-linux, we disable e2fsprogs' fsck if the one from util-linux is selected. Signed-off-by: Carlos Santos CC: Maxime Hadjinlian [Arnout: don't add comment] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- diff --git a/package/e2fsprogs/Config.in b/package/e2fsprogs/Config.in index 23c4db5329..b3d12b4a63 100644 --- a/package/e2fsprogs/Config.in +++ b/package/e2fsprogs/Config.in @@ -45,6 +45,7 @@ comment "e4defrag needs a glibc or musl toolchain" config BR2_PACKAGE_E2FSPROGS_FSCK bool "fsck" default y + depends on !BR2_PACKAGE_UTIL_LINUX_FSCK help Check and repair a Linux file system. This is a wrapper around the filesystem-specific fsck tools.