summaryrefslogtreecommitdiffstats
path: root/meta/classes/mirrors.bbclass
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-07-25 17:18:36 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-29 11:57:29 +0100
commit85c41bfcf2c62e8b394a7f3d9efdf50af77ff960 (patch)
tree8731ace1aa465d8c613ceb7b2ad50f9880732f26 /meta/classes/mirrors.bbclass
parent6da29836921f44ae3e19799f6b18d5fd59105f68 (diff)
downloadpoky-85c41bfcf2c62e8b394a7f3d9efdf50af77ff960.tar.gz
mirrors.bbclass: provide git repo fallbacks using the https protocol
Use MIRRORS to provide git repo fallbacks using the https protocol, for cases where git native protocol fetches may fail due to local firewall rules, etc. These rules should cover all git native repos used by recipes within oe-core, with the exception of mtd-utils, for which there's currently no upstream alternative to the git native protocol for anonymous access ( see http://git.infradead.org/mtd-utils.git ). (From OE-Core rev: fe71cf3ded7109e0fa1812475479941c89873e4e) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit abb8895d5b42a5dc171360a261a2652acd14ee7e) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/mirrors.bbclass')
-rw-r--r--meta/classes/mirrors.bbclass11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index b7c20b6cf5..d5812d8b3f 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -68,3 +68,14 @@ npm://.*/.* http://sources.openembedded.org/ \n \
68${CPAN_MIRROR} http://cpan.metacpan.org/ \n \ 68${CPAN_MIRROR} http://cpan.metacpan.org/ \n \
69${CPAN_MIRROR} http://search.cpan.org/CPAN/ \n \ 69${CPAN_MIRROR} http://search.cpan.org/CPAN/ \n \
70" 70"
71
72# Use MIRRORS to provide git repo fallbacks using the https protocol, for cases
73# where git native protocol fetches may fail due to local firewall rules, etc.
74
75MIRRORS += "\
76git://anonscm.debian.org/.* git://anonscm.debian.org/git/PATH;protocol=https \n \
77git://git.gnome.org/.* git://git.gnome.org/browse/PATH;protocol=https \n \
78git://git.savannah.gnu.org/.* git://git.savannah.gnu.org/git/PATH;protocol=https \n \
79git://git.yoctoproject.org/.* git://git.yoctoproject.org/git/PATH;protocol=https \n \
80git://.*/.* git://HOST/PATH;protocol=https \n \
81"