summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_build_arch_pkg.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-16 19:53:49 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-16 19:53:49 +0200
commit188d69e869ab422e956e1e5f1dabcf7b34d21dbe (patch)
tree5f289df6312d166544b2a3201e91bf918b26dc58 /bin/reproducible_build_arch_pkg.sh
parent20ab7c3aec153ce758686c9c67db86c46b449670 (diff)
downloadjenkins.debian.net-188d69e869ab422e956e1e5f1dabcf7b34d21dbe.tar.xz
reproducible arch: scheduler needs to be run on the arch build node...
Diffstat (limited to 'bin/reproducible_build_arch_pkg.sh')
-rwxr-xr-xbin/reproducible_build_arch_pkg.sh36
1 files changed, 18 insertions, 18 deletions
diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index 51cd6e3d..67241e5f 100755
--- a/bin/reproducible_build_arch_pkg.sh
+++ b/bin/reproducible_build_arch_pkg.sh
@@ -155,25 +155,25 @@ fi
# main - only used in master-mode
#
# first, we need to choose a package…
-SESSION="arch-scheduler-$RANDOM"
-schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-arch
-PACKAGES="$(schroot --run-session -c $SESSION --directory /var/abs/core -- ls -1|sort -R|xargs echo)"
-schroot --end-session -c $SESSION
-SRCPACKAGE=""
-for PKG in $PACKAGES ; do
- if [ ! -f $BASE/archlinux/$PKG.html ] ; then
- SRCPACKAGE=$PKG
- echo "Would build $PKG now but let's continue testing with sudo…"
+#SESSION="arch-scheduler-$RANDOM"
+#schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-arch
+#PACKAGES="$(schroot --run-session -c $SESSION --directory /var/abs/core -- ls -1|sort -R|xargs echo)"
+#schroot --end-session -c $SESSION
+#SRCPACKAGE=""
+#for PKG in $PACKAGES ; do
+# if [ ! -f $BASE/archlinux/$PKG.html ] ; then
+# SRCPACKAGE=$PKG
+# echo "Would build $PKG now but let's continue testing with sudo…"
SRCPACKAGE="sudo"
- break
- fi
-done
-if [ -z $SRCPACKAGE ] ; then
- echo "No package found to be build, sleeping 30m."
- sleep 30m
- exec /srv/jenkins/bin/abort.sh
- exit 0
-fi
+# break
+# fi
+#done
+#if [ -z $SRCPACKAGE ] ; then
+# echo "No package found to be build, sleeping 30m."
+# sleep 30m
+# exec /srv/jenkins/bin/abort.sh
+# exit 0
+#fi
# build package twice
build_rebuild
# run diffoscope on the results