romed8hm3: Enable x86-power-control, add config
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: Ifa6ea971eec3ceef9c2ba4d8ec8b1ef922d21d61
diff --git a/meta-asrock/meta-romed8hm3/recipes-x86/chassis/x86-power-control_%.bbappend b/meta-asrock/meta-romed8hm3/recipes-x86/chassis/x86-power-control_%.bbappend
new file mode 100644
index 0000000..aed15e2
--- /dev/null
+++ b/meta-asrock/meta-romed8hm3/recipes-x86/chassis/x86-power-control_%.bbappend
@@ -0,0 +1,10 @@
+FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
+
+SRC_URI += " \
+ file://power-config-host0.json \
+ "
+
+do_install:append() {
+ install -d ${D}/${datadir}/${PN}
+ install -m 0644 ${WORKDIR}/power-config-host0.json ${D}/${datadir}/${PN}
+}