diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-10-16 22:07:04 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-10-16 22:07:04 +0200 |
commit | c7f056bd24491b2bcdc04e8f1e9e2ab468cd5243 (patch) | |
tree | bed8c25c6c8c81cd9633d86142afea13d0c5cb4f /bin | |
parent | 488e08ed1d8e2eadb010a70871a6396427b09656 (diff) | |
download | jenkins.debian.net-c7f056bd24491b2bcdc04e8f1e9e2ab468cd5243.tar.xz |
reproducible: fixup schroot session usage
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_build_arch_pkg.sh | 2 |
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 |