Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH next] package/e2fsprogs: allow uclibc toolchains for e4defrag
@ 2024-08-18  9:56 Waldemar Brodkorb
  2024-08-19 11:17 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2024-08-18  9:56 UTC (permalink / raw)
  To: buildroot

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

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
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH next] package/e2fsprogs: allow uclibc toolchains for e4defrag
  2024-08-18  9:56 [Buildroot] [PATCH next] package/e2fsprogs: allow uclibc toolchains for e4defrag Waldemar Brodkorb
@ 2024-08-19 11:17 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-08-19 11:17 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2024-08-19 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-18  9:56 [Buildroot] [PATCH next] package/e2fsprogs: allow uclibc toolchains for e4defrag Waldemar Brodkorb
2024-08-19 11:17 ` Thomas Petazzoni via buildroot

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