imagebuilder: export SOURCE_DATE_EPOCH to environment

Export SOURCE_DATE_EPOCH to environment so filesystem and image
creation tools will make use of it.
Fixes reproducibility of images generated with the ImageBuilder.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 5cf5dce05a)
This commit is contained in:
Daniel Golle 2022-04-10 00:55:21 +01:00 committed by Tianling Shen
parent 22b57dc7ed
commit d98c35c1d9
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -27,6 +27,7 @@ include $(INCLUDE_DIR)/rootfs.mk
include $(INCLUDE_DIR)/version.mk
export REVISION
export SOURCE_DATE_EPOCH
define Helptext
Available Commands: