commit | 6896c6e6eb3f38f5967f0af08a0aa4660b926593 | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@inspur.com> | Thu May 27 09:22:56 2021 +0800 |
committer | George Liu <liuxiwei@inspur.com> | Thu May 27 06:55:15 2021 +0000 |
tree | 03b992e8079773d981609b96ac33f1f8262efb82 | |
parent | 3de55f203593c1ddbf78313a60b1a8377ab3669a [diff] |
fp5280g2: power: Enable power supply monitor feature This commit enables support for power supply monitoring Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I815ebd2e6135c4e858744c8c5d48121ccc7689dc
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/power/phosphor-power_%.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/power/phosphor-power_%.bbappend index 9075cd3..b9c22be 100644 --- a/meta-inspur/meta-fp5280g2/recipes-phosphor/power/phosphor-power_%.bbappend +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/power/phosphor-power_%.bbappend
@@ -3,6 +3,8 @@ SRC_URI += "file://psu.json" +PACKAGECONFIG_append = " monitor" + PSU_MONITOR_ENV_FMT = "obmc/power-supply-monitor/power-supply-monitor-{0}.conf" SYSTEMD_ENVIRONMENT_FILE_${PN}-monitor_append_fp5280g2 = " ${@compose_list(d, 'PSU_MONITOR_ENV_FMT', 'OBMC_POWER_SUPPLY_INSTANCES')}"