diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2017-02-10 13:14:41 +0100 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2017-02-10 16:16:55 -0500 |
commit | 88a28bbbebd8ea134d088d42bfe6c0044b40ecb1 (patch) | |
tree | 18aa7113703725288477e5b19a0c1fcca80bc9a1 | |
parent | c478d69c1bd51246fb654baaf00c27162ea815ac (diff) | |
download | meta-virtualization-88a28bbbebd8ea134d088d42bfe6c0044b40ecb1.tar.gz |
containerd: Fix build on 386
Go only understands "386" as target arch, not "i586". Adjust this.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-containers/containerd/containerd_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-containers/containerd/containerd_git.bb b/recipes-containers/containerd/containerd_git.bb index c2573556..5b94dde4 100644 --- a/recipes-containers/containerd/containerd_git.bb +++ b/recipes-containers/containerd/containerd_git.bb | |||
@@ -35,6 +35,9 @@ do_compile() { | |||
35 | if [ "${TARGET_ARCH}" = "aarch64" ]; then | 35 | if [ "${TARGET_ARCH}" = "aarch64" ]; then |
36 | export GOARCH="arm64" | 36 | export GOARCH="arm64" |
37 | fi | 37 | fi |
38 | if [ "${TARGET_ARCH}" = "i586" ]; then | ||
39 | export GOARCH="386" | ||
40 | fi | ||
38 | 41 | ||
39 | # Set GOPATH. See 'PACKAGERS.md'. Don't rely on | 42 | # Set GOPATH. See 'PACKAGERS.md'. Don't rely on |
40 | # docker to download its dependencies but rather | 43 | # docker to download its dependencies but rather |