meta-openpower: occ-control-config-example-native: rename as git
Rename openpower-occ-control-config-example-native as git per OE norms.
(From meta-openpower rev: 0d7859338497c31603e5c42b54d4db0a7de6939e)
Change-Id: Ic5e94ae8c4266b52d837cc067a51df03c1b8ec61
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-openpower/recipes-phosphor/occ/openpower-occ-control-config-example-native_git.bb b/meta-openpower/recipes-phosphor/occ/openpower-occ-control-config-example-native_git.bb
new file mode 100644
index 0000000..723d59e
--- /dev/null
+++ b/meta-openpower/recipes-phosphor/occ/openpower-occ-control-config-example-native_git.bb
@@ -0,0 +1,18 @@
+SUMMARY = "OpenPower OCC Control with example occ sensor IDs"
+PR = "r1"
+PV = "1.0+git${SRCPV}"
+
+inherit native
+require openpower-occ-control.inc
+inherit openpower-occ-control
+
+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
+}