All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/e2fsprogs: disable the e2scrub stuff
@ 2020-09-17  9:03 Tian Yuanhao
  2020-09-17 19:39 ` Thomas Petazzoni
  0 siblings, 1 reply; 9+ messages in thread
From: Tian Yuanhao @ 2020-09-17  9:03 UTC (permalink / raw)
  To: buildroot

e2scrub_all depends on the readlink of coreutils. If you use the
readlink of busybox, an error [1] occurs.

Embedded systems usually do not use LVM, in which case e2scrub is
useless.

There is no single option to completely disable e2scrub, so use a method
similar to [2] to disable the e2scrub stuff.

[1]: https://github.com/tytso/e2fsprogs/issues/32
[2]: https://patchwork.ozlabs.org/project/buildroot/patch/20200717120654.548833-1-antoine.tenart at bootlin.com/

Signed-off-by: Tian Yuanhao <tianyuanhao@aliyun.com>
---
?package/e2fsprogs/e2fsprogs.mk | 5 ++++-
?1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index eb82a55..cf6579d 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -52,7 +52,10 @@ E2FSPROGS_CONF_OPTS = \
?	--disable-e2initrd-helper \
?	--disable-testio-debug \
?	--disable-rpath \
-	--enable-symlink-install
+	--enable-symlink-install \
+	--with-crond-dir=no \
+	--with-systemd-unit-dir=no \
+	--with-udev-rules-dir=no
?
?ifeq ($(BR2_PACKAGE_E2FSPROGS_FUSE2FS),y)
?E2FSPROGS_CONF_OPTS += --enable-fuse2fs
--?
2.7.4

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

end of thread, other threads:[~2021-05-01  6:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-17  9:03 [Buildroot] [PATCH 1/1] package/e2fsprogs: disable the e2scrub stuff Tian Yuanhao
2020-09-17 19:39 ` Thomas Petazzoni
2020-09-18  1:57   ` Tian Yuanhao
2020-09-20 21:12     ` Yann E. MORIN
2020-09-21  2:48       ` [Buildroot] [PATCH v2 1/1] package/e2fsprogs: disable e2scrub Tian Yuanhao
2020-10-10 17:04         ` James Hilliard
2021-04-30  9:16         ` [Buildroot] [PATCH v3 1/1] package/e2fsprogs: disable e2scrub conditionally Tian Yuanhao
2021-04-30 22:03           ` Yann E. MORIN
2021-05-01  6:11             ` Alexander Dahl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.