diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-03 19:28:58 +0100 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-03 23:20:39 +0100 |
commit | 26a89a45e5c5311cfd43c3a3e37e18686462e402 (patch) | |
tree | dc70cf51524c46adf8abcc7176b4a5fe6ea2abdb | |
parent | ebf4b04b7f0bab4745ca9345c26a83d937a72578 (diff) | |
download | vyos-live-build-26a89a45e5c5311cfd43c3a3e37e18686462e402.tar.gz vyos-live-build-26a89a45e5c5311cfd43c3a3e37e18686462e402.zip |
disk_info: obey new UTC timestamp control
-rwxr-xr-x | scripts/build/binary_disk | 2 | ||||
-rwxr-xr-x | scripts/build/source_disk | 2 |
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) |