1SUMMARY = "YAML configuration for Palmetto"
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://palmetto-ipmi-fru.yaml \
10    file://palmetto-ipmi-fru-properties.yaml \
11    file://palmetto-ipmi-sensors.yaml \
12    "
13
14S = "${WORKDIR}/sources"
15UNPACKDIR = "${S}"
16
17do_install() {
18    install -m 0644 -D palmetto-ipmi-fru-properties.yaml \
19        ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
20    install -m 0644 -D palmetto-ipmi-fru.yaml \
21        ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
22    install -m 0644 -D palmetto-ipmi-sensors.yaml \
23        ${D}${datadir}/${BPN}/ipmi-sensors.yaml
24}
25
26FILES:${PN}-dev = " \
27    ${datadir}/${BPN}/ipmi-extra-properties.yaml \
28    ${datadir}/${BPN}/ipmi-fru-read.yaml \
29    ${datadir}/${BPN}/ipmi-sensors.yaml \
30    "
31
32ALLOW_EMPTY:${PN} = "1"
33