[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible alpine: fix aports clone path
Holger Levsen
gitlab at salsa.debian.org
Fri Jun 7 15:39:16 BST 2019
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
bd5f547a by kpcyrd at 2019-06-07T14:39:08Z
reproducible alpine: fix aports clone path
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_build_alpine_pkg.sh
Changes:
=====================================
bin/reproducible_build_alpine_pkg.sh
=====================================
@@ -132,7 +132,7 @@ first_build() {
schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-alpine
#schroot --run-session -c $SESSION --directory /tmp -u root -- ln -sfT dash /usr/bin/sh
echo "MAKEFLAGS=-j$NUM_CPU" | schroot --run-session -c $SESSION --directory /tmp -u root -- tee -a /etc/abuild.conf
- schroot --run-session -c $SESSION --directory /tmp -- cp -vr "/aports/$REPOSITORY/$SRCPACKAGE" "$BUILDDIR"
+ schroot --run-session -c $SESSION --directory /tmp -- cp -vr "/var/lib/jenkins/aports/$REPOSITORY/$SRCPACKAGE" "$BUILDDIR"
# modify timezone, LANG, LC_ALL in the 1st build.
schroot --run-session -c $SESSION --directory /tmp -- tee -a /var/lib/jenkins/.bashrc <<-__END__
export TZ="/usr/share/zoneinfo/Etc/GMT+12"
@@ -203,7 +203,7 @@ second_build() {
echo "============================================================================="
schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-alpine
echo "MAKEFLAGS=-j$NEW_NUM_CPU" | schroot --run-session -c $SESSION --directory /tmp -u root -- tee -a /etc/abuild.conf
- schroot --run-session -c $SESSION --directory /tmp -- cp -vr "/aports/$REPOSITORY/$SRCPACKAGE" "$BUILDDIR"
+ schroot --run-session -c $SESSION --directory /tmp -- cp -vr "/var/lib/jenkins/aports/$REPOSITORY/$SRCPACKAGE" "$BUILDDIR"
# add more variations in the 2nd build: TZ (differently), LANG, LC_ALL, umask
schroot --run-session -c $SESSION --directory /tmp -- tee -a /var/lib/jenkins/.bashrc <<-__END__
export TZ="/usr/share/zoneinfo/Etc/GMT-14"
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/bd5f547acf45658b8015b5e9c9c9c09b80fde705
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/bd5f547acf45658b8015b5e9c9c9c09b80fde705
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20190607/3853f2f4/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list