Skip to content
Snippets Groups Projects
Commit f0497b83 authored by Ed Maste's avatar Ed Maste Committed by Holger Levsen
Browse files

reproducible FreeBSD: Clean object dir before build


We want to avoid issues caused by old artifacts left by earlier builds.

Signed-off-by: default avatarEd Maste <emaste@FreeBSD.org>
Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent 80b5aac6
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,7 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do
RSSH="ssh -o Batchmode=yes freebsd-jenkins.debian.net"
RSCP="scp -r freebsd-jenkins.debian.net"
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
$RSSH 'sudo rm -rf /usr/src /usr/obj/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'
$RSSH 'sudo service ntpd status ; date -u'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment