When building the schroot, tell wget not to verify certificates.
It is not necessary, as we verify the SHA1 hash of the downloaded
content anyway. Moreover, it doesn't even help, as the only way
we end up at a https page is by getting redirected there from
a normal http query.

Signed-off-by: Klaus Aehlig <[email protected]>
---
 devel/build_chroot | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/build_chroot b/devel/build_chroot
index cace842..f2735fc 100755
--- a/devel/build_chroot
+++ b/devel/build_chroot
@@ -173,7 +173,7 @@ function lookup_sha1 {
 function download {
   local FNAME="$1"
   local URL="$2"
-  in_chroot -- wget --output-document="$FNAME" "$URL"
+  in_chroot -- wget --no-check-certificate --output-document="$FNAME" "$URL"
   verify_sha1 "$FNAME" "$( lookup_sha1 "$URL" )"
 }
 
-- 
2.2.0.rc0.207.ga3a616c

Reply via email to