mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-10 22:44:04 +00:00
layerscape: make boot filesystem reproducible
Set timestamp option for make_ext4fs to make boot filesystem reproducible. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
parent
44b457168e
commit
1c7e146f7e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user