summaryrefslogtreecommitdiffstats
path: root/meta/classes/devupstream.bbclass
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:56:47 +0100
commitddcf16d1f792153f7f7fec4b1dcbc11855b64208 (patch)
tree31bc0771b9bcdb6cd31c8a06ff1fb77fa4f7eaf3 /meta/classes/devupstream.bbclass
parentb777781ebf88f049c37a04154e86ed0940d11d95 (diff)
downloadpoky-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/classes/devupstream.bbclass')
-rw-r--r--meta/classes/devupstream.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/devupstream.bbclass b/meta/classes/devupstream.bbclass
index dc9a9472b1..facc46f3af 100644
--- a/meta/classes/devupstream.bbclass
+++ b/meta/classes/devupstream.bbclass
@@ -4,7 +4,7 @@
4# 4#
5# Usage: 5# Usage:
6# BBCLASSEXTEND = "devupstream:target" 6# BBCLASSEXTEND = "devupstream:target"
7# SRC_URI:class-devupstream = "git://git.example.com/example" 7# SRC_URI:class-devupstream = "git://git.example.com/example;branch=master"
8# SRCREV:class-devupstream = "abcdef" 8# SRCREV:class-devupstream = "abcdef"
9# 9#
10# If the first entry in SRC_URI is a git: URL then S is rewritten to 10# If the first entry in SRC_URI is a git: URL then S is rewritten to