[Qa-jenkins-scm] [jenkins.debian.net] 01/03: reproducible: it seems to be easier to run 400 days in the past...

Holger Levsen holger at moszumanska.debian.org
Mon Sep 7 00:04:34 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 9d5c00e860ef042592cc81ac78c570d186cfea91
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Sep 7 01:49:29 2015 +0200

    reproducible: it seems to be easier to run 400 days in the past...
---
 hosts/bpi0-armhf-rb/etc/rc.local             | 4 ++--
 hosts/hb0-armhf-rb/etc/rc.local              | 4 ++--
 hosts/profitbricks-build2-amd64/etc/rc.local | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/hosts/bpi0-armhf-rb/etc/rc.local b/hosts/bpi0-armhf-rb/etc/rc.local
index d98b291..f11b6b5 100755
--- a/hosts/bpi0-armhf-rb/etc/rc.local
+++ b/hosts/bpi0-armhf-rb/etc/rc.local
@@ -17,7 +17,7 @@ systemctl stop systemd-timesyncd
 systemctl stop systemd-timedated
 ntpdate -b us.pool.ntp.org
 echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
-date --set="+400 days"
-echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
+date --set="-400 days"
+echo "$(date) - system is running in the past now" | mail -s "$(hostname -f) in the past" root
 
 exit 0
diff --git a/hosts/hb0-armhf-rb/etc/rc.local b/hosts/hb0-armhf-rb/etc/rc.local
index d98b291..f11b6b5 100755
--- a/hosts/hb0-armhf-rb/etc/rc.local
+++ b/hosts/hb0-armhf-rb/etc/rc.local
@@ -17,7 +17,7 @@ systemctl stop systemd-timesyncd
 systemctl stop systemd-timedated
 ntpdate -b us.pool.ntp.org
 echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
-date --set="+400 days"
-echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
+date --set="-400 days"
+echo "$(date) - system is running in the past now" | mail -s "$(hostname -f) in the past" root
 
 exit 0
diff --git a/hosts/profitbricks-build2-amd64/etc/rc.local b/hosts/profitbricks-build2-amd64/etc/rc.local
index 7940adf..9f9cb35 100755
--- a/hosts/profitbricks-build2-amd64/etc/rc.local
+++ b/hosts/profitbricks-build2-amd64/etc/rc.local
@@ -17,7 +17,7 @@ systemctl stop systemd-timesyncd
 systemctl stop systemd-timedated
 ntpdate -b de.pool.ntp.org
 echo "$(date) - system was rebooted" | mail -s "$(hostname -f) rebooted" root
-date --set="+400 days"
-echo "$(date) - system is running in the future now" | mail -s "$(hostname -f) in the future" root
+date --set="-400 days"
+echo "$(date) - system is running in the past now" | mail -s "$(hostname -f) in the past" root
 
 exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list