[Git][qa/jenkins.debian.net][master] reproducible Arch Linux: use --protocol https
Holger Levsen (@holger)
gitlab at salsa.debian.org
Mon Dec 4 18:21:53 GMT 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
42913dcd by Holger Levsen at 2023-12-04T19:21:37+01:00
reproducible Arch Linux: use --protocol https
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_build_archlinux_pkg.sh
Changes:
=====================================
bin/reproducible_build_archlinux_pkg.sh
=====================================
@@ -140,7 +140,7 @@ first_build() {
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/makepkg.conf
schroot --run-session -c $SESSION --directory /tmp -- mkdir -p $BUILDDIR
- schroot --run-session -c $SESSION --directory "$BUILDDIR" -- env GIT_SSL_NO_VERIFY=1 pkgctl repo clone "$SRCPACKAGE" 2>&1 | tee -a $LOG || echo "Error: failed to download PKGBUILD for $SRCPACKAGE from $REPOSITORY" | tee -a $LOG
+ schroot --run-session -c $SESSION --directory "$BUILDDIR" -- env GIT_SSL_NO_VERIFY=1 pkgctl repo clone --protocol https "$SRCPACKAGE" 2>&1 | tee -a $LOG || echo "Error: failed to download PKGBUILD for $SRCPACKAGE from $REPOSITORY" | tee -a $LOG
# $SRCPACKAGE is actually the binary package
ACTUAL_SRCPACKAGE=$(ls "$BUILDDIR")
# modify timezone, LANG, LC_ALL in the 1st build.
@@ -228,7 +228,7 @@ second_build() {
schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-archlinux
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 -p $BUILDDIR
- schroot --run-session -c $SESSION --directory "$BUILDDIR" -- env GIT_SSL_NO_VERIFY=1 pkgctl repo clone "$SRCPACKAGE" 2>&1 | tee -a $LOG || echo "Error: failed to download PKGBUILD for $SRCPACKAGE from $REPOSITORY" | tee -a $LOG
+ schroot --run-session -c $SESSION --directory "$BUILDDIR" -- env GIT_SSL_NO_VERIFY=1 pkgctl repo clone --protocol https "$SRCPACKAGE" 2>&1 | tee -a $LOG || echo "Error: failed to download PKGBUILD for $SRCPACKAGE from $REPOSITORY" | tee -a $LOG
# $SRCPACKAGE is actually the binary package
ACTUAL_SRCPACKAGE=$(ls "$BUILDDIR")
# add more variations in the 2nd build: TZ (differently), LANG, LC_ALL, umask
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/42913dcdbb3a0122b1399c93686d70f0d6c400b0
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/42913dcdbb3a0122b1399c93686d70f0d6c400b0
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/20231204/d3584a66/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list