Skip to content
Commit 5847084f authored by Vagrant Cascadian's avatar Vagrant Cascadian Committed by Tom Rini
Browse files

Respect SOURCE_DATE_EPOCH when building FIT images.

Embedding timestamps in FIT images results in unreproducible builds
for targets that generate a fit image, such as dra7xx_evm.

This patch uses the SOURCE_DATE_EPOCH environment variable, when set,
to use specified value for the date.

Thanks to HW42 for debugging the issue and providing the patch:

  https://lists.alioth.debian.org/pipermail/reproducible-builds/Week-of-Mon-20160606/005722.html

For more information about reproducible builds and the
SOURCE_DATE_EPOCH specification:

  https://reproducible-builds.org/specs/source-date-epoch/
  https://reproducible-builds.org/



Signed-off-by: default avatarVagrant Cascadian <vagrant@debian.org>
Reviewed-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 42ffa51f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment