blob: c1f866f2d268a9d9d1bdaed57cb7dbe5db13aed8 [file] [log] [blame]
George Hung0a16c202020-05-22 18:13:40 +08001SUMMARY = "YAML configuration for gbs"
2PR = "r1"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
5
6inherit allarch
7
8SRC_URI = " \
9 file://gbs-ipmi-fru.yaml \
10 file://gbs-ipmi-sensors.yaml \
11 file://gbs-ipmi-fru-properties.yaml \
George Hung93296452021-04-28 07:27:11 +080012 file://gbs-ipmi-inventory-sensors.yaml \
George Hung0a16c202020-05-22 18:13:40 +080013 "
14
15S = "${WORKDIR}"
16
17do_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 Hung93296452021-04-28 07:27:11 +080024 install -m 0644 -D gbs-ipmi-inventory-sensors.yaml \
25 ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml
George Hung0a16c202020-05-22 18:13:40 +080026}
27
Brandon Kim1e427092021-08-10 15:46:03 -070028FILES:${PN}-dev = " \
George Hung0a16c202020-05-22 18:13:40 +080029 ${datadir}/${BPN}/ipmi-fru-read.yaml \
30 ${datadir}/${BPN}/ipmi-sensors.yaml \
31 ${datadir}/${BPN}/ipmi-extra-properties.yaml \
George Hung93296452021-04-28 07:27:11 +080032 ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \
George Hung0a16c202020-05-22 18:13:40 +080033 "
34
Brandon Kim1e427092021-08-10 15:46:03 -070035ALLOW_EMPTY:${PN} = "1"