[meta-virtualization] [PATCH 2/2] runc-opencontainers: go.bbclass compile fixes
Bruce Ashfield
bruce.ashfield at gmail.com
Wed Oct 4 13:55:07 PDT 2017
On Wed, Oct 4, 2017 at 6:40 AM, Paul Barker <pbarker at toganlabs.com> wrote:
> These fixes are needed due to updates to go.bbclass in oe-core. See commit
> 01a8d4537012ad93dc8510e9b762acdc8c4536c7 for more information.
Yah, same thing we did for the docker variant. This is now merged.
Bruce
>
> Signed-off-by: Paul Barker <pbarker at toganlabs.com>
> ---
> recipes-containers/runc/runc-opencontainers_git.bb | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/recipes-containers/runc/runc-opencontainers_git.bb b/recipes-containers/runc/runc-opencontainers_git.bb
> index 940ae95..902a93d 100644
> --- a/recipes-containers/runc/runc-opencontainers_git.bb
> +++ b/recipes-containers/runc/runc-opencontainers_git.bb
> @@ -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"
> }
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
More information about the meta-virtualization
mailing list