diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-07-25 17:18:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-27 22:36:53 +0100 |
commit | ff736d8d613a492bb77dd88a49e6d686ce6c07aa (patch) | |
tree | 3053d6dc6b0c226c6db33fceed88a0bd1480c969 | |
parent | b1bbc082bd61c47480b747d5ba3c49938be751a4 (diff) | |
download | poky-ff736d8d613a492bb77dd88a49e6d686ce6c07aa.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: abb8895d5b42a5dc171360a261a2652acd14ee7e)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/mirrors.bbclass | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass index 9b72473475..b98684f5c6 100644 --- a/meta/classes/mirrors.bbclass +++ b/meta/classes/mirrors.bbclass | |||
@@ -62,3 +62,14 @@ npm://.*/.* http://sources.openembedded.org/ \n \ | |||
62 | ${CPAN_MIRROR} http://cpan.metacpan.org/ \n \ | 62 | ${CPAN_MIRROR} http://cpan.metacpan.org/ \n \ |
63 | ${CPAN_MIRROR} http://search.cpan.org/CPAN/ \n \ | 63 | ${CPAN_MIRROR} http://search.cpan.org/CPAN/ \n \ |
64 | " | 64 | " |
65 | |||
66 | # Use MIRRORS to provide git repo fallbacks using the https protocol, for cases | ||
67 | # where git native protocol fetches may fail due to local firewall rules, etc. | ||
68 | |||
69 | MIRRORS += "\ | ||
70 | git://anonscm.debian.org/.* git://anonscm.debian.org/git/PATH;protocol=https \n \ | ||
71 | git://git.gnome.org/.* git://git.gnome.org/browse/PATH;protocol=https \n \ | ||
72 | git://git.savannah.gnu.org/.* git://git.savannah.gnu.org/git/PATH;protocol=https \n \ | ||
73 | git://git.yoctoproject.org/.* git://git.yoctoproject.org/git/PATH;protocol=https \n \ | ||
74 | git://.*/.* git://HOST/PATH;protocol=https \n \ | ||
75 | " | ||