From 62f3d7bf5530b6cebf1c173dc887a21eec15400f Mon Sep 17 00:00:00 2001 From: Roland Clobus Date: Sat, 22 Jan 2022 18:14:05 +0100 Subject: [PATCH] Set the timestamp of the generated iso image. --- scripts/build/binary_iso | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/build/binary_iso b/scripts/build/binary_iso index 753a7de49..f467856ee 100755 --- a/scripts/build/binary_iso +++ b/scripts/build/binary_iso @@ -198,6 +198,10 @@ case "${LB_BUILD_WITH_CHROOT}" in ;; esac +# Set the timestamp of the image +touch -d@${SOURCE_DATE_EPOCH} ${IMAGE} +echo "f ${IMAGE}" >> binary.modified_timestamps + # Saving cache Save_package_cache binary