From 44e74c9aa74c818181058f6d4b660309b35c6db4 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Wed, 4 Oct 2017 10:40:26 +0000 Subject: runc-opencontainers: go.bbclass compile fixes These fixes are needed due to updates to go.bbclass in oe-core. See commit 01a8d4537012ad93dc8510e9b762acdc8c4536c7 for more information. Signed-off-by: Paul Barker Signed-off-by: Bruce Ashfield --- 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 940ae952..902a93da 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" } -- cgit v1.2.3-54-g00ecf