[Buildroot] [git commit branch/2020.08.x] fs/jffs2: copy xattrs
Peter Korsgaard
peter at korsgaard.com
Sat Oct 10 20:52:39 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=e21f4fa3710b5445013e49cb7ed7f70e52927b9a
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2020.08.x
This patch sets the --with-xattr option when generating an image with
mkfs.jffs2, so that SELinux security contexts and other extended
attributes will be kept and available in jffs2 images.
Signed-off-by: Antoine Tenart <antoine.tenart at bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit c1e268670be761e3cae7bf0dd9e284a52401e37d)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
fs/jffs2/jffs2.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/jffs2/jffs2.mk b/fs/jffs2/jffs2.mk
index 2adbc2320e..0096af2ea9 100644
--- a/fs/jffs2/jffs2.mk
+++ b/fs/jffs2/jffs2.mk
@@ -4,7 +4,7 @@
#
################################################################################
-JFFS2_OPTS = -e $(BR2_TARGET_ROOTFS_JFFS2_EBSIZE)
+JFFS2_OPTS = -e $(BR2_TARGET_ROOTFS_JFFS2_EBSIZE) --with-xattr
SUMTOOL_OPTS = -e $(BR2_TARGET_ROOTFS_JFFS2_EBSIZE)
ifeq ($(BR2_TARGET_ROOTFS_JFFS2_PAD),y)
More information about the buildroot
mailing list