summaryrefslogtreecommitdiffstats
path: root/recipes-sota/aktualizr/aktualizr-collectd.bb
blob: c1fc717a6d3bd8e7bfe8988181696ac7953be554 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUMMARY = "Aktualizr metric collection"
HOMEPAGE = "https://github.com/advancedtelematic/aktualizr"
SECTION = "base"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad"

RDEPENDS_${PN} = "collectd"

SRC_URI = " file://aktualizr-collectd.conf"

S = "${WORKDIR}"

do_install() {
    install -d ${D}${sysconfdir}/collectd.conf.d
    install -m 0644 ${WORKDIR}/aktualizr-collectd.conf ${D}${sysconfdir}/collectd.conf.d/aktualizr.conf
}

FILES_${PN} = " \
                ${sysconfdir}/collectd.conf.d \
                ${sysconfdir}/collectd.conf.d/aktualizr.conf \
                "