mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
@@ -5,7 +5,7 @@ LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=54905cf894f8cc416a92f4fc350c35b2"
|
||||
|
||||
GO_IMPORT = "github.com/Masterminds/glide"
|
||||
SRC_URI = "git://${GO_IMPORT}"
|
||||
SRC_URI = "git://${GO_IMPORT};branch=master"
|
||||
SRCREV = "8ed5b9292379d86c39592a7e6a58eb9c903877cf"
|
||||
|
||||
inherit go
|
||||
|
||||
Reference in New Issue
Block a user