HomeFreeBSD

MFC r291691: newvers: Honour SOURCE_DATE_EPOCH for build reproducibility

Description

MFC r291691: newvers: Honour SOURCE_DATE_EPOCH for build reproducibility

One reason the kernel does not build reproducibly is that it includes
a timestamp in the version string. SOURCE_DATE_EPOCH provides a standard
method to address this: it should be set to the last modification time
of the source, and build processes use the specified timestamp instead
of the "current" date and time.

This change uses SOURCE_DATE_EPOCH if it is set; how it gets set needs
to be addressed elsewhere.

Details

Provenance
emasteAuthored on
Parents
rS293332: Disable the reuse of checksum offload context descriptors in the case
Branches
Unknown
Tags
Unknown