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: I2062e2f527bcd537242f96d02f651972ab740d89
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
+do_compile_prepend() {
+ unset GOCACHE
+}
+
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
}