[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible FreeBSD: invoke sysctl on the FreeBSD VM

Holger Levsen holger at layer-acht.org
Thu Dec 22 12:59:32 UTC 2016


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 7e77410f4783ae07d7a81afb92c39135c547d612
Author: Ed Maste <emaste at freebsd.org>
Date:   Thu Dec 22 07:56:12 2016 -0500

    reproducible FreeBSD: invoke sysctl on the FreeBSD VM
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_freebsd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh
index 0f1b0b6..95100b9 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -124,7 +124,7 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do
 	echo "============================================================================="
 	export TZ="/usr/share/zoneinfo/Etc/GMT+12"
 	export LANG="en_GB.UTF-8"
-	NUM_CPU=$(sysctl -n hw.ncpu)
+	NUM_CPU=$($RSSH sysctl -n hw.ncpu)
 	# actually build everything
 	if ( $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG sudo make -j $NUM_CPU buildworld" && \
 	  $RSSH "cd $TMPBUILDDIR ; TZ=$TZ LANG=$LANG sudo make -j $NUM_CPU buildkernel" && \

-- 
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