blob: cf154eee6ab4ae0a9f0d2c86e2da32741332093d [file] [log] [blame]
Thang Q. Nguyen38e84132021-02-05 14:38:50 +00001SUMMARY = "YAML configuration for Mt.Jade"
2PR = "r1"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
5inherit allarch
6
7SRC_URI = " \
Thang Q. Nguyenf8fadb82021-06-22 06:07:13 +00008 file://ipmi-sensors-${MACHINE}.yaml \
Thang Q. Nguyen38e84132021-02-05 14:38:50 +00009 file://mtjade-ipmi-fru.yaml \
10 file://mtjade-ipmi-fru-properties.yaml \
11 "
12
13S = "${WORKDIR}"
14
15do_install() {
Thang Q. Nguyenf8fadb82021-06-22 06:07:13 +000016 install -m 0644 -D ipmi-sensors-${MACHINE}.yaml \
17 ${D}${datadir}/${BPN}/ipmi-sensors-${MACHINE}.yaml
Thang Q. Nguyen38e84132021-02-05 14:38:50 +000018 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
25FILES_${PN}-dev = " \
Thang Q. Nguyenf8fadb82021-06-22 06:07:13 +000026 ${datadir}/${BPN}/ipmi-sensors-${MACHINE}.yaml \
Thang Q. Nguyen38e84132021-02-05 14:38:50 +000027 ${datadir}/${BPN}/ipmi-extra-properties.yaml \
28 ${datadir}/${BPN}/ipmi-fru-read.yaml \
29 "
30
31ALLOW_EMPTY_${PN} = "1"