[Buildroot] [PATCH v2] fs/tar: explicitly set extended header values to ensure binary reproducibility
Arnout Vandecappelle
arnout at mind.be
Thu Jul 4 17:05:48 UTC 2019
On 04/07/2019 20:22, Atharva Lele wrote:
> On Thursday, July 4, 2019 11:58:21 AM IST Peter Korsgaard wrote:
[snip]
>> Is there any use case for ever storing these in the rootfs, or should we
>> just do this fix unconditionally?
>
> Personally, I can't think of a reason why we'd want to store atime/ctime in
> the rootfs.
ctime is pretty useless in a tarball because when extracting the ctime will be
set to extraction time anyway (tested with -xpf as root).
There might be some use for atime, but atime is already set by the "touch"
command that preceeds the tarball creation, so it doesn't make much of a difference.
So yes, we probably don't need to make this depend on BR2_REPRODUCIBLE.
Regards,
Arnout
> I think they got included when we added --xattrs-include='*'
>
> Arnout, Matt and Yann: any thoughts on that?
>
More information about the buildroot
mailing list