From 663b883809a28050b7d7c836a041bf80820f4968 Mon Sep 17 00:00:00 2001 From: Geoff Levand Date: Wed, 21 Feb 2018 15:58:44 -0800 Subject: [PATCH] app-emulation/containerd: Fix GOARCH build problem A call to coreos-go_src_prepare in src_prepare will get go_export called, which exports the correct GOARCH value. Fixes https://github.com/coreos/bugs/issues/2366 (torcx store has archives of wrong arch). Signed-off-by: Geoff Levand --- .../app-emulation/containerd/containerd-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_container/src/third_party/coreos-overlay/app-emulation/containerd/containerd-9999.ebuild b/sdk_container/src/third_party/coreos-overlay/app-emulation/containerd/containerd-9999.ebuild index fe0f27ad45..1bcb1474dc 100644 --- a/sdk_container/src/third_party/coreos-overlay/app-emulation/containerd/containerd-9999.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/app-emulation/containerd/containerd-9999.ebuild @@ -40,7 +40,7 @@ src_unpack() { } src_prepare() { - default + coreos-go_src_prepare if [[ ${PV} != *9999* ]]; then sed -i -e "s/git describe --match.*$/echo ${PV})/"\ -e "s/git rev-parse HEAD.*$/echo $CONTAINERD_COMMIT)/"\