From 0202f17cadeb2b369de58748cf52a5063eaafe9c Mon Sep 17 00:00:00 2001 From: Roland Clobus Date: Sun, 4 Oct 2020 13:52:07 +0200 Subject: Use SOURCE_DATE_EPOCH for 'now' in the boot splash image --- scripts/build/binary_syslinux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/build') 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)" -- cgit v1.2.3