aboutsummaryrefslogtreecommitdiffstats
path: root/target/imagebuilder
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-04-10 00:55:21 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-04-10 00:56:38 +0100
commit5cf5dce05ae829ec848ad63a6da300c4fddcd510 (patch)
tree276800b0de4bf59ca01dc9b7c97b8e1029827cfa /target/imagebuilder
parentdffad93d3e34275b87d97724e64447d8bde537ff (diff)
downloadupstream-5cf5dce05ae829ec848ad63a6da300c4fddcd510.tar.gz
upstream-5cf5dce05ae829ec848ad63a6da300c4fddcd510.tar.bz2
upstream-5cf5dce05ae829ec848ad63a6da300c4fddcd510.zip
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>
Diffstat (limited to 'target/imagebuilder')
-rw-r--r--target/imagebuilder/files/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
index 871a40b3a1..3329fe70aa 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -27,6 +27,7 @@ include $(INCLUDE_DIR)/rootfs.mk
include $(INCLUDE_DIR)/version.mk
export REVISION
+export SOURCE_DATE_EPOCH
define Helptext
Available Commands: