diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-29 13:20:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-30 18:56:47 +0100 |
commit | ddcf16d1f792153f7f7fec4b1dcbc11855b64208 (patch) | |
tree | 31bc0771b9bcdb6cd31c8a06ff1fb77fa4f7eaf3 /meta/lib/oeqa/selftest/cases | |
parent | b777781ebf88f049c37a04154e86ed0940d11d95 (diff) | |
download | poky-ddcf16d1f792153f7f7fec4b1dcbc11855b64208.tar.gz |
meta: Add explict branch to git SRC_URIs
There is uncertainty about the default branch name in git going forward.
To try and cover the different possible outcomes, add branch names to all
git:// and gitsm:// SRC_URI entries.
This update was made with the script added to contrib in this patch which
aims to help others convert other layers.
(From OE-Core rev: b51c405faf6f8c0365f7533bfaf470d79152a463)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/selftest/cases')
-rw-r--r-- | meta/lib/oeqa/selftest/cases/fetch.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/fetch.py b/meta/lib/oeqa/selftest/cases/fetch.py index 9aa91e59c1..be14272e63 100644 --- a/meta/lib/oeqa/selftest/cases/fetch.py +++ b/meta/lib/oeqa/selftest/cases/fetch.py | |||
@@ -99,7 +99,7 @@ class Dependencies(OESelftestTestCase): | |||
99 | 99 | ||
100 | r = """ | 100 | r = """ |
101 | LICENSE="CLOSED" | 101 | LICENSE="CLOSED" |
102 | SRC_URI="git://example.com/repo" | 102 | SRC_URI="git://example.com/repo;branch=master" |
103 | """ | 103 | """ |
104 | f = self.write_recipe(textwrap.dedent(r), tempdir) | 104 | f = self.write_recipe(textwrap.dedent(r), tempdir) |
105 | d = tinfoil.parse_recipe_file(f) | 105 | d = tinfoil.parse_recipe_file(f) |