summaryrefslogtreecommitdiffstats
path: root/recipes-connectivity/consul/consul_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-connectivity/consul/consul_git.bb')
-rw-r--r--recipes-connectivity/consul/consul_git.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/recipes-connectivity/consul/consul_git.bb b/recipes-connectivity/consul/consul_git.bb
index b96499c..f4955e2 100644
--- a/recipes-connectivity/consul/consul_git.bb
+++ b/recipes-connectivity/consul/consul_git.bb
@@ -28,6 +28,10 @@ COMPATIBLE_HOST_mipsarch = "null"
28SYSTEMD_SERVICE_${PN} = "consul.service" 28SYSTEMD_SERVICE_${PN} = "consul.service"
29SYSTEMD_AUTO_ENABLE_${PN} = "disable" 29SYSTEMD_AUTO_ENABLE_${PN} = "disable"
30 30
31do_compile_prepend () {
32 export GO111MODULE=off
33}
34
31do_install_append() { 35do_install_append() {
32 install -d ${D}/${systemd_unitdir}/system 36 install -d ${D}/${systemd_unitdir}/system
33 cp ${WORKDIR}/consul.service ${D}/${systemd_unitdir}/system 37 cp ${WORKDIR}/consul.service ${D}/${systemd_unitdir}/system