Skip to content

Commit

Permalink
layerscape: 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 44b4571 commit 1c7e146
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion target/linux/layerscape/image/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ endef
define Build/ls-append-kernel
mkdir -p $@.tmp && \
cp $(IMAGE_KERNEL) $@.tmp/fitImage && \
make_ext4fs -J -L kernel -l "$(LS_SD_KERNELPART_SIZE)M" "$@.kernel.part" "$@.tmp" && \
make_ext4fs -J -L kernel -l "$(LS_SD_KERNELPART_SIZE)M" \
$(if $(SOURCE_DATE_EPOCH),-T $(SOURCE_DATE_EPOCH)) \
"$@.kernel.part" "$@.tmp" && \
dd if=$@.kernel.part >> $@ && \
rm -rf $@.tmp && \
rm -f $@.kernel.part
Expand Down

0 comments on commit 1c7e146

Please sign in to comment.