From 33d5e09ccbf2bafe3d06f615b11bf29d07f47784 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 11 Aug 2019 13:59:13 +0200 Subject: Add gensquashfs option to read xattrs from input files Signed-off-by: David Oberhollenzer --- mkfs/mkfs.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mkfs/mkfs.c') diff --git a/mkfs/mkfs.c b/mkfs/mkfs.c index f0d1e73..b11dce0 100644 --- a/mkfs/mkfs.c +++ b/mkfs/mkfs.c @@ -81,6 +81,9 @@ static int read_fstree(fstree_t *fs, options_t *opt) if (opt->one_filesystem) flags |= DIR_SCAN_ONE_FILESYSTEM; + if (opt->keep_xattr) + flags |= DIR_SCAN_READ_XATTR; + return fstree_from_dir(fs, opt->packdir, flags); } -- cgit v1.2.3