[meta-virtualization] [PATCH 2/5] runc-opencontainers: Drop unnecessary do_compile_prepend
Paul Barker
pbarker at toganlabs.com
Fri Oct 13 12:27:13 PDT 2017
The "vendor/src" symlink is already created in do_compile in runc.inc.
Signed-off-by: Paul Barker <pbarker at toganlabs.com>
---
recipes-containers/runc/runc-opencontainers_git.bb | 7 -------
1 file changed, 7 deletions(-)
diff --git a/recipes-containers/runc/runc-opencontainers_git.bb b/recipes-containers/runc/runc-opencontainers_git.bb
index 2cfceea..78488e0 100644
--- a/recipes-containers/runc/runc-opencontainers_git.bb
+++ b/recipes-containers/runc/runc-opencontainers_git.bb
@@ -10,10 +10,3 @@ 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}/src/import/vendor/src"
-}
--
2.7.4
More information about the meta-virtualization
mailing list