Konstantin Aladyshev | 16a8c79 | 2023-01-17 14:30:48 +0300 | [diff] [blame^] | 1 | SUMMARY = "YAML configuration for Daytonax" |
| 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://daytonax-ipmi-fru.yaml \ |
| 10 | file://daytonax-ipmi-fru-properties.yaml \ |
| 11 | file://daytonax-ipmi-sensors.yaml \ |
| 12 | " |
| 13 | |
| 14 | S = "${WORKDIR}" |
| 15 | |
| 16 | do_install() { |
| 17 | cat daytonax-ipmi-fru.yaml > fru-read.yaml |
| 18 | |
| 19 | install -m 0644 -D daytonax-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 | install -m 0644 -D daytonax-ipmi-sensors.yaml \ |
| 24 | ${D}${datadir}/${BPN}/ipmi-sensors.yaml |
| 25 | } |
| 26 | |
| 27 | FILES:${PN}-dev = " \ |
| 28 | ${datadir}/${BPN}/ipmi-extra-properties.yaml \ |
| 29 | ${datadir}/${BPN}/ipmi-fru-read.yaml \ |
| 30 | ${datadir}/${BPN}/ipmi-sensors.yaml \ |
| 31 | " |
| 32 | |
| 33 | ALLOW_EMPTY:${PN} = "1" |