From 848e4fc3a0f7f08339f9fc94b0e195faaaab2fb2 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 13 Nov 2017 11:59:08 -0500 Subject: Reproducible FreeBSD: give ntpd a moment to write its pid file Signed-off-by: Mattia Rizzolo --- bin/reproducible_freebsd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') -- cgit v1.2.3-54-g00ecf