[openwrt/openwrt] imagebuilder: export SOURCE_DATE_EPOCH to environment

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 9 16:57:03 PDT 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5cf5dce05ae829ec848ad63a6da300c4fddcd510

commit 5cf5dce05ae829ec848ad63a6da300c4fddcd510
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sun Apr 10 00:55:21 2022 +0100

    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 at makrotopia.org>
---
 target/imagebuilder/files/Makefile | 1 +
 1 file changed, 1 insertion(+)

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:




More information about the lede-commits mailing list