Thang Q. Nguyen | 38e8413 | 2021-02-05 14:38:50 +0000 | [diff] [blame] | 1 | SUMMARY = "YAML configuration for Mt.Jade" |
| 2 | PR = "r1" |
| 3 | LICENSE = "Apache-2.0" |
| 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" |
| 5 | inherit allarch |
| 6 | |
| 7 | SRC_URI = " \ |
Thang Q. Nguyen | f8fadb8 | 2021-06-22 06:07:13 +0000 | [diff] [blame] | 8 | file://ipmi-sensors-${MACHINE}.yaml \ |
Thang Q. Nguyen | 38e8413 | 2021-02-05 14:38:50 +0000 | [diff] [blame] | 9 | file://mtjade-ipmi-fru.yaml \ |
| 10 | file://mtjade-ipmi-fru-properties.yaml \ |
| 11 | " |
| 12 | |
| 13 | S = "${WORKDIR}" |
| 14 | |
| 15 | do_install() { |
Thang Q. Nguyen | f8fadb8 | 2021-06-22 06:07:13 +0000 | [diff] [blame] | 16 | install -m 0644 -D ipmi-sensors-${MACHINE}.yaml \ |
| 17 | ${D}${datadir}/${BPN}/ipmi-sensors-${MACHINE}.yaml |
Thang Q. Nguyen | 38e8413 | 2021-02-05 14:38:50 +0000 | [diff] [blame] | 18 | cat mtjade-ipmi-fru.yaml > fru-read.yaml |
| 19 | install -m 0644 -D mtjade-ipmi-fru-properties.yaml \ |
| 20 | ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml |
| 21 | install -m 0644 -D fru-read.yaml \ |
| 22 | ${D}${datadir}/${BPN}/ipmi-fru-read.yaml |
| 23 | } |
| 24 | |
| 25 | FILES_${PN}-dev = " \ |
Thang Q. Nguyen | f8fadb8 | 2021-06-22 06:07:13 +0000 | [diff] [blame] | 26 | ${datadir}/${BPN}/ipmi-sensors-${MACHINE}.yaml \ |
Thang Q. Nguyen | 38e8413 | 2021-02-05 14:38:50 +0000 | [diff] [blame] | 27 | ${datadir}/${BPN}/ipmi-extra-properties.yaml \ |
| 28 | ${datadir}/${BPN}/ipmi-fru-read.yaml \ |
| 29 | " |
| 30 | |
| 31 | ALLOW_EMPTY_${PN} = "1" |