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-selftest | |
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-selftest')
3 files changed, 3 insertions, 3 deletions
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb b/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb index 07b83276fb..8a27e3a791 100644 --- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb +++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb | |||
@@ -11,7 +11,7 @@ SRCREV = "1a3e1343761b30750bed70e0fd688f6d3c7b3717" | |||
11 | PV = "0.1+git${SRCPV}" | 11 | PV = "0.1+git${SRCPV}" |
12 | PR = "r2" | 12 | PR = "r2" |
13 | 13 | ||
14 | SRC_URI = "git://git.yoctoproject.org/dbus-wait" | 14 | SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master" |
15 | UPSTREAM_CHECK_COMMITS = "1" | 15 | UPSTREAM_CHECK_COMMITS = "1" |
16 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" | 16 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" |
17 | 17 | ||
diff --git a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded b/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded index 32ec4b14fa..fbe90d6c6b 100644 --- a/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded +++ b/meta-selftest/recipes-test/devtool/devtool-upgrade-test2_git.bb.upgraded | |||
@@ -10,7 +10,7 @@ DEPENDS = "dbus" | |||
10 | SRCREV = "6cc6077a36fe2648a5f993fe7c16c9632f946517" | 10 | SRCREV = "6cc6077a36fe2648a5f993fe7c16c9632f946517" |
11 | PV = "0.1+git${SRCPV}" | 11 | PV = "0.1+git${SRCPV}" |
12 | 12 | ||
13 | SRC_URI = "git://git.yoctoproject.org/dbus-wait" | 13 | SRC_URI = "git://git.yoctoproject.org/dbus-wait;branch=master" |
14 | UPSTREAM_CHECK_COMMITS = "1" | 14 | UPSTREAM_CHECK_COMMITS = "1" |
15 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" | 15 | RECIPE_NO_UPDATE_REASON = "This recipe is used to test devtool upgrade feature" |
16 | 16 | ||
diff --git a/meta-selftest/recipes-test/git-submodule-test/git-submodule-test.bb b/meta-selftest/recipes-test/git-submodule-test/git-submodule-test.bb index 9429564df4..cc5d7eae5a 100644 --- a/meta-selftest/recipes-test/git-submodule-test/git-submodule-test.bb +++ b/meta-selftest/recipes-test/git-submodule-test/git-submodule-test.bb | |||
@@ -5,5 +5,5 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda | |||
5 | 5 | ||
6 | INHIBIT_DEFAULT_DEPS = "1" | 6 | INHIBIT_DEFAULT_DEPS = "1" |
7 | 7 | ||
8 | SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test" | 8 | SRC_URI = "gitsm://git.yoctoproject.org/git-submodule-test;branch=master" |
9 | SRCREV = "a2885dd7d25380d23627e7544b7bbb55014b16ee" | 9 | SRCREV = "a2885dd7d25380d23627e7544b7bbb55014b16ee" |