From: Antoine Tenart Date: Thu, 8 Oct 2020 09:08:36 +0000 (+0200) Subject: fs/jffs2: copy xattrs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c1e268670be761e3cae7bf0dd9e284a52401e37d;p=buildroot.git fs/jffs2: copy xattrs 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 Signed-off-by: Thomas Petazzoni --- 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)