summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-11-15 14:20:55 +0100
committerHolger Levsen <holger@layer-acht.org>2015-11-15 14:20:55 +0100
commit0ab3bbb71c8d9c4a13913c44df64e4cada4e3280 (patch)
tree63b5212034dc0720076bfbefe1226bd083e0be29 /bin
parentb17690bdf552c0840e1f0b8e3fa28c641fb1af4f (diff)
downloadjenkins.debian.net-0ab3bbb71c8d9c4a13913c44df64e4cada4e3280.tar.xz
reproducible: run future nodes also 6h and 23min ahead
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.sh7
-rwxr-xr-xbin/reproducible_freebsd.sh4
2 files changed, 6 insertions, 5 deletions
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 "<tr><td>hour, minute</td><td>hour and minute will probably vary between two builds...</td><td>but this is not enforced systematically... (currently, work in progress)</td></tr>"
if [ "$1" = "debian" ] ; then
+ write_page "<tr><td>hour, minute</td><td>hour and minute will probably vary between two builds...</td><td>but this is not enforced systematically... (currently, work in progress)</td></tr>"
write_page "<tr><td>filesystem</td><td>tmpfs</td><td><em>temporarily not</em> varied using <a href=\"https://tracker.debian.org/disorderfs\">disorderfs</a> (<a href=\"https://sources.debian.net/src/disorderfs/sid/disorderfs.1.txt/\">manpage</a>)</td></tr>"
else
+ write_page "<tr><td>hour, minute</td><td>hour and minute will probably vary between two builds...</td><td>additionally the \"future builds\" also run 6h and 23min ahead.</td></tr>"
write_page "<tr><td>Filesystem</td><td>tmpfs</td><td>same for both builds (currently, this could be varied using <a href=\"https://tracker.debian.org/disorderfs\">disorderfs</a>)</td></tr>"
fi
else
- write_page "<tr><td>year, month, date</td><td>today ($DATE)</td><td>the 2nd build done with the build node set 1 year, 1 month and 5 days in the future</td></tr>"
- write_page "<tr><td>hour, minute</td><td>hour and minute will vary between two builds...</td><td>but this is not enforced systematically...)</td></tr>"
+ write_page "<tr><td>year, month, date</td><td>today ($DATE)</td><td>the 2nd build done with the build node set 1 year, 1 month and 1 day in the future</td></tr>"
+ write_page "<tr><td>hour, minute</td><td>hour and minute will vary between two builds...</td><td>additionally the \"future build\" also runs 6h and 23min ahead.</td></tr>"
write_page "<tr><td>filesystem of the build directory</td><td>ufs</td><td>same for both builds</td></tr>"
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 "============================================================================="