kumquat-buildroot/fs
Yann E. MORIN 668e4b1ab0 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>
(cherry picked from commit 6d688e2132)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-11-26 17:24:45 +01:00
..
axfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
cloop fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
cpio fs/cpio/init: preserve arguments 2018-02-26 20:49:40 +01:00
cramfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
ext2 fs/ext2: add option for lz4 compression 2018-01-08 23:44:04 +01:00
initramfs fs/initramfs: cleanups, enhance comments 2017-11-30 11:50:42 +01:00
iso9660 fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
jffs2 fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
romfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
squashfs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
tar fs/tar: add support for xattrs (thus capabilties) 2018-11-26 17:24:45 +01:00
ubi fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
ubifs fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
yaffs2 fs: make it behave a bit more like the package infra 2018-01-03 21:58:07 +01:00
common.mk fs/common.mk: Fix show-build-order 2018-11-26 12:49:26 +01:00
Config.in fs/ubifs: spin-off ubi to be its own filesystem 2018-01-03 21:57:49 +01:00