diff options
author | James McCoy <jamessan@debian.org> | 2015-06-06 19:30:28 -0400 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-06-07 08:32:51 +0200 |
commit | ccd3bce4b049bdf3550bd1ec6111f034eb61e4ed (patch) | |
tree | c10f8e0a55e3a2819b5da1c48bd2fa483caaf4f9 /bin | |
parent | 88a7df57f6f66990b17b2a2dc48f1ccca3f45331 (diff) | |
download | jenkins.debian.net-ccd3bce4b049bdf3550bd1ec6111f034eb61e4ed.tar.xz |
reproducible coreboot: Use ca-global certs for https verification
Signed-off-by: James McCoy <jamessan@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_coreboot.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index 1243b2aa..c272925e 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) |