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)
committerPaul Spooren <mail@aparcar.org>
Tue, 1 Feb 2022 11:52:20 +0000 (12:52 +0100)
commit524cbcf6f5b07f3d9ee45e445da12760947e232e
treedbc7c8307e735f5d31b67e9a1a84aff455d58e8c
parent57293f51c48f1f7c4e8f1ab6fe2220761487bd65
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>
(cherry picked from commit 165f0b00cdd2f763c1d478c2f58c535fc19b13bd)
[store source_date_epoch as integer]
Signed-off-by: Paul Spooren <mail@aparcar.org>
include/image.mk
scripts/json_add_image_info.py