meta-virtualization/recipes-containers/runc/runc-opencontainers_git.bb
Paul Barker 44e74c9aa7 runc-opencontainers: go.bbclass compile fixes
These fixes are needed due to updates to go.bbclass in oe-core. See commit
01a8d45370 for more information.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-10-04 16:54:33 -04:00

17 lines
470 B
BlitzBasic

include runc.inc
SRCREV = "2e7cfe036e2c6dc51ccca6eb7fa3ee6b63976dcd"
SRC_URI = "git://github.com/opencontainers/runc;branch=master"
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}/src/import/vendor/src"
}