From 5c20d8587579936e15672d3976cfaf0a413a6da0 Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Fri, 1 May 2020 17:19:45 +0800 Subject: [PATCH] influxdb: add new recipe and related dependency influxdb is required by stx, so add the new recipe and related dependency. Issue-ID: INF-71 Signed-off-by: Jackie Huang Change-Id: I04bf23605a40ed4ae9dfdef4091aa4fe4f5de666 --- .../stx-monitoring/influxdb-extensions.inc | 1 + meta-stx/recipes-dbs/influxdb/influxdb_0.9.5.1.bb | 39 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 meta-stx/recipes-dbs/influxdb/influxdb_0.9.5.1.bb diff --git a/meta-stx/recipes-core/stx-monitoring/influxdb-extensions.inc b/meta-stx/recipes-core/stx-monitoring/influxdb-extensions.inc index c2bf92c..36e3199 100644 --- a/meta-stx/recipes-core/stx-monitoring/influxdb-extensions.inc +++ b/meta-stx/recipes-core/stx-monitoring/influxdb-extensions.inc @@ -16,6 +16,7 @@ PACKAGES += " influxdb-extensions" RDEPENDS_influxdb-extensions += " \ + influxdb \ systemd \ python-influxdb \ " diff --git a/meta-stx/recipes-dbs/influxdb/influxdb_0.9.5.1.bb b/meta-stx/recipes-dbs/influxdb/influxdb_0.9.5.1.bb new file mode 100644 index 0000000..d90c1cb --- /dev/null +++ b/meta-stx/recipes-dbs/influxdb/influxdb_0.9.5.1.bb @@ -0,0 +1,39 @@ +# +## Copyright (C) 2019 Wind River Systems, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +SUMMARY = "InfluxDB is an open source time series platform" +DESCRIPTION = "\ +InfluxDB is an open source time series platform. \ +This includes APIs for storing and querying data, \ +processing it in the background for ETL or monitoring \ +and alerting purposes, user dashboards, and visualizing \ +and exploring the data and more. \ +" +HOMEPAGE = "https://www.influxdata.com/products/influxdb-overview/" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +SRC_URI = "https://s3.amazonaws.com/influxdb/${BPN}_${PV}_x86_64.tar.gz" +SRC_URI[md5sum] = "da0cbcc5a521adc0e588327550441fbf" +SRC_URI[sha256sum] = "6d660007ca207f98eb847f4abf7f3060d1e6d239deeca9beaf833455a670fdb8" + +S = "${WORKDIR}//${BPN}_${PV}_x86_64" + +do_install() { + cp -av --no-preserve=ownership ${S}/* ${D}/ +} + +INSANE_SKIP_${PN}_append = "already-stripped ldflags" -- 2.16.6