From 6e9faaa57889b16ff5b4b32a7c48fb8474c39c42 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 29 Nov 2021 18:21:06 -0800 Subject: [PATCH] influxdb: Upgrade to 1.8.10 Changes are here [1] License-Update: Updated copyright info [2] Fix sh interpreter path [1] https://dl.influxdata.com/platform/nightlies/1.8/CHANGELOG.md [2] https://github.com/influxdata/influxdb/commit/809ac4f0d5280a2391ed1af84e2a331d37525913#diff-c693279643b8cd5d248172d9c22cb7cf4ed163a3c98c8a3f69c2717edd3eacb7 Signed-off-by: Khem Raj --- .../{influxdb_1.7.10.bb => influxdb_1.8.10.bb} | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) rename meta-oe/recipes-dbs/influxdb/{influxdb_1.7.10.bb => influxdb_1.8.10.bb} (83%) diff --git a/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb b/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb similarity index 83% rename from meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb rename to meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb index fa360b8d1d..0832ac209e 100644 --- a/meta-oe/recipes-dbs/influxdb/influxdb_1.7.10.bb +++ b/meta-oe/recipes-dbs/influxdb/influxdb_1.8.10.bb @@ -2,9 +2,7 @@ DESCRIPTION = "InfluxDB is a time series database designed to handle high write HOMEPAGE = "https://www.influxdata.com/products/influxdb-overview/" LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=ba8146ad9cc2a128209983265136e06a" - -FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" +LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=f39a8d10930fb37bd59adabb3b9d0bd6" RDEPENDS:${PN} = "bash" RDEPENDS:${PN}-dev = "bash" @@ -17,16 +15,16 @@ GO_INSTALL = "\ " SRC_URI = "\ - git://${GO_IMPORT};protocol=https;branch=1.7;destsuffix=${BPN}-${PV}/src/${GO_IMPORT} \ + git://${GO_IMPORT};protocol=https;branch=1.8;destsuffix=${BPN}-${PV}/src/${GO_IMPORT} \ file://influxdb \ file://influxdb.conf \ " SRC_URI:append:mipsarch = " file://0001-patch-term-module-for-mips-ispeed-ospeed-termios-abs.patch;patchdir=src/${GO_IMPORT}" -SRCREV = "c958f436b2e538a88a7815aad721c7774a0b8f63" +SRCREV = "688e697c51fd5353725da078555adbeff0363d01" -inherit go-mod systemd update-rc.d useradd +inherit go-mod pkgconfig systemd update-rc.d useradd USERADD_PACKAGES = "${PN}" USERADD_PARAM:${PN} = "--system -d /var/lib/influxdb -m -s /bin/nologin influxdb" @@ -35,6 +33,7 @@ do_install:prepend() { rm ${B}/src/${GO_IMPORT}/build.py rm ${B}/src/${GO_IMPORT}/build.sh rm ${B}/src/${GO_IMPORT}/Dockerfile* + sed -i -e "s#usr/bin/sh#bin/sh#g" ${B}/src/${GO_IMPORT}/scripts/ci/run_perftest.sh } do_install:append() {