summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-09 14:31:18 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-09 14:31:18 +0200
commit7d5a7be85a48651583bef11371079698e56482b2 (patch)
treec790b59d148bc3bf6d088f181d26c5ea549b4512
parent1469989157366024e03040bb0ca9a42e40346a06 (diff)
downloadjenkins.debian.net-7d5a7be85a48651583bef11371079698e56482b2.tar.xz
reproducible: s#ARCH#MACHINE# to use NetBSD's terms
-rwxr-xr-xbin/reproducible_netbsd.sh18
1 files changed, 9 insertions, 9 deletions
diff --git a/bin/reproducible_netbsd.sh b/bin/reproducible_netbsd.sh
index bd6381f7..6532f02a 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