containerd: fix build with go 1.12
authorJackie Huang <jackie.huang@windriver.com>
Wed, 14 Aug 2019 05:54:14 +0000 (13:54 +0800)
committerJackie Huang <jackie.huang@windriver.com>
Thu, 10 Oct 2019 02:26:56 +0000 (10:26 +0800)
Fixed the issue:
| build cache is disabled by GOCACHE=off, but required as of Go 1.12

Issue-ID: INF-4
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Idc963b616eaf5c8155a110c96c52644c1e4ddba2

meta-oran/recipes-containers/containerd/containerd-opencontainers_git.bbappend [new file with mode: 0644]

diff --git a/meta-oran/recipes-containers/containerd/containerd-opencontainers_git.bbappend b/meta-oran/recipes-containers/containerd/containerd-opencontainers_git.bbappend
new file mode 100644 (file)
index 0000000..b8c2351
--- /dev/null
@@ -0,0 +1,8 @@
+#
+# Copyright (C) 2019 Wind River Systems, Inc.
+#
+
+do_compile_prepend() {
+    unset GOCACHE
+}
+