* [gentoo-commits] repo/proj/prefix:master commit in: scripts/
@ 2017-11-29 9:45 99% Benda XU
0 siblings, 0 replies; 1+ results
From: Benda XU @ 2017-11-29 9:45 UTC (permalink / raw
To: gentoo-commits
commit: 0cd156717887780716319f191f44a64681c325d8
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 28 02:18:59 2017 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Nov 29 09:45:43 2017 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=0cd15671
bootstrap-prefix.sh: wget no-check-certificate before stage1 portage
The host certificates could be outdated and does not contain Let's
encrypt used by gentoo.
scripts/bootstrap-prefix.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 510b23f924..bf35b32b81 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -45,6 +45,7 @@ efetch() {
# curl, FreeBSD's fetch and ftp.
if [[ x$(type -t wget) == "xfile" ]] ; then
FETCH_COMMAND="wget"
+ [[ $(wget -h) == *"--no-check-certificate"* ]] && FETCH_COMMAND+=" --no-check-certificate"
elif [[ x$(type -t curl) == "xfile" ]] ; then
einfo "WARNING: curl doesn't fail when downloading fails, please check its output carefully!"
FETCH_COMMAND="curl -f -L -O"
^ permalink raw reply related [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-11-29 9:45 99% [gentoo-commits] repo/proj/prefix:master commit in: scripts/ Benda XU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox