From: Daniel Golle Date: Mon, 28 Mar 2022 17:25:34 +0000 (+0100) Subject: mvebu: make boot filesystem reproducible X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=44b457168ef7a37533929c4332c86ef084d606a6;p=openwrt%2Fstaging%2Fnbd.git mvebu: make boot filesystem reproducible Set timestamp option for make_ext4fs to make boot filesystem reproducible. Signed-off-by: Daniel Golle --- diff --git a/target/linux/mvebu/image/Makefile b/target/linux/mvebu/image/Makefile index 44e66a5f87..b0498d34c9 100644 --- a/target/linux/mvebu/image/Makefile +++ b/target/linux/mvebu/image/Makefile @@ -34,7 +34,9 @@ define Build/boot-img-ext4 $(foreach dts,$(DEVICE_DTS), $(CP) $(KDIR)/image-$(dts).dtb $@.boot/$(dts).dtb;) $(CP) $(IMAGE_KERNEL) $@.boot/$(KERNEL_NAME) -$(CP) $@-boot.scr $@.boot/boot.scr - make_ext4fs -J -L kernel -l $(CONFIG_TARGET_KERNEL_PARTSIZE)M $@.bootimg $@.boot + make_ext4fs -J -L kernel -l $(CONFIG_TARGET_KERNEL_PARTSIZE)M \ + $(if $(SOURCE_DATE_EPOCH),-T $(SOURCE_DATE_EPOCH)) \ + $@.bootimg $@.boot endef define Build/buffalo-kernel-jffs2