[meta-virtualization] [PATCH 2/2] runc-opencontainers: go.bbclass compile fixes

Paul Barker pbarker at toganlabs.com
Wed Oct 4 03:40:26 PDT 2017


These fixes are needed due to updates to go.bbclass in oe-core. See commit
01a8d4537012ad93dc8510e9b762acdc8c4536c7 for more information.

Signed-off-by: Paul Barker <pbarker at toganlabs.com>
---
 recipes-containers/runc/runc-opencontainers_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-containers/runc/runc-opencontainers_git.bb b/recipes-containers/runc/runc-opencontainers_git.bb
index 940ae95..902a93d 100644
--- a/recipes-containers/runc/runc-opencontainers_git.bb
+++ b/recipes-containers/runc/runc-opencontainers_git.bb
@@ -6,9 +6,11 @@ RUNC_VERSION = "1.0.0-rc4"
 PROVIDES += "virtual/runc"
 RPROVIDES_${PN} = "virtual/runc"
 
+GO_IMPORT = "import"
+
 do_compile_prepend() {
 	# Go looks in a src directory under any directory in GOPATH but
 	# runc-opencontainers uses 'vendor' instead of 'vendor/src'. We can fix
 	# this with a symlink.
-	ln -sfn . "${S}/vendor/src"
+	ln -sfn . "${S}/src/import/vendor/src"
 }
-- 
2.7.4



More information about the meta-virtualization mailing list