blob: 590bde86a08242c4c344dfc51b13f9b3bbc2e03c [file] [log] [blame]
Joseph Fu0de48562022-01-26 14:37:42 +08001SUMMARY = "YAML configuration for s6q"
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://ipmi-fru.yaml \
10 file://ipmi-fru-properties.yaml \
Joseph Fue4f37922022-02-23 13:40:23 +080011 file://ipmi-sensors.yaml \
Joseph Fu7e6f2612022-02-24 11:11:12 +080012 file://ipmi-inventory-sensors.yaml \
Joseph Fu0de48562022-01-26 14:37:42 +080013 "
14
15S = "${WORKDIR}"
16
17do_install() {
18 install -m 0644 -D ipmi-fru.yaml ${D}${datadir}/${BPN}/ipmi-fru-read.yaml
19 install -m 0644 -D ipmi-fru-properties.yaml ${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
Joseph Fue4f37922022-02-23 13:40:23 +080020 install -m 0644 -D ipmi-sensors.yaml ${D}${datadir}/${BPN}/ipmi-sensors.yaml
Joseph Fu7e6f2612022-02-24 11:11:12 +080021 install -m 0644 -D ipmi-inventory-sensors.yaml ${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml
Joseph Fu0de48562022-01-26 14:37:42 +080022}
23
24FILES:${PN}-dev = " \
25 ${datadir}/${BPN}/ipmi-fru-read.yaml \
26 ${datadir}/${BPN}/ipmi-extra-properties.yaml \
Joseph Fue4f37922022-02-23 13:40:23 +080027 ${datadir}/${BPN}/ipmi-sensors.yaml \
Joseph Fu7e6f2612022-02-24 11:11:12 +080028 ${datadir}/${BPN}/ipmi-inventory-sensors.yaml \
Joseph Fu0de48562022-01-26 14:37:42 +080029 "
30
31ALLOW_EMPTY:${PN} = "1"