Brad Bishop | 10bb853 | 2019-06-09 16:55:57 -0400 | [diff] [blame] | 1 | SUMMARY = "YAML configuration for Romulus" |
| 2 | PR = "r1" |
| 3 | LICENSE = "Apache-2.0" |
Brad Bishop | d77088a | 2019-09-13 13:06:15 -0400 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
Brad Bishop | 10bb853 | 2019-06-09 16:55:57 -0400 | [diff] [blame] | 5 | |
| 6 | inherit allarch |
| 7 | |
| 8 | SRC_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 | |
| 16 | S = "${WORKDIR}" |
| 17 | |
| 18 | do_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 | |
| 31 | FILES_${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 | |
| 38 | ALLOW_EMPTY_${PN} = "1" |