Skip to content

Commit

Permalink
fs/jffs2: copy xattrs
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
atenart authored and tpetazzoni committed Oct 8, 2020
1 parent c3902e6 commit c1e2686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/jffs2/jffs2.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c1e2686

Please sign in to comment.