SOURCE_DATE_EPOCH and timezone with FAT images
John Neffenger
john at status6.com
Wed Feb 23 16:42:50 UTC 2022
On 2/23/22 2:53 AM, Thomas Schmitt wrote:
> From this i hope to correctly argue in favor of a standard timezone for
> software that is delivered as reproducible FAT filesystem image:
It's not just for FAT filesystem images, but any software that stores a
timestamp in the "MS-DOS date and time" format, such as ZIP files.
The only sensible solution in this cases is to store the value as an
instant in UTC time. See the following pull request for details on how
the OpenJDK JAR and JMOD files store this time-zone-free timestamp:
Enable jar and jmod to produce deterministic timestamped content
https://github.com/openjdk/jdk/pull/6481
The lengthy discussion begins here:
https://github.com/openjdk/jdk/pull/6481#issuecomment-975018028
John
More information about the rb-general
mailing list