aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-example/rust-hello-world/rust-hello-world_git.bb
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-10-30 18:55:54 +0100
commitb51c405faf6f8c0365f7533bfaf470d79152a463 (patch)
treefb2f70a75a326c28faad21f9ed62be8ce697b285 /meta/recipes-example/rust-hello-world/rust-hello-world_git.bb
parentb52bfac18a6b0f9216cd14da60e6fffb3e5669f1 (diff)
downloadopenembedded-core-b51c405faf6f8c0365f7533bfaf470d79152a463.tar.gz
openembedded-core-b51c405faf6f8c0365f7533bfaf470d79152a463.tar.bz2
openembedded-core-b51c405faf6f8c0365f7533bfaf470d79152a463.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-example/rust-hello-world/rust-hello-world_git.bb')
-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 @@
inherit cargo
-SRC_URI = "git://github.com/meta-rust/rust-hello-world.git;protocol=https"
+SRC_URI = "git://github.com/meta-rust/rust-hello-world.git;protocol=https;branch=master"
SRCREV="e0fa23f1a3cb1eb1407165bd2fc36d2f6e6ad728"
LIC_FILES_CHKSUM="file://COPYRIGHT;md5=e6b2207ac3740d2d01141c49208c2147"