Created
September 8, 2015 20:13
-
-
Save kraj/4ef11aa4cc484c70f689 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass | |
index ef90fc8..1af6d1e 100644 | |
--- a/meta/classes/sanity.bbclass | |
+++ b/meta/classes/sanity.bbclass | |
@@ -3,7 +3,7 @@ | |
# | |
SANITY_REQUIRED_UTILITIES ?= "patch diffstat makeinfo git bzip2 tar \ | |
- gzip gawk chrpath wget cpio perl" | |
+ gzip gawk chrpath curl cpio perl" | |
def bblayers_conf_file(d): | |
return os.path.join(d.getVar('TOPDIR', True), 'conf/bblayers.conf') | |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf | |
index 21f1698..df6d721 100644 | |
--- a/meta/conf/bitbake.conf | |
+++ b/meta/conf/bitbake.conf | |
@@ -587,7 +587,8 @@ CPAN_MIRROR = "http://search.cpan.org/CPAN" | |
FETCHCMD_svn = "/usr/bin/env svn --non-interactive --trust-server-cert" | |
FETCHCMD_cvs = "/usr/bin/env cvs" | |
-FETCHCMD_wget = "/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate" | |
+#FETCHCMD_wget = "/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate" | |
+FETCHCMD_wget = "/usr/bin/env curl -LOs --location-trusted --retry 4 --connect-timeout 30 --ftp-pasv --insecure" | |
FETCHCMD_bzr = "/usr/bin/env bzr" | |
FETCHCMD_hg = "/usr/bin/env hg" | |
This is not enough. One needs to fix wget.py fetcher in bitabke as well |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment