kumquat-buildroot/fs
Atharva Lele 9c449f9dd8 fs/tar: explicitly set extended header values to ensure binary reproducibility
Since we use --xattrs-include='*' to include all extended attributes,
tar creates a PAX formatted archive. The archive metadata captures atime
and ctime of files. To fix this, GNU recommends that we pass this added
argument to tar to create binary reproducible packages. Setting of mtime
is handled in fs/common.mk using touch on all files.

Diffoscope output pre-change: https://gitlab.com/snippets/1871111
Diffoscope output after change is blank i.e. binary reproducibile rootfs
is created.

GNU Recommendation: https://www.gnu.org/software/tar/manual/tar.html#SEC147

Signed-off-by: Atharva Lele <itsatharva@gmail.com>
Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-07-14 12:21:11 +02:00
..
axfs
btrfs
cloop
cpio
cramfs
ext2
f2fs fs/f2fs: simplify overprovision option handling 2018-11-08 21:17:49 +01:00
initramfs
iso9660
jffs2
romfs
squashfs
tar fs/tar: explicitly set extended header values to ensure binary reproducibility 2019-07-14 12:21:11 +02:00
ubi
ubifs
yaffs2
common.mk core: remove show-dependency-tree 2019-05-07 23:06:05 +02:00
Config.in fs/f2fs: add support for creating a f2fs image 2018-11-03 15:14:47 +01:00