aboutsummaryrefslogtreecommitdiffstats
path: root/target
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 16:32:20 +0100
commit50cb1cb2efa9cac3df1e6b73f5501b01c270e860 (patch)
tree67061d68af30bf3970cf34e421665e14b96ba481 /target
parent1a2689a4605b9cbe4f900c0e1e65e16452c2cf51 (diff)
downloadupstream-50cb1cb2efa9cac3df1e6b73f5501b01c270e860.tar.gz
upstream-50cb1cb2efa9cac3df1e6b73f5501b01c270e860.tar.bz2
upstream-50cb1cb2efa9cac3df1e6b73f5501b01c270e860.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> (cherry picked from commit 5cf5dce05ae829ec848ad63a6da300c4fddcd510)
Diffstat (limited to 'target')
-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: