mirror of
https://git.yoctoproject.org/poky
synced 2026-04-02 17:02:21 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
b1bbc082bd
commit
ff736d8d61
@@ -62,3 +62,14 @@ npm://.*/.* http://sources.openembedded.org/ \n \
|
||||
${CPAN_MIRROR} http://cpan.metacpan.org/ \n \
|
||||
${CPAN_MIRROR} http://search.cpan.org/CPAN/ \n \
|
||||
"
|
||||
|
||||
# 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.
|
||||
|
||||
MIRRORS += "\
|
||||
git://anonscm.debian.org/.* git://anonscm.debian.org/git/PATH;protocol=https \n \
|
||||
git://git.gnome.org/.* git://git.gnome.org/browse/PATH;protocol=https \n \
|
||||
git://git.savannah.gnu.org/.* git://git.savannah.gnu.org/git/PATH;protocol=https \n \
|
||||
git://git.yoctoproject.org/.* git://git.yoctoproject.org/git/PATH;protocol=https \n \
|
||||
git://.*/.* git://HOST/PATH;protocol=https \n \
|
||||
"
|
||||
|
||||
Reference in New Issue
Block a user