Artem Senichev | ae96d72 | 2019-08-23 10:43:57 +0300 | [diff] [blame^] | 1 | SUMMARY = "YAML configuration for Nicole" |
| 2 | PR = "r1" |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${YADROBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658" |
| 5 | |
| 6 | inherit allarch |
| 7 | |
| 8 | SRC_URI = " \ |
| 9 | file://nicole-ipmi-fru.yaml \ |
| 10 | file://nicole-ipmi-fru-properties.yaml \ |
| 11 | file://nicole-ipmi-inventory-sensors.yaml \ |
| 12 | file://nicole-ipmi-sensors.yaml \ |
| 13 | " |
| 14 | |
| 15 | S = "${WORKDIR}" |
| 16 | |
| 17 | do_install() { |
| 18 | install -m 0644 -D nicole-ipmi-fru-properties.yaml \ |
| 19 | ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml |
| 20 | install -m 0644 -D nicole-ipmi-fru.yaml \ |
| 21 | ${D}${datadir}/${BPN}/ipmi-fru-read.yaml |
| 22 | install -m 0644 -D nicole-ipmi-inventory-sensors.yaml \ |
| 23 | ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml |
| 24 | install -m 0644 -D nicole-ipmi-sensors.yaml \ |
| 25 | ${D}${datadir}/${BPN}/ipmi-sensors.yaml |
| 26 | } |
| 27 | |
| 28 | FILES_${PN}-dev = " \ |
| 29 | ${datadir}/${BPN}/ipmi-extra-properties.yaml \ |
| 30 | ${datadir}/${BPN}/ipmi-fru-read.yaml \ |
| 31 | ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \ |
| 32 | ${datadir}/${BPN}/ipmi-sensors.yaml \ |
| 33 | " |
| 34 | |
| 35 | ALLOW_EMPTY_${PN} = "1" |