buildroot/fs
Yann E. MORIN 6d688e2132 fs/tar: add support for xattrs (thus capabilties)
By default, tar will not include any extended attribute (xattr) when
creating archives, and thus will not store capabilties either (as they
are stored in the xattr 'security.capability').

Using option --xattrs is enough to create a tarball with all the xattrs
attached to a file. However, extracting all xattrs from a tarball
requires that --xattrs-include='*' be used. This is not symetric (but on
purpose, as per the documentation), and so is confusing to some.

So, we use --xattrs-include='*' to create the archive, so as to be
explicit that we want all xattrs to be stored.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-11-20 23:28:07 +01:00
..
axfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
btrfs fs/btrfs: remove destination file before generation 2018-08-25 23:59:23 +02:00
cloop fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
cpio fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
cramfs fs/cramfs: add xip option 2018-04-09 11:29:46 +02:00
ext2 fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
f2fs fs/f2fs: simplify overprovision option handling 2018-11-08 21:17:49 +01:00
initramfs fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
iso9660 fs/*/*.mk: fix code style 2018-04-01 08:40:41 +02:00
jffs2 fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
romfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
squashfs fs/squashfs: add zstd support 2018-04-25 23:39:04 +02:00
tar fs/tar: add support for xattrs (thus capabilties) 2018-11-20 23:28:07 +01:00
ubi fs/*/Config.in: re-wrap help text 2018-04-01 08:52:45 +02:00
ubifs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
yaffs2 fs/yaffs2: fix code style 2018-04-01 07:55:22 +02:00
Config.in fs/f2fs: add support for creating a f2fs image 2018-11-03 15:14:47 +01:00
common.mk fs/common.mk: Fix show-build-order 2018-11-18 09:46:52 +01:00