]> git.ipfire.org Git - thirdparty/mkosi.git/commit
make_tar: do not emit extended PAX headers for atime, ctime and mtime
authorMalte Poll <mp@edgeless.systems>
Tue, 17 Oct 2023 08:37:16 +0000 (10:37 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 17 Oct 2023 09:06:15 +0000 (11:06 +0200)
commit8980ff1dfd0bca926caaf98aa81ec966593d1577
tree05e413fb415ae67be36436c3e11602289e27c7af
parent430c5f3eb862b2a517f671311acc2d4c768733a1
make_tar: do not emit extended PAX headers for atime, ctime and mtime

The use of the --xattrs flag implies PAX headers (--format=pax).
In this mode, the tar will record atime, ctime and mtime as PAX headers (in addition to the usual USTAR header).
Removing the headers makes the output reproducible.
See also: https://www.gnu.org/software/tar/manual/html_node/PAX-keywords.html
mkosi/archive.py