build: store SOURCE_DATE_EPOCH in JSON info files
authorPaul Spooren <mail@aparcar.org>
Sun, 1 Nov 2020 21:53:39 +0000 (11:53 -1000)
committerPetr Štetiar <ynezz@true.cz>
Thu, 12 Nov 2020 17:19:44 +0000 (18:19 +0100)
commit165f0b00cdd2f763c1d478c2f58c535fc19b13bd
treeb95f9586bedb39e83b242b95db41e36eff8aa1e8
parent86917e4979b020e33a63e10c2f3073586964a202
build: store SOURCE_DATE_EPOCH in JSON info files

The source date epoch is the only reproducible date close to the actual
build date. It can be used for tooling like the firmware wizard to show
the image age.

Signed-off-by: Paul Spooren <mail@aparcar.org>
include/image.mk
scripts/json_add_image_info.py