summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/go
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2022-09-13 15:44:26 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-09-13 15:44:26 -0400
commit36cb2b12a7c06bfcd19384115254c7d8baaffaba (patch)
tree94590589c7ef587509b24cf10c3d4e1037e1152e /recipes-devtools/go
parentf132afed23141a828fd16249d3d02af3f291aa16 (diff)
downloadmeta-virtualization-36cb2b12a7c06bfcd19384115254c7d8baaffaba.tar.gz
go-build: add dependency to fix build time fetching
go-builds compilation is fetching runc as a dependency, we can't do that in the compilation phase without an exception, or throwing an error. We add the runc dependency and fetch it directly into the required directory. This avoids the build time fetch, and we better control the revision. win-win. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-devtools/go')
-rw-r--r--recipes-devtools/go/go-build_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-devtools/go/go-build_git.bb b/recipes-devtools/go/go-build_git.bb
index 831b3c0d..2337c9e1 100644
--- a/recipes-devtools/go/go-build_git.bb
+++ b/recipes-devtools/go/go-build_git.bb
@@ -3,9 +3,11 @@ SUMMARY = "console for runx"
3DESCRIPTION = "Xen Runtime for OCI" 3DESCRIPTION = "Xen Runtime for OCI"
4 4
5SRCREV_runx = "f24efd33fb18469e9cfe4d1bfe8e2c90ec8c4e93" 5SRCREV_runx = "f24efd33fb18469e9cfe4d1bfe8e2c90ec8c4e93"
6SRCREV_runc = "1e7bb5b773162b57333d57f612fd72e3f8612d94"
6 7
7SRC_URI = "\ 8SRC_URI = "\
8 git://github.com/lf-edge/runx;nobranch=1;name=runx;protocol=https \ 9 git://github.com/lf-edge/runx;nobranch=1;name=runx;protocol=https \
10 git://github.com/opencontainers/runc;branch=release-1.1;name=runc;protocol=https;destsuffix=git/src/import/gobuild/go/src/github.com/opencontainers/runc \
9 file://0001-build-use-instead-of-go.patch \ 11 file://0001-build-use-instead-of-go.patch \
10 " 12 "
11SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b" 13SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b"