summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/git.py4
-rw-r--r--meta/lib/oeqa/selftest/cases/runtime_test.py2
2 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 7adf2c4de3..b573b11d0d 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -142,6 +142,10 @@ class Git(FetchMethod):
142 ud.proto = 'file' 142 ud.proto = 'file'
143 else: 143 else:
144 ud.proto = "git" 144 ud.proto = "git"
145 if ud.host == "github.com" and ud.proto == "git":
146 # github stopped supporting git protocol
147 # https://github.blog/2021-09-01-improving-git-protocol-security-github/#no-more-unauthenticated-git
148 ud.proto = "https"
145 149
146 if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'): 150 if not ud.proto in ('git', 'file', 'ssh', 'http', 'https', 'rsync'):
147 raise bb.fetch2.ParameterError("Invalid protocol type", ud.url) 151 raise bb.fetch2.ParameterError("Invalid protocol type", ud.url)
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index d817b755fe..5149583bd4 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -168,7 +168,7 @@ class TestImage(OESelftestTestCase):
168 # remove the oeqa-feed-sign temporal directory 168 # remove the oeqa-feed-sign temporal directory
169 shutil.rmtree(self.gpg_home, ignore_errors=True) 169 shutil.rmtree(self.gpg_home, ignore_errors=True)
170 170
171 def test_testimage_virgl_gtk(self): 171 def disabled_test_testimage_virgl_gtk(self):
172 """ 172 """
173 Summary: Check host-assisted accelerate OpenGL functionality in qemu with gtk frontend 173 Summary: Check host-assisted accelerate OpenGL functionality in qemu with gtk frontend
174 Expected: 1. Check that virgl kernel driver is loaded and 3d acceleration is enabled 174 Expected: 1. Check that virgl kernel driver is loaded and 3d acceleration is enabled