From 5cacf8632da2c20dc994c3b33608f0d3cea9df13 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Fri, 10 Feb 2017 13:14:41 +0100 Subject: containerd: Fix build on 386 Go only understands "386" as target arch, not "i586". Adjust this. Signed-off-by: Jan Kiszka Signed-off-by: Bruce Ashfield --- 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 ca99e558..c2000b1c 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 -- cgit v1.2.3-54-g00ecf