From 36cb2b12a7c06bfcd19384115254c7d8baaffaba Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 13 Sep 2022 15:44:26 -0400 Subject: [PATCH] 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 --- recipes-devtools/go/go-build_git.bb | 2 ++ 1 file changed, 2 insertions(+) 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" DESCRIPTION = "Xen Runtime for OCI" SRCREV_runx = "f24efd33fb18469e9cfe4d1bfe8e2c90ec8c4e93" +SRCREV_runc = "1e7bb5b773162b57333d57f612fd72e3f8612d94" SRC_URI = "\ git://github.com/lf-edge/runx;nobranch=1;name=runx;protocol=https \ + git://github.com/opencontainers/runc;branch=release-1.1;name=runc;protocol=https;destsuffix=git/src/import/gobuild/go/src/github.com/opencontainers/runc \ file://0001-build-use-instead-of-go.patch \ " SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b"