summaryrefslogtreecommitdiffstats
path: root/meta/recipes-example
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-29 13:20:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-15 11:56:17 +0000
commit5258dd0cd082d3ca1663358e609256e592d1695a (patch)
tree90e78edab9bc4f09e8b2254161b44381afacc5f7 /meta/recipes-example
parentaaa0c06d8562aeea80bbff01c76d4a832b57e17f (diff)
downloadpoky-5258dd0cd082d3ca1663358e609256e592d1695a.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: 37b4f66fa23979cbfe82679a74ce21b11fc61557) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b51c405faf6f8c0365f7533bfaf470d79152a463) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-example')
-rw-r--r--meta/recipes-example/rust-hello-world/rust-hello-world_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb b/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb
index 3ebd9cc661..1d91109b51 100644
--- a/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb
+++ b/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb
@@ -1,6 +1,6 @@
1inherit cargo 1inherit cargo
2 2
3SRC_URI = "git://github.com/meta-rust/rust-hello-world.git;protocol=https" 3SRC_URI = "git://github.com/meta-rust/rust-hello-world.git;protocol=https;branch=master"
4SRCREV="e0fa23f1a3cb1eb1407165bd2fc36d2f6e6ad728" 4SRCREV="e0fa23f1a3cb1eb1407165bd2fc36d2f6e6ad728"
5LIC_FILES_CHKSUM="file://COPYRIGHT;md5=e6b2207ac3740d2d01141c49208c2147" 5LIC_FILES_CHKSUM="file://COPYRIGHT;md5=e6b2207ac3740d2d01141c49208c2147"
6 6