[meta-virtualization] [PATCH] containerd: Fix build on 386

Bruce Ashfield bruce.ashfield at gmail.com
Fri Feb 10 13:17:22 PST 2017


applied.

Bruce

On Fri, Feb 10, 2017 at 7:14 AM, Jan Kiszka <jan.kiszka at siemens.com> wrote:

> Go only understands "386" as target arch, not "i586". Adjust this.
>
> Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
> ---
>
> Found while building meta-virtualization for an Intel Quark target.
>
>  recipes-containers/containerd/containerd_git.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/recipes-containers/containerd/containerd_git.bb
> b/recipes-containers/containerd/containerd_git.bb
> index c257355..5b94dde 100644
> --- a/recipes-containers/containerd/containerd_git.bb
> +++ b/recipes-containers/containerd/containerd_git.bb
> @@ -35,6 +35,9 @@ do_compile() {
>         if [ "${TARGET_ARCH}" = "aarch64" ]; then
>                 export GOARCH="arm64"
>         fi
> +       if [ "${TARGET_ARCH}" = "i586" ]; then
> +               export GOARCH="386"
> +       fi
>
>         # Set GOPATH. See 'PACKAGERS.md'. Don't rely on
>         # docker to download its dependencies but rather
>
> --
> _______________________________________________
> 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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20170210/4a5f66cd/attachment.html>


More information about the meta-virtualization mailing list