diff options
Diffstat (limited to 'recipes-devtools/go')
| -rw-r--r-- | recipes-devtools/go/go-build_git.bb | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/recipes-devtools/go/go-build_git.bb b/recipes-devtools/go/go-build_git.bb index c11ad99e..f94a7225 100644 --- a/recipes-devtools/go/go-build_git.bb +++ b/recipes-devtools/go/go-build_git.bb | |||
| @@ -3,8 +3,11 @@ SUMMARY = "console for runx" | |||
| 3 | DESCRIPTION = "Xen Runtime for OCI" | 3 | DESCRIPTION = "Xen Runtime for OCI" | 
| 4 | 4 | ||
| 5 | SRCREV_runx = "da0c75c58ae5232d19b1791c33545db3225e1ea9" | 5 | SRCREV_runx = "da0c75c58ae5232d19b1791c33545db3225e1ea9" | 
| 6 | SRCREV_runc = "e4363b038787addfa12e8b0acf5417d4fba01693" | ||
| 7 | |||
| 6 | SRC_URI = "\ | 8 | SRC_URI = "\ | 
| 7 | git://github.com/lf-edge/runx;nobranch=1;name=runx \ | 9 | git://github.com/lf-edge/runx;nobranch=1;name=runx \ | 
| 10 | git://github.com/opencontainers/runc.git;nobranch=1;destsuffix=runc;name=runc \ | ||
| 8 | " | 11 | " | 
| 9 | SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b" | 12 | SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b" | 
| 10 | SRC_URI[sha256sum] = "5a26478906d5005f4f809402e981518d2b8844949199f60c4b6e1f986ca2a769" | 13 | SRC_URI[sha256sum] = "5a26478906d5005f4f809402e981518d2b8844949199f60c4b6e1f986ca2a769" | 
| @@ -29,6 +32,9 @@ do_compile() { | |||
| 29 | 32 | ||
| 30 | export GOARCH="${TARGET_GOARCH}" | 33 | export GOARCH="${TARGET_GOARCH}" | 
| 31 | cd ${S}/src/import/gobuild | 34 | cd ${S}/src/import/gobuild | 
| 35 | mkdir -p go/src/github.com/opencontainers | ||
| 36 | ln -s ${WORKDIR}/runc ${S}/src/import/gobuild/go/src/github.com/opencontainers/runc | ||
| 37 | export GOPATH="${S}/src/import/gobuild/go/src/github.com/opencontainers/runc" | ||
| 32 | oe_runmake | 38 | oe_runmake | 
| 33 | } | 39 | } | 
| 34 | 40 | ||
