imagebuilder: export SOURCE_DATE_EPOCH to environment
authorDaniel Golle <daniel@makrotopia.org>
Sat, 9 Apr 2022 23:55:21 +0000 (00:55 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 9 Apr 2022 23:56:38 +0000 (00:56 +0100)
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>
target/imagebuilder/files/Makefile

index 871a40b3a1f261d0e69c75eedb1474bbe9eb03a8..3329fe70aa192ad5104211ef318bc600516ed8b1 100644 (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: