George Hung | 0a16c20 | 2020-05-22 18:13:40 +0800 | [diff] [blame] | 1 | SUMMARY = "YAML configuration for gbs" |
| 2 | PR = "r1" |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 5 | |
| 6 | inherit allarch |
| 7 | |
| 8 | SRC_URI = " \ |
| 9 | file://gbs-ipmi-fru.yaml \ |
| 10 | file://gbs-ipmi-sensors.yaml \ |
| 11 | file://gbs-ipmi-fru-properties.yaml \ |
George Hung | 9329645 | 2021-04-28 07:27:11 +0800 | [diff] [blame] | 12 | file://gbs-ipmi-inventory-sensors.yaml \ |
George Hung | 0a16c20 | 2020-05-22 18:13:40 +0800 | [diff] [blame] | 13 | " |
| 14 | |
| 15 | S = "${WORKDIR}" |
| 16 | |
| 17 | do_install() { |
| 18 | install -m 0644 -D gbs-ipmi-fru.yaml \ |
| 19 | ${D}${datadir}/${BPN}/ipmi-fru-read.yaml |
| 20 | install -m 0644 -D gbs-ipmi-sensors.yaml \ |
| 21 | ${D}${datadir}/${BPN}/ipmi-sensors.yaml |
| 22 | install -m 0644 -D gbs-ipmi-fru-properties.yaml \ |
| 23 | ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml |
George Hung | 9329645 | 2021-04-28 07:27:11 +0800 | [diff] [blame] | 24 | install -m 0644 -D gbs-ipmi-inventory-sensors.yaml \ |
| 25 | ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml |
George Hung | 0a16c20 | 2020-05-22 18:13:40 +0800 | [diff] [blame] | 26 | } |
| 27 | |
Brandon Kim | 1e42709 | 2021-08-10 15:46:03 -0700 | [diff] [blame^] | 28 | FILES:${PN}-dev = " \ |
George Hung | 0a16c20 | 2020-05-22 18:13:40 +0800 | [diff] [blame] | 29 | ${datadir}/${BPN}/ipmi-fru-read.yaml \ |
| 30 | ${datadir}/${BPN}/ipmi-sensors.yaml \ |
| 31 | ${datadir}/${BPN}/ipmi-extra-properties.yaml \ |
George Hung | 9329645 | 2021-04-28 07:27:11 +0800 | [diff] [blame] | 32 | ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \ |
George Hung | 0a16c20 | 2020-05-22 18:13:40 +0800 | [diff] [blame] | 33 | " |
| 34 | |
Brandon Kim | 1e42709 | 2021-08-10 15:46:03 -0700 | [diff] [blame^] | 35 | ALLOW_EMPTY:${PN} = "1" |