meta-openpower: occ-control-config-example-native: rename as git
Rename openpower-occ-control-config-example-native as git per OE norms.
Change-Id: Ieb3537cac07977615d092b85b441de94e7704122
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/recipes-phosphor/occ/openpower-occ-control-config-example-native_git.bb b/recipes-phosphor/occ/openpower-occ-control-config-example-native_git.bb
new file mode 100644
index 0000000..723d59e
--- /dev/null
+++ b/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
+}