2 ## Copyright (C) 2019 Wind River Systems, Inc.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 PACKAGES += " influxdb-extensions"
18 RDEPENDS_influxdb-extensions += " \
23 do_configure_append () {
31 local_unit_dir = "${sysconfdir}/systemd/system"
35 cd ${S}/influxdb-extensions/src
36 install -m 755 -d ${D}/${sysconfdir}
37 install -m 755 -d ${D}/${local_unit_dir}
38 install -m 755 -d ${D}/${sysconfdir}/influxdb
40 # support files ; service and pmon conf
41 install -m 644 influxdb.service ${D}/${local_unit_dir}
42 install -m 600 influxdb.conf.pmon ${D}/${sysconfdir}/influxdb
45 FILES_influxdb-extensions = " \
46 ${local_unit_dir}/influxdb.service \
47 ${sysconfdir}/influxdb \