[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible coreboot: Use ca-global certs for https verification
Holger Levsen
holger at moszumanska.debian.org
Sun Jun 7 12:13:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 0a3367a9db34bcc900f65df94b4f6c1fd4695f26
Author: James McCoy <jamessan at debian.org>
Date: Sun Jun 7 07:55:03 2015 -0400
reproducible coreboot: Use ca-global certs for https verification
Fix quoting issue which prevented git from finding the certificate
bundle.
Signed-off-by: James McCoy <jamessan at debian.org>
---
bin/reproducible_coreboot.sh | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index a5280bd..d33d7a1 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -90,10 +90,13 @@ mkdir b1 b2
echo "============================================================================="
echo "$(date -u) - Cloning the coreboot git repository with submodules now."
echo "============================================================================="
-git clone --recursive http://review.coreboot.org/p/coreboot.git
+CAFILE=/etc/ssl/ca-global/ca-certificates.crt
+CACONFIG=
+[ -f "$CAFILE" ] && CACONFIG="GIT_SSL_CAINFO=$CAFILE"
+env $CACONFIG git clone --recursive https://review.coreboot.org/p/coreboot.git
cd coreboot
# still required because coreboot moved submodules and to take care of old git versions
-git submodule update --init --checkout 3rdparty/blobs
+env $CACONFIG git submodule update --init --checkout 3rdparty/blobs
COREBOOT="$(git log -1)"
COREBOOT_VERSION=$(git describe)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list