mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +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"
|
PROVIDES += "virtual/runc"
|
||||||
RPROVIDES_${PN} = "virtual/runc"
|
RPROVIDES_${PN} = "virtual/runc"
|
||||||
|
|
||||||
|
GO_IMPORT = "import"
|
||||||
|
|
||||||
do_compile_prepend() {
|
do_compile_prepend() {
|
||||||
# Go looks in a src directory under any directory in GOPATH but
|
# Go looks in a src directory under any directory in GOPATH but
|
||||||
# runc-opencontainers uses 'vendor' instead of 'vendor/src'. We can fix
|
# runc-opencontainers uses 'vendor' instead of 'vendor/src'. We can fix
|
||||||
# this with a symlink.
|
# this with a symlink.
|
||||||
ln -sfn . "${S}/vendor/src"
|
ln -sfn . "${S}/src/import/vendor/src"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user