Commit bed37f55 authored by Holger Levsen's avatar Holger Levsen

reproducible Archlinux: printenv before the builds to debug different pathes issue

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent cb1acb99
......@@ -156,6 +156,8 @@ first_build() {
fi
VERSION="$epoch$pkgver-$pkgrel"
echo $VERSION > $TMPDIR/b1/$SRCPACKAGE/build1.version
# show env variables
schroot --run-session -c $SESSION --directory "$BUILDDIR/$ACTUAL_SRCPACKAGE/trunk" -- bash -l -c "$MAKEPKG_ENV_VARS printenv 2>&1" | tee -a $LOG
# nicely run makepkg with a timeout of $TIMEOUT hours
timeout -k $TIMEOUT.1h ${TIMEOUT}h /usr/bin/ionice -c 3 /usr/bin/nice \
schroot --run-session -c $SESSION --directory "$BUILDDIR/$ACTUAL_SRCPACKAGE/trunk" -- bash -l -c "$MAKEPKG_ENV_VARS makepkg $MAKEPKG_OPTIONS 2>&1" | tee -a $LOG
......@@ -244,6 +246,8 @@ second_build() {
fi
VERSION="$epoch$pkgver-$pkgrel"
echo $VERSION > $TMPDIR/b2/$SRCPACKAGE/build2.version
# show env variables
schroot --run-session -c $SESSION --directory "$BUILDDIR/$ACTUAL_SRCPACKAGE/trunk" -u root -- su -c "bash -l -c '$MAKEPKG_ENV_VARS printenv 2>&1'" build2 | tee -a $LOG
# nicely run makepkg with a timeout of $TIMEOUT hours
timeout -k $TIMEOUT.1h ${TIMEOUT}h /usr/bin/ionice -c 3 /usr/bin/nice \
schroot --run-session -c $SESSION --directory "$BUILDDIR/$ACTUAL_SRCPACKAGE/trunk" -u root -- su -c "bash -l -c '$MAKEPKG_ENV_VARS makepkg $MAKEPKG_OPTIONS 2>&1'" build2 | tee -a $LOG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment