blob: a2f609eecd6c37bdcca5f9bfc7ef752f01a42e8d [file] [log] [blame]
Brad Bishop67b17f72019-06-09 16:55:57 -04001SUMMARY = "YAML configuration for Romulus"
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://romulus-ipmi-fru.yaml \
10 file://romulus-ipmi-fru-bmc.yaml \
11 file://romulus-ipmi-fru-properties.yaml \
12 file://romulus-ipmi-inventory-sensors.yaml \
13 file://romulus-ipmi-sensors.yaml \
14 "
15
16S = "${WORKDIR}"
17
18do_install() {
19 cat romulus-ipmi-fru.yaml romulus-ipmi-fru-bmc.yaml > fru-read.yaml
20
21 install -m 0644 -D romulus-ipmi-fru-properties.yaml \
22 ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
23 install -m 0644 -D fru-read.yaml \
24 ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
25 install -m 0644 -D romulus-ipmi-inventory-sensors.yaml \
26 ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml
27 install -m 0644 -D romulus-ipmi-sensors.yaml \
28 ${D}${datadir}/${BPN}/ipmi-sensors.yaml
29}
30
31FILES_${PN}-dev = " \
32 ${datadir}/${BPN}/ipmi-extra-properties.yaml \
33 ${datadir}/${BPN}/ipmi-fru-read.yaml \
34 ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \
35 ${datadir}/${BPN}/ipmi-sensors.yaml \
36 "
37
38ALLOW_EMPTY_${PN} = "1"