summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-phosphor/occ/openpower-occ-control-config-example-native_git.bb
blob: 394297d6766cf93dd80af7e66fb28d79d255b20f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SUMMARY = "OpenPower OCC Control with example occ sensor IDs"
PR = "r1"
PV = "1.0+git${SRCPV}"

require openpower-occ-control.inc
inherit openpower-occ-control
inherit native

PROVIDES += "virtual/openpower-occ-control-config-native"

S = "${WORKDIR}/git"

# Copies example occ sensor ID yaml file
do_install() {
    SRC=${S}
    install -d ${YAML_DEST}/
    install -D ${SRC}/example/occ_sensor.yaml ${YAML_DEST}/occ_sensor.yaml
}