mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
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>
This commit is contained in:
parent
83592435dc
commit
44e74c9aa7
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user