diff options
Diffstat (limited to 'recipes-sota/aktualizr/aktualizr-collectd.bb')
-rw-r--r-- | recipes-sota/aktualizr/aktualizr-collectd.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes-sota/aktualizr/aktualizr-collectd.bb b/recipes-sota/aktualizr/aktualizr-collectd.bb new file mode 100644 index 0000000..c1fc717 --- /dev/null +++ b/recipes-sota/aktualizr/aktualizr-collectd.bb | |||
@@ -0,0 +1,21 @@ | |||
1 | SUMMARY = "Aktualizr metric collection" | ||
2 | HOMEPAGE = "https://github.com/advancedtelematic/aktualizr" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "MPL-2.0" | ||
5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MPL-2.0;md5=815ca599c9df247a0c7f619bab123dad" | ||
6 | |||
7 | RDEPENDS_${PN} = "collectd" | ||
8 | |||
9 | SRC_URI = " file://aktualizr-collectd.conf" | ||
10 | |||
11 | S = "${WORKDIR}" | ||
12 | |||
13 | do_install() { | ||
14 | install -d ${D}${sysconfdir}/collectd.conf.d | ||
15 | install -m 0644 ${WORKDIR}/aktualizr-collectd.conf ${D}${sysconfdir}/collectd.conf.d/aktualizr.conf | ||
16 | } | ||
17 | |||
18 | FILES_${PN} = " \ | ||
19 | ${sysconfdir}/collectd.conf.d \ | ||
20 | ${sysconfdir}/collectd.conf.d/aktualizr.conf \ | ||
21 | " | ||