fp5280g2: Fix missing power-supply-monitor configs
Since the SYSTEMD_ENVIRONMENT_FILE_${PN} defined in
obmc-phosphor-systemd.bbclass, and the phosphor-power_%.bbappend have
not inherit obmc-phosphor-systemd, so all of the
power-supply-monitor-*.conf are not installed.
Tested: Built fp5280g2 successfully and includes the
power-supply-monitor configs.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I465476cad7d1e74020cb5ba35d92e335d3391b68
diff --git a/meta-fp5280g2/recipes-phosphor/power/phosphor-power_%.bbappend b/meta-fp5280g2/recipes-phosphor/power/phosphor-power_%.bbappend
index ad1232a..02f0d2b 100644
--- a/meta-fp5280g2/recipes-phosphor/power/phosphor-power_%.bbappend
+++ b/meta-fp5280g2/recipes-phosphor/power/phosphor-power_%.bbappend
@@ -1,5 +1,7 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
+inherit obmc-phosphor-systemd
+
SRC_URI += "file://psu.json"
PSU_MONITOR_ENV_FMT = "obmc/power-supply-monitor/power-supply-monitor-{0}.conf"