aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Wagenknecht <dwagenknecht@emlix.com>2021-09-02 08:31:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-03 09:03:36 +0100
commit0682697987873ab395360035b70630acfe66cd3a (patch)
treead57d89627ab8283a1f990ec22249a3034ee7cd8
parentb4364cc44ae47d3b41a4fd181c904ae97e213842 (diff)
downloadopenembedded-core-contrib-0682697987873ab395360035b70630acfe66cd3a.tar.gz
openembedded-core-contrib-0682697987873ab395360035b70630acfe66cd3a.tar.bz2
openembedded-core-contrib-0682697987873ab395360035b70630acfe66cd3a.zip
mirrors.bbclass: provide additional rule for git repo fallbacks
Git hosting servers that require a slightly different URL when accessing repositories via https protocol instead of the git native protocol are not uncommon (servers using cgit as web UI). Provide a general rule to try HOST/git/PATH via https as git repo fallback. Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/mirrors.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/mirrors.bbclass b/meta/classes/mirrors.bbclass
index 87bba41472..ab75ca1bb6 100644
--- a/meta/classes/mirrors.bbclass
+++ b/meta/classes/mirrors.bbclass
@@ -73,4 +73,5 @@ git://git.gnome.org/.* git://gitlab.gnome.org/GNOME/PATH;protocol=https \
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 \
+git://.*/.* git://HOST/git/PATH;protocol=https \n \
"