mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00

The makefiles for both providers of runc need to be patched in similar ways to ensure that we use the binaries from go-cross and not go-native. Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
20 lines
538 B
BlitzBasic
20 lines
538 B
BlitzBasic
include runc.inc
|
|
|
|
SRCREV = "2e7cfe036e2c6dc51ccca6eb7fa3ee6b63976dcd"
|
|
SRC_URI = " \
|
|
git://github.com/opencontainers/runc;branch=master \
|
|
file://0001-Use-correct-go-cross-compiler.patch \
|
|
"
|
|
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"
|
|
}
|