blob: cf154eee6ab4ae0a9f0d2c86e2da32741332093d [file] [log] [blame]
SUMMARY = "YAML configuration for Mt.Jade"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
inherit allarch
SRC_URI = " \
file://ipmi-sensors-${MACHINE}.yaml \
file://mtjade-ipmi-fru.yaml \
file://mtjade-ipmi-fru-properties.yaml \
"
S = "${WORKDIR}"
do_install() {
install -m 0644 -D ipmi-sensors-${MACHINE}.yaml \
${D}${datadir}/${BPN}/ipmi-sensors-${MACHINE}.yaml
cat mtjade-ipmi-fru.yaml > fru-read.yaml
install -m 0644 -D mtjade-ipmi-fru-properties.yaml \
${D}${datadir}/${BPN}/ipmi-extra-properties.yaml
install -m 0644 -D fru-read.yaml \
${D}${datadir}/${BPN}/ipmi-fru-read.yaml
}
FILES_${PN}-dev = " \
${datadir}/${BPN}/ipmi-sensors-${MACHINE}.yaml \
${datadir}/${BPN}/ipmi-extra-properties.yaml \
${datadir}/${BPN}/ipmi-fru-read.yaml \
"
ALLOW_EMPTY_${PN} = "1"