All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v3 1/2] package/mtd: add host-acl dependency for host
@ 2020-10-08  9:08 Antoine Tenart
  2020-10-08  9:08 ` [Buildroot] [PATCH v3 2/2] fs/jffs2: copy xattrs Antoine Tenart
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Antoine Tenart @ 2020-10-08  9:08 UTC (permalink / raw)
  To: buildroot

When compiling the host version of mtd, --with-jffs and --with-ubifs are
always set, meaning --with-xattr is set by default. The xattr support
only work if 'sys/acl.h' is available, otherwise the feature is silently
dropped (a warning is shown during the configuration step).

This patch adds a dependency on host-acl for host-mtd, so that the xattr
feature is correctly supported. Logic to have xattr support is already
there and working for the non-host flavour.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 package/mtd/mtd.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index 1186fa52d552..9f259b35d906 100644
--- a/package/mtd/mtd.mk
+++ b/package/mtd/mtd.mk
@@ -53,7 +53,7 @@ else
 MTD_CONF_OPTS += --without-xattr
 endif
 
-HOST_MTD_DEPENDENCIES = host-zlib host-lzo host-util-linux host-zstd
+HOST_MTD_DEPENDENCIES = host-acl host-zlib host-lzo host-util-linux host-zstd
 HOST_MTD_CONF_OPTS = \
 	--with-jffs \
 	--with-ubifs \
-- 
2.26.2

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

end of thread, other threads:[~2020-10-10 20:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-08  9:08 [Buildroot] [PATCH v3 1/2] package/mtd: add host-acl dependency for host Antoine Tenart
2020-10-08  9:08 ` [Buildroot] [PATCH v3 2/2] fs/jffs2: copy xattrs Antoine Tenart
2020-10-10 20:53   ` Peter Korsgaard
2020-10-08 19:48 ` [Buildroot] [PATCH v3 1/2] package/mtd: add host-acl dependency for host Thomas Petazzoni
2020-10-10 20:53 ` Peter Korsgaard

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.