meta-asrock: e3c256d4i: Enable and configure x86-power-control
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Change-Id: Ic6c5460f587ae141ed69e704e359152713171097
diff --git a/meta-asrock/meta-e3c256d4i/recipes-x86/chassis/x86-power-control_%.bbappend b/meta-asrock/meta-e3c256d4i/recipes-x86/chassis/x86-power-control_%.bbappend
new file mode 100644
index 0000000..aed15e2
--- /dev/null
+++ b/meta-asrock/meta-e3c256d4i/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}
+}