Skip to contentSkip to conversation

consul: Upgrade to 1.6.0

PATCH In review [email protected] 2 participants 4 messages Sep 9, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 consul: Upgrade to 1.6.0

From: He Zhe <[email protected]>

1.6.0 is the latest release.

---
 recipes-connectivity/consul/consul_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-connectivity/consul/consul_git.bb +1 -1
index ab78cbd..f3e64e9 100644
@@ -4,7 +4,7 @@ LICENSE = "MPL-2.0 & BSD & Apache-2.0 & BSD-2-Clause & MIT"
 LIC_FILES_CHKSUM = "file://src/github.com/hashicorp/consul/LICENSE;md5=b278a92d2c1509760384428817710378"
 
 GO_IMPORT = "github.com/hashicorp/consul"
-SRCREV = "567e41ff6b096a478333c804d5c18264050bc3f8"
+SRCREV = "944cc71026c007e7de9467ec3f38f0ad14464fcc"
 SRC_URI = "git://${GO_IMPORT}.git \
            file://consul.service \
           "
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 consul: Not automatically start system service on boot

From: He Zhe <[email protected]>

The systemd service needs to be tuned according to various use cases and cannot be able to always start successfully for example when there is no network interface named br0 by default.

Thus the default configuration is mainly used as an example. Let's not automatically start it on boot.

---
 recipes-connectivity/consul/consul_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-connectivity/consul/consul_git.bb +1 -1
index f3e64e9..566fbc9 100644
@@ -25,7 +25,7 @@ inherit systemd go
 COMPATIBLE_HOST_mipsarch = "null"
 
 SYSTEMD_SERVICE_${PN} = "consul.service"
-SYSTEMD_AUTO_ENABLE_${PN} = "enable"
+SYSTEMD_AUTO_ENABLE_${PN} = "disable"
 
 do_install_append() {
     install -d ${D}/${systemd_unitdir}/system
Signature · 1 line
2.7.4
#2 lore raw

Re: [meta-cloud-services] [PATCH 2/2] consul: Not automatically start system service on boot

merged

Bruce

Quoted 31 lines · On Mon, Sep 9, 2019 at 5:42 AM <[email protected]> wrote:

From: He Zhe <[email protected]>

The systemd service needs to be tuned according to various use cases and cannot be able to always start successfully for example when there is no network interface named br0 by default.

Thus the default configuration is mainly used as an example. Let's not automatically start it on boot.

---
 recipes-connectivity/consul/consul_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-connectivity/consul/consul_git.bb +1 -2
index f3e64e9..566fbc9 100644
@@ -25,7 +25,7 @@ inherit systemd go
 COMPATIBLE_HOST_mipsarch = "null"
 
 SYSTEMD_SERVICE_${PN} = "consul.service"
-SYSTEMD_AUTO_ENABLE_${PN} = "enable"
+SYSTEMD_AUTO_ENABLE_${PN} = "disable"
 
 do_install_append() {
     install -d ${D}/${systemd_unitdir}/system
--

2.7.4

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#3 lore raw
In reply to [email protected]

merged

Bruce

Quoted 26 lines · On Mon, Sep 9, 2019 at 5:42 AM <[email protected]> wrote:

From: He Zhe <[email protected]>

1.6.0 is the latest release.

---
 recipes-connectivity/consul/consul_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-connectivity/consul/consul_git.bb +1 -2
index ab78cbd..f3e64e9 100644
@@ -4,7 +4,7 @@ LICENSE = "MPL-2.0 & BSD & Apache-2.0 & BSD-2-Clause & MIT"
 LIC_FILES_CHKSUM = "file://src/github.com/hashicorp/consul/LICENSE;md5=b278a92d2c1509760384428817710378"
 
 GO_IMPORT = "github.com/hashicorp/consul"
-SRCREV = "567e41ff6b096a478333c804d5c18264050bc3f8"
+SRCREV = "944cc71026c007e7de9467ec3f38f0ad14464fcc"
 SRC_URI = "git://${GO_IMPORT}.git \
            file://consul.service \
           "
--

2.7.4

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II