Closed bmwiedemann closed 1 year ago
Allow to override build date with SOURCE_DATE_EPOCH in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.
SOURCE_DATE_EPOCH
This date call works with different implementations of date.
Also use -u (UTC) to be independent of timezone.
-u
This patch was done while working on reproducible builds for openSUSE.
Allow to override build date with
SOURCE_DATE_EPOCH
in order to make builds reproducible. See https://reproducible-builds.org/ for why this is good and https://reproducible-builds.org/specs/source-date-epoch/ for the definition of this variable.This date call works with different implementations of date.
Also use
-u
(UTC) to be independent of timezone.This patch was done while working on reproducible builds for openSUSE.