From 0ab3bbb71c8d9c4a13913c44df64e4cada4e3280 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 15 Nov 2015 14:20:55 +0100 Subject: reproducible: run future nodes also 6h and 23min ahead --- bin/reproducible_common.sh | 7 ++++--- bin/reproducible_freebsd.sh | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index eb95bd1b..efe59908 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -395,15 +395,16 @@ write_explaination_table() { fi fi if [ "$1" != "FreeBSD" ] ; then - write_page "hour, minutehour and minute will probably vary between two builds...but this is not enforced systematically... (currently, work in progress)" if [ "$1" = "debian" ] ; then + write_page "hour, minutehour and minute will probably vary between two builds...but this is not enforced systematically... (currently, work in progress)" write_page "filesystemtmpfstemporarily not varied using disorderfs (manpage)" else + write_page "hour, minutehour and minute will probably vary between two builds...additionally the \"future builds\" also run 6h and 23min ahead." write_page "Filesystemtmpfssame for both builds (currently, this could be varied using disorderfs)" fi else - write_page "year, month, datetoday ($DATE)the 2nd build done with the build node set 1 year, 1 month and 5 days in the future" - write_page "hour, minutehour and minute will vary between two builds...but this is not enforced systematically...)" + write_page "year, month, datetoday ($DATE)the 2nd build done with the build node set 1 year, 1 month and 1 day in the future" + write_page "hour, minutehour and minute will vary between two builds...additionally the \"future build\" also runs 6h and 23min ahead." write_page "filesystem of the build directoryufssame for both builds" fi if [ "$1" = "debian" ] ; then diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh index 4eed40bd..038a7ad8 100755 --- a/bin/reproducible_freebsd.sh +++ b/bin/reproducible_freebsd.sh @@ -93,8 +93,8 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do break fi - # set time forward 398 days - $RSSH "sudo service ntpd stop ; sudo date --set='+398 days' ; date" + # set time forward 398 days and some + $RSSH "sudo service ntpd stop ; sudo date --set='+398 days +6 hours +23 minutes' ; date" echo "$(date) - system is running in the future now." echo "=============================================================================" -- cgit v1.2.3-70-g09d2