Browse Source

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 <[email protected]>
Daniel Golle 3 years ago
parent
commit
5cf5dce05a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      target/imagebuilder/files/Makefile

+ 1 - 0
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: