Re:Debian bookworm live images now reproducible
by mathfailure on Wednesday March 26, 2025 @02:40PM
(#43485393)
You clone source from git, but then you use them to build some artifacts. The artifacts build time may differ, yet with reproducible builds - the artifact should match.
[ Parent
| on HN ]
Re:Debian bookworm live images now reproducible
by echoangle on Wednesday March 26, 2025 @03:15PM
(#43485852)
Right, but if you only clone and build, why would the files modification date be different compared to the version that was committed to git? Does just cloning a repo already lead to different file modification dates in my local copy?
Re:Debian bookworm live images now reproducible
by hoten on Wednesday March 26, 2025 @03:22PM
(#43485956)
Git does not store or restore file modification times.
Re:Debian bookworm live images now reproducible
by codetrotter on Wednesday March 26, 2025 @03:29PM
(#43486058)
And the reason for that in turn is because if you are on one commit and check out and older commit, then restoring file modification times to what they were at the time of the older commit would cause build tools that look at file modification times to sometimes not pick up on all the changes.