summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-16 22:07:04 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-16 22:07:04 +0200
commitc7f056bd24491b2bcdc04e8f1e9e2ab468cd5243 (patch)
treebed8c25c6c8c81cd9633d86142afea13d0c5cb4f /bin
parent488e08ed1d8e2eadb010a70871a6396427b09656 (diff)
downloadjenkins.debian.net-c7f056bd24491b2bcdc04e8f1e9e2ab468cd5243.tar.xz
reproducible: fixup schroot session usage
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build_arch_pkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_arch_pkg.sh b/bin/reproducible_build_arch_pkg.sh
index 9422dc62..74fd6897 100755
--- a/bin/reproducible_build_arch_pkg.sh
+++ b/bin/reproducible_build_arch_pkg.sh
@@ -66,8 +66,8 @@ second_build() {
local SESSION="arch-$SRCPACKAGE-$(basename $TMPDIR)"
local BUILDDIR="/tmp/$SRCPACKAGE-$(basename $TMPDIR)"
NEW_NUM_CPU=$(echo $NUM_CPU-1|bc)
- echo "MAKEFLAGS=-j$NEW_NUM_CPU" | schroot --run-session -c $SESSION --directory /tmp -u root -- tee -a /etc/makepkg.conf
schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-arch
+ echo "MAKEFLAGS=-j$NEW_NUM_CPU" | schroot --run-session -c $SESSION --directory /tmp -u root -- tee -a /etc/makepkg.conf
schroot --run-session -c $SESSION --directory /tmp -- mkdir $BUILDDIR
schroot --run-session -c $SESSION --directory /tmp -- cp -r /var/abs/core/$SRCPACKAGE $BUILDDIR/
schroot --run-session -c $SESSION --directory $BUILDDIR/$SRCPACKAGE -- makepkg --skippgpcheck