From 7382ad3b56294061ef2dca99cf79faf3667c5478 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 8 Apr 2026 07:28:41 +0100 Subject: [PATCH] bitbake: tests/fetch: Avoid using git protocol in tests A test was still using git protocol to access git services. For the submodule test, the upstream repo has been updated. (Bitbake rev: 7fd0197fd5fedd23cc885b5e7e816d86a392fdf9) Signed-off-by: Richard Purdie (cherry picked from commit 5d722b5d65e4eef7befe6376983385421e993f86) [YC: Backport: only kept the part that applied] Signed-off-by: Yoann Congal Signed-off-by: Paul Barker --- bitbake/lib/bb/tests/fetch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/bb/tests/fetch.py b/bitbake/lib/bb/tests/fetch.py index e46278dcb8..b3890ef417 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py @@ -1053,7 +1053,7 @@ class FetcherNetworkTest(FetcherTest): # URL with ssh submodules url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=ssh-gitsm-tests;rev=049da4a6cb198d7c0302e9e8b243a1443cb809a7;branch=master" # Original URL (comment this if you have ssh access to git.yoctoproject.org) - url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;rev=a2885dd7d25380d23627e7544b7bbb55014b16ee;branch=master" + url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;rev=38e61644af90dccd73c03ed3acaed98c8dda9294;branch=master;protocol=https" fetcher = bb.fetch.Fetch([url], self.d) fetcher.download() # Previous cwd has been deleted