aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Antoine Tenart <antoine.tenart@bootlin.com>2020-10-08 11:08:36 +0200
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-10-10 22:52:39 +0200
commite21f4fa3710b5445013e49cb7ed7f70e52927b9a (patch)
treee9f19b77265571f039de3ffa1960bba16f74414a
parent7c38dfb58eee1c235d4d5444c7ad3dd56a35b895 (diff)
downloadbuildroot-e21f4fa3710b5445013e49cb7ed7f70e52927b9a.tar.gz
buildroot-e21f4fa3710b5445013e49cb7ed7f70e52927b9a.tar.bz2
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 <antoine.tenart@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit c1e268670be761e3cae7bf0dd9e284a52401e37d) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--fs/jffs2/jffs2.mk2
1 files changed, 1 insertions, 1 deletions
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)