diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-04 17:06:05 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-05 11:07:25 +0100 |
commit | 1285f78ce861a92dbb99f476b49499574259e615 (patch) | |
tree | 7158a1c6d29be4ef9a6bba68a5d4f098aa947f3c /meta/lib/oeqa/selftest/cases/fetch.py | |
parent | 3a89e9a056a946c03083d3cb8e5870ed67b1b99c (diff) | |
download | poky-1285f78ce861a92dbb99f476b49499574259e615.tar.gz |
recipes: Default to https git protocol where possible
The recommendation from server maintainers is that the https protocol
is both faster and more reliable than the dedicated git protocol at this point.
Switch to it where possible.
(From OE-Core rev: 139102a73d4151f4748b4a861bd4ab28dda7dab7)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases/fetch.py')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/fetch.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oeqa/selftest/cases/fetch.py b/meta/lib/oeqa/selftest/cases/fetch.py index 3d01cf69f2..c9107022c8 100644 --- a/meta/lib/oeqa/selftest/cases/fetch.py +++ b/meta/lib/oeqa/selftest/cases/fetch.py | |||
@@ -36,6 +36,7 @@ PREMIRRORS:forcevariable = "" | |||
36 | # No mirrors and broken git, should fail | 36 | # No mirrors and broken git, should fail |
37 | features = """ | 37 | features = """ |
38 | DL_DIR = "%s" | 38 | DL_DIR = "%s" |
39 | SRC_URI:pn-dbus-wait = "git://git.yoctoproject.org/dbus-wait;branch=master;protocol=git" | ||
39 | GIT_PROXY_COMMAND = "false" | 40 | GIT_PROXY_COMMAND = "false" |
40 | MIRRORS:forcevariable = "" | 41 | MIRRORS:forcevariable = "" |
41 | PREMIRRORS:forcevariable = "" | 42 | PREMIRRORS:forcevariable = "" |
@@ -48,6 +49,7 @@ PREMIRRORS:forcevariable = "" | |||
48 | # Broken git but a specific mirror | 49 | # Broken git but a specific mirror |
49 | features = """ | 50 | features = """ |
50 | DL_DIR = "%s" | 51 | DL_DIR = "%s" |
52 | SRC_URI:pn-dbus-wait = "git://git.yoctoproject.org/dbus-wait;branch=master;protocol=git" | ||
51 | GIT_PROXY_COMMAND = "false" | 53 | GIT_PROXY_COMMAND = "false" |
52 | MIRRORS:forcevariable = "git://.*/.* http://downloads.yoctoproject.org/mirror/sources/" | 54 | MIRRORS:forcevariable = "git://.*/.* http://downloads.yoctoproject.org/mirror/sources/" |
53 | """ % dldir | 55 | """ % dldir |