1SUMMARY = "YAML configuration for Palmetto"
2PR = "r1"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${IBMBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"
5
6inherit allarch
7
8SRC_URI = " \
9    file://palmetto-ipmi-fru.yaml \
10    file://palmetto-ipmi-fru-properties.yaml \
11    file://palmetto-ipmi-sensors.yaml \
12    "
13
14S = "${WORKDIR}"
15
16do_install() {
17    install -m 0644 -D palmetto-ipmi-fru-properties.yaml \
18        ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
19    install -m 0644 -D palmetto-ipmi-fru.yaml \
20        ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
21    install -m 0644 -D palmetto-ipmi-sensors.yaml \
22        ${D}${datadir}/${BPN}/ipmi-sensors.yaml
23}
24
25FILES_${PN}-dev = " \
26    ${datadir}/${BPN}/ipmi-extra-properties.yaml \
27    ${datadir}/${BPN}/ipmi-fru-read.yaml \
28    ${datadir}/${BPN}/ipmi-sensors.yaml \
29    "
30
31ALLOW_EMPTY_${PN} = "1"
32