From 133c97cf0381e35f226e92105b0a02abe39f3424 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 7 Sep 2026 11:09:29 +0100 Subject: [PATCH] bitbake: tests/fetch: Swap github grpc repo for our own small test repo The grpc repo is 1GB in size and makes a poor choice of test repo. With github rate limiting, it is proving probematic. Swap if for our own gitsm test repo which is smaller but can serve the purposes of the test. (Bitbake rev: 24b0e0bf27183cfb5ca61984c4d8f4b02242b9f6) Signed-off-by: Richard Purdie (cherry picked from commit a64b3157d74f883002318cc46c70bfa1c3609110) 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 a658b89a8b..3ed98593da 100644 --- a/bitbake/lib/bb/tests/fetch.py +++ b/bitbake/lib/bb/tests/fetch.py @@ -1193,7 +1193,7 @@ class FetcherNetworkTest(FetcherTest): def test_git_submodule_restricted_network_premirrors(self): # this test is to ensure that premirrors will be tried in restricted network # that is, BB_ALLOWED_NETWORKS does not contain the domain the url uses - url = "gitsm://github.com/grpc/grpc.git;protocol=https;name=grpc;branch=v1.60.x;rev=0ef13a7555dbaadd4633399242524129eef5e231" + url = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master;rev=38e61644af90dccd73c03ed3acaed98c8dda9294;branch=master;protocol=https" # create a download directory to be used as premirror later tempdir = tempfile.mkdtemp(prefix="bitbake-fetch-") dl_premirror = os.path.join(tempdir, "download-premirror")