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 = " \ |
| 8 | file://mtjade-ipmi-fru.yaml \ |
| 9 | file://mtjade-ipmi-fru-properties.yaml \ |
| 10 | " |
| 11 | |
| 12 | S = "${WORKDIR}" |
| 13 | |
| 14 | do_install() { |
| 15 | cat mtjade-ipmi-fru.yaml > fru-read.yaml |
| 16 | install -m 0644 -D mtjade-ipmi-fru-properties.yaml \ |
| 17 | ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml |
| 18 | install -m 0644 -D fru-read.yaml \ |
| 19 | ${D}${datadir}/${BPN}/ipmi-fru-read.yaml |
| 20 | } |
| 21 | |
| 22 | FILES_${PN}-dev = " \ |
| 23 | ${datadir}/${BPN}/ipmi-extra-properties.yaml \ |
| 24 | ${datadir}/${BPN}/ipmi-fru-read.yaml \ |
| 25 | " |
| 26 | |
| 27 | ALLOW_EMPTY_${PN} = "1" |