diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-03-28 18:26:13 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-03-28 20:52:54 +0100 |
commit | 1c7e146f7e0f42e5e414c6cff0c73f75b405e0dd (patch) | |
tree | e572f1596c7fc50a9e716ee0b84bf0ab2bec26c3 /target/linux/layerscape | |
parent | 44b457168ef7a37533929c4332c86ef084d606a6 (diff) | |
download | upstream-1c7e146f7e0f42e5e414c6cff0c73f75b405e0dd.tar.gz upstream-1c7e146f7e0f42e5e414c6cff0c73f75b405e0dd.tar.bz2 upstream-1c7e146f7e0f42e5e414c6cff0c73f75b405e0dd.zip |
layerscape: make boot filesystem reproducible
Set timestamp option for make_ext4fs to make boot filesystem
reproducible.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/layerscape')
-rw-r--r-- | target/linux/layerscape/image/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/layerscape/image/Makefile b/target/linux/layerscape/image/Makefile index 3c8bdea480..52dc532c34 100644 --- a/target/linux/layerscape/image/Makefile +++ b/target/linux/layerscape/image/Makefile @@ -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 |