diff mbox series

[next] package/e2fsprogs: allow uclibc toolchains for e4defrag

Message ID ZsHFY4nLrUaZgEDD@waldemar-brodkorb.de
State Accepted
Headers show
Series [next] package/e2fsprogs: allow uclibc toolchains for e4defrag | expand

Commit Message

Waldemar Brodkorb Aug. 18, 2024, 9:56 a.m. UTC
Since 2014 e4defrag was only available for musl/glibc
toolchains in commit d770abad335a85884cfc2ec7574a331c29522810.

I believe sync_file_range() was already available in 2015 in the uClibc time.

So enable e4defrag. Tested in Qemu on a ext4 filesystem.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 package/e2fsprogs/Config.in | 5 -----
 1 file changed, 5 deletions(-)

Comments

Thomas Petazzoni Aug. 19, 2024, 11:17 a.m. UTC | #1
On Sun, 18 Aug 2024 11:56:51 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:

> Since 2014 e4defrag was only available for musl/glibc
> toolchains in commit d770abad335a85884cfc2ec7574a331c29522810.
> 
> I believe sync_file_range() was already available in 2015 in the uClibc time.
> 
> So enable e4defrag. Tested in Qemu on a ext4 filesystem.
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
>  package/e2fsprogs/Config.in | 5 -----
>  1 file changed, 5 deletions(-)

Applied to next, thanks.

Thomas
diff mbox series

Patch

diff --git a/package/e2fsprogs/Config.in b/package/e2fsprogs/Config.in
index 23c4ef30b3..a45767d506 100644
--- a/package/e2fsprogs/Config.in
+++ b/package/e2fsprogs/Config.in
@@ -47,14 +47,9 @@  comment "e2scrub needs bash, coreutils, lvm2, and util-linux"
 config BR2_PACKAGE_E2FSPROGS_E4DEFRAG
 	bool "e4defrag"
 	depends on !BR2_nios2 # fallocate not implemented
-	depends on !BR2_TOOLCHAIN_USES_UCLIBC # sync_file_range not impl
 	help
 	  Online defragmenter for ext4 filesystem
 
-comment "e4defrag needs a glibc or musl toolchain"
-	depends on !BR2_nios2
-	depends on BR2_TOOLCHAIN_USES_UCLIBC
-
 config BR2_PACKAGE_E2FSPROGS_FSCK
 	bool "fsck"
 	default y