| SUMMARY = "YAML configuration for Ethanolx" |
| PR = "r1" |
| LICENSE = "Apache-2.0" |
| LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| |
| inherit allarch |
| |
| SRC_URI = " \ |
| file://ethanolx-ipmi-fru.yaml \ |
| file://ethanolx-ipmi-fru-properties.yaml \ |
| file://ethanolx-ipmi-sensors.yaml \ |
| " |
| |
| S = "${WORKDIR}/sources" |
| UNPACKDIR = "${S}" |
| |
| do_install() { |
| cat ethanolx-ipmi-fru.yaml > fru-read.yaml |
| |
| install -m 0644 -D ethanolx-ipmi-fru-properties.yaml \ |
| ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml |
| install -m 0644 -D fru-read.yaml \ |
| ${D}${datadir}/${BPN}/ipmi-fru-read.yaml |
| install -m 0644 -D ethanolx-ipmi-sensors.yaml \ |
| ${D}${datadir}/${BPN}/ipmi-sensors.yaml |
| } |
| |
| FILES:${PN}-dev = " \ |
| ${datadir}/${BPN}/ipmi-extra-properties.yaml \ |
| ${datadir}/${BPN}/ipmi-fru-read.yaml \ |
| ${datadir}/${BPN}/ipmi-sensors.yaml \ |
| " |
| |
| ALLOW_EMPTY:${PN} = "1" |