diff options
author | Steve Sakoman <steve@sakoman.com> | 2021-11-02 04:45:10 -1000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2021-11-03 08:43:53 -1000 |
commit | 827a805349f9732b2a5fa9184dc7922af36de327 (patch) | |
tree | a007f78117d7ee47b21dc76bf59f35fbeb46161e /meta/recipes-devtools/go | |
parent | 904bdbab712e2f3c332c4d85d08ed83c957e249f (diff) | |
download | openembedded-core-827a805349f9732b2a5fa9184dc7922af36de327.tar.gz |
meta: Add explict branch to git SRC_URIs, handle github url changes
This update was made with the convert-scruri.py script in scripts/contrib
This script handles two emerging issues:
1. 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.
2. Github are dropping support for git:// protocol fetching, so remap github
urls as needed. For more details see:
https://github.blog/2021-09-01-improving-git-protocol-security-github/
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-devtools/go')
-rw-r--r-- | meta/recipes-devtools/go/go-dep_0.5.4.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/go/go-dep_0.5.4.bb b/meta/recipes-devtools/go/go-dep_0.5.4.bb index 0da2c6607c..e29e53433e 100644 --- a/meta/recipes-devtools/go/go-dep_0.5.4.bb +++ b/meta/recipes-devtools/go/go-dep_0.5.4.bb @@ -4,7 +4,7 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=1bad315647751fab0007812f70d42c0d" GO_IMPORT = "github.com/golang/dep" -SRC_URI = "git://${GO_IMPORT} \ +SRC_URI = "git://${GO_IMPORT};branch=master \ file://0001-Add-support-for-mips-mips64.patch;patchdir=src/github.com/golang/dep \ file://0001-bolt_riscv64-Add-support-for-riscv64.patch;patchdir=src/github.com/golang/dep \ " |