diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-31 23:31:13 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-31 23:49:54 -0400 |
| commit | 0cffcd09a44b2a58452a5bb13714bfc47d6546bf (patch) | |
| tree | b91584b573ce42431a35a9b8f064d8be57974e1e /recipes-connectivity/consul | |
| parent | e887a996155f8b9f22d6aca0e31b5fbccd82751e (diff) | |
| download | meta-cloud-services-0cffcd09a44b2a58452a5bb13714bfc47d6546bf.tar.gz | |
global: overrides conversion
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-connectivity/consul')
| -rw-r--r-- | recipes-connectivity/consul/consul_git.bb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/recipes-connectivity/consul/consul_git.bb b/recipes-connectivity/consul/consul_git.bb index a49d4a1..828a20e 100644 --- a/recipes-connectivity/consul/consul_git.bb +++ b/recipes-connectivity/consul/consul_git.bb | |||
| @@ -12,7 +12,7 @@ SRC_URI = "git://${GO_IMPORT}.git;branch=main \ | |||
| 12 | 12 | ||
| 13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
| 14 | 14 | ||
| 15 | RDEPENDS_${PN}-dev_append = " bash" | 15 | RDEPENDS:${PN}-dev:append = " bash" |
| 16 | 16 | ||
| 17 | # Temporarily workaround an issue with GO 1.12.1 | 17 | # Temporarily workaround an issue with GO 1.12.1 |
| 18 | # http://www.lyddzz.com/github_/golang/go/issues/30768 | 18 | # http://www.lyddzz.com/github_/golang/go/issues/30768 |
| @@ -23,21 +23,21 @@ inherit systemd go | |||
| 23 | 23 | ||
| 24 | # Besides the hosts specified in goarch, we do not build for mips. | 24 | # Besides the hosts specified in goarch, we do not build for mips. |
| 25 | # | 25 | # |
| 26 | COMPATIBLE_HOST_mipsarch = "null" | 26 | COMPATIBLE_HOST:mipsarch = "null" |
| 27 | 27 | ||
| 28 | SYSTEMD_SERVICE_${PN} = "consul.service" | 28 | SYSTEMD_SERVICE:${PN} = "consul.service" |
| 29 | SYSTEMD_AUTO_ENABLE_${PN} = "disable" | 29 | SYSTEMD_AUTO_ENABLE:${PN} = "disable" |
| 30 | 30 | ||
| 31 | do_compile_prepend () { | 31 | do_compile:prepend () { |
| 32 | export GO111MODULE=off | 32 | export GO111MODULE=off |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | do_install_append() { | 35 | do_install:append() { |
| 36 | install -d ${D}/${systemd_unitdir}/system | 36 | install -d ${D}/${systemd_unitdir}/system |
| 37 | cp ${WORKDIR}/consul.service ${D}/${systemd_unitdir}/system | 37 | cp ${WORKDIR}/consul.service ${D}/${systemd_unitdir}/system |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | FILES_${PN} += "${systemd_unitdir}/system" | 40 | FILES:${PN} += "${systemd_unitdir}/system" |
| 41 | 41 | ||
| 42 | #for i586, executable consul contains textrel | 42 | #for i586, executable consul contains textrel |
| 43 | INSANE_SKIP_${PN} += "textrel" | 43 | INSANE_SKIP:${PN} += "textrel" |
