1SUMMARY = "YAML configuration for NCPLite"
2PR = "r1"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
5
6inherit allarch
7
8SRC_URI = " \
9    file://ncplite-ipmi-fru.yaml \
10    file://ncplite-ipmi-fru-properties.yaml \
11    file://ncplite-ipmi-sensors.yaml \
12    file://ncplite-ipmi-inventory-sensors.yaml \
13    "
14
15S = "${WORKDIR}/sources"
16UNPACKDIR = "${S}"
17
18do_install() {
19    install -m 0644 -D ncplite-ipmi-fru.yaml \
20        ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
21    install -m 0644 -D ncplite-ipmi-fru-properties.yaml \
22        ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
23    install -m 0644 -D ncplite-ipmi-sensors.yaml \
24        ${D}${datadir}/${BPN}/ipmi-sensors.yaml
25    install -m 0644 -D ncplite-ipmi-inventory-sensors.yaml \
26        ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml
27}
28
29FILES:${PN}-dev = " \
30    ${datadir}/${BPN}/ipmi-fru-read.yaml \
31    ${datadir}/${BPN}/ipmi-extra-properties.yaml \
32    ${datadir}/${BPN}/ipmi-sensors.yaml \
33    ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \
34    "
35