summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/go/go-build_git.bb
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2020-09-16 23:30:54 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-09-16 23:30:54 -0400
commit8e66ab12fae2d477d0922f2be2c98b919c6beee8 (patch)
tree4b829142657152a3d5bfd0dc7cbd6f8b99e32afd /recipes-devtools/go/go-build_git.bb
parent2f2242522277c57fdb02a35b1d41771d41170b05 (diff)
downloadmeta-virtualization-8e66ab12fae2d477d0922f2be2c98b919c6beee8.tar.gz
go-build: refresh to latest runX commit
Updating the go-build recipe to use the latest runX commit and sync with the main recipe. We also no longer need runc and recvtty so they are dropped from the recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-devtools/go/go-build_git.bb')
-rw-r--r--recipes-devtools/go/go-build_git.bb9
1 files changed, 1 insertions, 8 deletions
diff --git a/recipes-devtools/go/go-build_git.bb b/recipes-devtools/go/go-build_git.bb
index 3ac86084..29d75984 100644
--- a/recipes-devtools/go/go-build_git.bb
+++ b/recipes-devtools/go/go-build_git.bb
@@ -2,12 +2,10 @@ HOMEPAGE = "https://github.com/lf-edge/runx"
2SUMMARY = "console for runx" 2SUMMARY = "console for runx"
3DESCRIPTION = "Xen Runtime for OCI" 3DESCRIPTION = "Xen Runtime for OCI"
4 4
5SRCREV_runx = "da0c75c58ae5232d19b1791c33545db3225e1ea9" 5SRCREV_runx = "f24efd33fb18469e9cfe4d1bfe8e2c90ec8c4e93"
6SRCREV_runc = "e4363b038787addfa12e8b0acf5417d4fba01693"
7 6
8SRC_URI = "\ 7SRC_URI = "\
9 git://github.com/lf-edge/runx;nobranch=1;name=runx \ 8 git://github.com/lf-edge/runx;nobranch=1;name=runx \
10 git://github.com/opencontainers/runc.git;nobranch=1;destsuffix=runc;name=runc \
11 file://0001-build-use-instead-of-go.patch \ 9 file://0001-build-use-instead-of-go.patch \
12 " 10 "
13SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b" 11SRC_URI[md5sum] = "0d701ac1e2a67d47ce7127432df2c32b"
@@ -34,9 +32,6 @@ do_compile() {
34 32
35 export GOARCH="${TARGET_GOARCH}" 33 export GOARCH="${TARGET_GOARCH}"
36 cd ${S}/src/import/gobuild 34 cd ${S}/src/import/gobuild
37 mkdir -p go/src/github.com/opencontainers
38 ln -sf ${WORKDIR}/runc ${S}/src/import/gobuild/go/src/github.com/opencontainers/runc
39 export GOPATH="${S}/src/import/gobuild/go/src/github.com/opencontainers/runc"
40 35
41 # Build the target binaries 36 # Build the target binaries
42 export GOARCH="${TARGET_GOARCH}" 37 export GOARCH="${TARGET_GOARCH}"
@@ -57,8 +52,6 @@ do_install() {
57 52
58 install -d ${D}${datadir}/runX 53 install -d ${D}${datadir}/runX
59 install -m 755 ${B}/src/import/gobuild/serial_fd_handler ${D}${datadir}/runX/ 54 install -m 755 ${B}/src/import/gobuild/serial_fd_handler ${D}${datadir}/runX/
60 install -m 755 ${B}/src/import/gobuild/recvtty ${D}${datadir}/runX/
61
62} 55}
63 56
64FILES_${PN} += "${datadir}/runX/*" 57FILES_${PN} += "${datadir}/runX/*"