[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible: s#ARCH#MACHINE# to use NetBSD's terms
Holger Levsen
holger at moszumanska.debian.org
Thu Jul 9 12:31:44 UTC 2015
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 7d5a7be85a48651583bef11371079698e56482b2
Author: Holger Levsen <holger at layer-acht.org>
Date: Thu Jul 9 14:31:18 2015 +0200
reproducible: s#ARCH#MACHINE# to use NetBSD's terms
---
bin/reproducible_netbsd.sh | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh
index bd6381f..6532f02 100755
--- a/bin/reproducible_netbsd.sh
+++ b/bin/reproducible_netbsd.sh
@@ -14,7 +14,7 @@ common_init "$@"
set -e
# build for these architectures
-ARCHS="amiga"
+MACHINES="amiga"
cleanup_tmpdirs() {
cd
@@ -28,11 +28,11 @@ create_results_dirs() {
save_netbsd_results(){
local RUN=$1
- local ARCH
+ local MACHINE
cd obj/releasedir/
- for ARCH in $ARCHS ; do
- mkdir -p $TMPDIR/$RUN/${ARCH}
- cp -pr ${ARCH} $TMPDIR/$RUN/
+ for MACHINE in $MACHINES ; do
+ mkdir -p $TMPDIR/$RUN/${MACHINE}
+ cp -pr ${MACHINE} $TMPDIR/$RUN/
done
cd ../..
}
@@ -70,9 +70,9 @@ echo "$(date -u) - Building netbsd ${NETBSD_VERSION} - first build run."
echo "============================================================================="
export TZ="/usr/share/zoneinfo/Etc/GMT+12"
# actually build everything
-for ARCH in $ARCHS ; do
+for MACHINE in $MACHINES ; do
ionice -c 3 nice \
- ./build.sh -j $NUM_CPU -U -u -m ${ARCH} release
+ ./build.sh -j $NUM_CPU -U -u -m ${MACHINE} release
done
# save results in b1
save_netbsd_results b1
@@ -95,10 +95,10 @@ export CAPTURE_ENVIRONMENT="I capture the environment"
umask 0002
# use allmost all cores for second build
NEW_NUM_CPU=$(echo $NUM_CPU-1|bc)
-for ARCH in $ARCHS ; do
+for MACHINE in $MACHINES ; do
ionice -c 3 nice \
linux64 --uname-2.6 \
- ./build.sh -j $NEW_NUM_CPU -U -u -m ${ARCH} release
+ ./build.sh -j $NEW_NUM_CPU -U -u -m ${MACHINE} release
done
# reset environment to default values again
--
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