summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Maste <emaste@freebsd.org>2017-11-13 11:59:08 -0500
committerMattia Rizzolo <mattia@debian.org>2017-11-13 18:02:12 +0100
commit848e4fc3a0f7f08339f9fc94b0e195faaaab2fb2 (patch)
tree97fb47befc482df070fa0b05a4e62366a7163f26
parent4574000d67240cd434d0ccc8dbfda974468228ae (diff)
downloadjenkins.debian.net-848e4fc3a0f7f08339f9fc94b0e195faaaab2fb2.tar.xz
Reproducible FreeBSD: give ntpd a moment to write its pid file
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
-rwxr-xr-xbin/reproducible_freebsd.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh
index c984c5a1..f0ddfe1a 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -101,7 +101,8 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do
TMPBUILDDIR=/usr/src
$RSSH 'sudo rm -rf /usr/src ; sudo mkdir /usr/src ; sudo chown jenkins /usr/src' ### this is tmpfs on linux, we should move this to tmpfs on FreeBSD too
# Ensure we start with the correct time on the target
- $RSSH 'sudo service ntpd stop ; sudo ntpdate -b pool.ntp.org ; sudo service ntpd start ; sudo service ntpd status ; date -u'
+ $RSSH 'sudo service ntpd stop ; sudo ntpdate -b pool.ntp.org ; sudo service ntpd start'
+ $RSSH 'sudo service ntpd status ; date -u'
TMPDIR=$($RSSH 'TMPDIR=/srv/reproducible-results mktemp -d -t rbuild-freebsd') # used to compare results
DATE=$(date -u +'%Y-%m-%d')
START=$(date +'%s')