Browse Source

tools: e2fsprogs: pass --with-crond-dir=no instead of patching

Currently, e2fsprogs is being patched to avoid detecting host crond, but
instead of doing that we can simply pass --with-crond-dir=no as an
argument and drop the patch.

Link: https://github.com/openwrt/openwrt/pull/16500
Signed-off-by: Robert Marko <[email protected]>
Robert Marko 1 year ago
parent
commit
da3e1ae35e
2 changed files with 2 additions and 12 deletions
  1. 2 1
      tools/e2fsprogs/Makefile
  2. 0 11
      tools/e2fsprogs/patches/003-no-crond.patch

+ 2 - 1
tools/e2fsprogs/Makefile

@@ -30,7 +30,8 @@ HOST_CONFIGURE_ARGS += \
 	--disable-tls \
 	--disable-nls \
 	--enable-threads=pth \
-	--disable-fuse2fs
+	--disable-fuse2fs \
+	--with-crond-dir=no
 
 define Host/Prepare
 	$(call Host/Prepare/Default)

+ 0 - 11
tools/e2fsprogs/patches/003-no-crond.patch

@@ -1,11 +0,0 @@
---- a/configure
-+++ b/configure
-@@ -15259,7 +15259,7 @@ then :
- 
- 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${crond_dir}" >&5
- printf "%s\n" "${crond_dir}" >&6; }
--		have_crond="yes"
-+		have_crond="no"; with_crond_dir=""
- 
- else $as_nop
-