summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-05-03 19:28:58 +0100
committerLyndon Brown <jnqnfe@gmail.com>2020-05-03 23:20:39 +0100
commit26a89a45e5c5311cfd43c3a3e37e18686462e402 (patch)
treedc70cf51524c46adf8abcc7176b4a5fe6ea2abdb
parentebf4b04b7f0bab4745ca9345c26a83d937a72578 (diff)
downloadvyos-live-build-26a89a45e5c5311cfd43c3a3e37e18686462e402.tar.gz
vyos-live-build-26a89a45e5c5311cfd43c3a3e37e18686462e402.zip
disk_info: obey new UTC timestamp control
-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 5ce5a0401..8086ffead 100755
--- a/scripts/build/binary_disk
+++ b/scripts/build/binary_disk
@@ -109,7 +109,7 @@ case "${LB_DEBIAN_INSTALLER}" in
;;
esac
-_DATE="$(date +%Y%m%d-%H:%M)"
+_DATE="$(date $DATE_UTC_OPTION +%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 dc8398137..aa370d997 100755
--- a/scripts/build/source_disk
+++ b/scripts/build/source_disk
@@ -85,7 +85,7 @@ then
esac
fi
-_DATE="$(date +%Y%m%d-%H:%M)"
+_DATE="$(date $DATE_UTC_OPTION +%Y%m%d-%H:%M)"
case "${LB_DEBIAN_INSTALLER}" in
cdrom)