blob: bde5908e622260491da846330683a054cbddd01c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
SUMMARY = "YAML configuration for NF5280M7"
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://nf5280m7-ipmi-fru.yaml \
file://nf5280m7-ipmi-fru-properties.yaml \
file://nf5280m7-ipmi-inventory-sensors.yaml \
file://nf5280m7-ipmi-sensors.yaml \
"
S = "${WORKDIR}"
do_install() {
cat nf5280m7-ipmi-fru.yaml > fru-read.yaml
install -m 0644 -D nf5280m7-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
install -m 0644 -D nf5280m7-ipmi-inventory-sensors.yaml \
${D}${datadir}/${BPN}/ipmi-inventory-sensors.yaml
install -m 0644 -D nf5280m7-ipmi-sensors.yaml \
${D}${datadir}/${BPN}/ipmi-sensors.yaml
}
FILES:${PN}-dev = " \
${datadir}/${BPN}/ipmi-extra-properties.yaml \
${datadir}/${BPN}/ipmi-fru-read.yaml \
${datadir}/${BPN}/ipmi-inventory-sensors.yaml \
${datadir}/${BPN}/ipmi-sensors.yaml \
"
ALLOW_EMPTY:${PN} = "1"
|