summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build/binary_disk2
-rwxr-xr-xscripts/build/source_disk2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_disk b/scripts/build/binary_disk
index 4be6aef67..21092cab9 100755
--- a/scripts/build/binary_disk
+++ b/scripts/build/binary_disk
@@ -109,7 +109,7 @@ case "${LB_DEBIAN_INSTALLER}" in
;;
esac
-_DATE="$(date $DATE_UTC_OPTION +%Y%m%d-%H:%M)"
+_DATE="$(date $DATE_UTC_OPTION -d@${SOURCE_DATE_EPOCH} +%Y%m%d-%H:%M)"
echo "${TITLE} ${VERSION} \"${DISTRIBUTION}\" - ${STRING} ${DISK_LABEL} Binary ${_DATE}" > binary/.disk/info
diff --git a/scripts/build/source_disk b/scripts/build/source_disk
index aa370d997..70adcef6c 100755
--- a/scripts/build/source_disk
+++ b/scripts/build/source_disk
@@ -85,7 +85,7 @@ then
esac
fi
-_DATE="$(date $DATE_UTC_OPTION +%Y%m%d-%H:%M)"
+_DATE="$(date $DATE_UTC_OPTION -d@${SOURCE_DATE_EPOCH} +%Y%m%d-%H:%M)"
case "${LB_DEBIAN_INSTALLER}" in
cdrom)