summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/influxdb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-dbs/influxdb
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-dbs/influxdb')
-rw-r--r--meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb b/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb
index 06f7947642..fa360b8d1d 100644
--- a/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb
+++ b/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb
@@ -4,10 +4,10 @@ HOMEPAGE = "https://www.influxdata.com/products/influxdb-overview/"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=ba8146ad9cc2a128209983265136e06a" 5LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=ba8146ad9cc2a128209983265136e06a"
6 6
7FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 7FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
8 8
9RDEPENDS_${PN} = "bash" 9RDEPENDS:${PN} = "bash"
10RDEPENDS_${PN}-dev = "bash" 10RDEPENDS:${PN}-dev = "bash"
11 11
12GO_IMPORT = "github.com/influxdata/influxdb" 12GO_IMPORT = "github.com/influxdata/influxdb"
13 13
@@ -22,22 +22,22 @@ SRC_URI = "\
22 file://influxdb.conf \ 22 file://influxdb.conf \
23" 23"
24 24
25SRC_URI_append_mipsarch = " file://0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch;patchdir=src/${GO_IMPORT}" 25SRC_URI:append:mipsarch = " file://0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch;patchdir=src/${GO_IMPORT}"
26 26
27SRCREV = "c958f436b2e538a88a7815aad721c7774a0b8f63" 27SRCREV = "c958f436b2e538a88a7815aad721c7774a0b8f63"
28 28
29inherit go-mod systemd update-rc.d useradd 29inherit go-mod systemd update-rc.d useradd
30 30
31USERADD_PACKAGES = "${PN}" 31USERADD_PACKAGES = "${PN}"
32USERADD_PARAM_${PN} = "--system -d /var/lib/influxdb -m -s /bin/nologin influxdb" 32USERADD_PARAM:${PN} = "--system -d /var/lib/influxdb -m -s /bin/nologin influxdb"
33 33
34do_install_prepend() { 34do_install:prepend() {
35 rm ${B}/src/${GO_IMPORT}/build.py 35 rm ${B}/src/${GO_IMPORT}/build.py
36 rm ${B}/src/${GO_IMPORT}/build.sh 36 rm ${B}/src/${GO_IMPORT}/build.sh
37 rm ${B}/src/${GO_IMPORT}/Dockerfile* 37 rm ${B}/src/${GO_IMPORT}/Dockerfile*
38} 38}
39 39
40do_install_append() { 40do_install:append() {
41 install -d ${D}${sysconfdir}/influxdb 41 install -d ${D}${sysconfdir}/influxdb
42 install -m 0644 ${WORKDIR}/influxdb.conf ${D}${sysconfdir}/influxdb 42 install -m 0644 ${WORKDIR}/influxdb.conf ${D}${sysconfdir}/influxdb
43 chown -R root.influxdb ${D}${sysconfdir}/influxdb 43 chown -R root.influxdb ${D}${sysconfdir}/influxdb
@@ -62,4 +62,4 @@ INITSCRIPT_PACKAGES = "${PN}"
62INITSCRIPT_NAME = "influxdb" 62INITSCRIPT_NAME = "influxdb"
63INITSCRIPT_PARAMS = "defaults" 63INITSCRIPT_PARAMS = "defaults"
64 64
65SYSTEMD_SERVICE_${PN} = "influxdb.service" 65SYSTEMD_SERVICE:${PN} = "influxdb.service"