summaryrefslogtreecommitdiff
path: root/scripts/build
diff options
context:
space:
mode:
authorRoland Clobus <rclobus@rclobus.nl>2020-10-04 13:52:07 +0200
committerLuca Boccassi <bluca@debian.org>2021-01-15 09:22:29 +0000
commit0202f17cadeb2b369de58748cf52a5063eaafe9c (patch)
tree4c2cc776828bd58723d42ca5d03c596c83d27c6c /scripts/build
parent9d2405166970c02b978cef817dd15c9cec9ed615 (diff)
downloadvyos-live-build-0202f17cadeb2b369de58748cf52a5063eaafe9c.tar.gz
vyos-live-build-0202f17cadeb2b369de58748cf52a5063eaafe9c.zip
Use SOURCE_DATE_EPOCH for 'now' in the boot splash image
Diffstat (limited to 'scripts/build')
-rwxr-xr-xscripts/build/binary_syslinux2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/binary_syslinux b/scripts/build/binary_syslinux
index 1caab8ab1..2d1a84070 100755
--- a/scripts/build/binary_syslinux
+++ b/scripts/build/binary_syslinux
@@ -217,7 +217,7 @@ _VERSION="${_VERSION:-none}"
_DISTRIBUTION="${LB_DISTRIBUTION_BINARY}"
-_DATE="$(date $DATE_UTC_OPTION -R)"
+_DATE="$(date $DATE_UTC_OPTION -R -d@${SOURCE_DATE_EPOCH})"
_YEAR="$(date $DATE_UTC_OPTION -d "${_DATE}" +%Y)"
_MONTH="$(date $DATE_UTC_OPTION -d "${_DATE}" +%m)"
_DAY="$(date $DATE_UTC_OPTION -d "${_DATE}" +%d)"