Skip to content

Commit

Permalink
mvebu: make boot filesystem reproducible
Browse files Browse the repository at this point in the history
Set timestamp option for make_ext4fs to make boot filesystem
reproducible.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  • Loading branch information
dangowrt committed Mar 28, 2022
1 parent 068ea2c commit 44b4571
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion target/linux/mvebu/image/Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 44b4571

Please sign in to comment.