summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
da071f8)
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: I6c87014428194382bb68d09119ddd670437d55c5
--- /dev/null
+#
+# Copyright (C) 2019 Wind River Systems, Inc.
+#
+
+do_compile_prepend() {
+ unset GOCACHE
+}
# Copyright (C) 2019 Wind River Systems, Inc.
#
# Copyright (C) 2019 Wind River Systems, Inc.
#
-do_compile_prepend() {
- unset GOCACHE
-}
-
+inherit ${@bb.utils.contains('GOVERSION', '1.2.%', 'go112', '', d)}
# Copyright (C) 2019 Wind River Systems, Inc.
#
# Copyright (C) 2019 Wind River Systems, Inc.
#
-do_compile_prepend() {
- unset GOCACHE
-}
+inherit ${@bb.utils.contains('GOVERSION', '1.2.%', 'go112', '', d)}
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
-do_compile_prepend() {
- unset GOCACHE
-}
+inherit ${@bb.utils.contains('GOVERSION', '1.2.%', 'go112', '', d)}
do_install_append() {
sed -i '/ExecStart=/a ExecStartPost=/usr/sbin/iptables -P FORWARD ACCEPT' ${D}${systemd_unitdir}/system/docker.service
do_install_append() {
sed -i '/ExecStart=/a ExecStartPost=/usr/sbin/iptables -P FORWARD ACCEPT' ${D}${systemd_unitdir}/system/docker.service
SRCREV_kubernetes = "f6278300bebbb750328ac16ee6dd3aa7d3549568"
SRC_BRANCH = "release-1.15"
SRCREV_kubernetes = "f6278300bebbb750328ac16ee6dd3aa7d3549568"
SRC_BRANCH = "release-1.15"
-do_compile_prepend() {
- unset GOCACHE
-}
+inherit ${@bb.utils.contains('GOVERSION', '1.2.%', 'go112', '', d)}
# Copyright (C) 2019 Wind River Systems, Inc.
#
# Copyright (C) 2019 Wind River Systems, Inc.
#
-do_compile_prepend() {
- unset GOCACHE
-}
+inherit ${@bb.utils.contains('GOVERSION', '1.2.%', 'go112', '', d)}
# Copyright (C) 2019 Wind River Systems, Inc.
#
# Copyright (C) 2019 Wind River Systems, Inc.
#
-do_compile_prepend() {
- unset GOCACHE
-}
+inherit ${@bb.utils.contains('GOVERSION', '1.2.%', 'go112', '', d)}
do_compile_append() {
# build ipam plugins
do_compile_append() {
# build ipam plugins