[Git][qa/jenkins.debian.net][master] reproducible FreeBSD: Clean object dir before build

Holger Levsen (@holger) gitlab at salsa.debian.org
Tue Jan 28 17:27:47 GMT 2025



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
f0497b83 by Ed Maste at 2025-01-28T18:27:38+01:00
reproducible FreeBSD: Clean object dir before build

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

Signed-off-by: Ed Maste <emaste at FreeBSD.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_freebsd.sh


Changes:

=====================================
bin/reproducible_freebsd.sh
=====================================
@@ -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'



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f0497b83ac83127c9ee18547d45807eb0a28bc02

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f0497b83ac83127c9ee18547d45807eb0a28bc02
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20250128/9ecc2885/attachment.htm>


More information about the Qa-jenkins-scm mailing list