diff options
author | Patrick Venture <venture@google.com> | 2018-10-26 19:37:21 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-10-27 21:29:03 +0300 |
commit | fec8b042a30f2a2d8e52705433654c1d6fd55d81 (patch) | |
tree | a4912bd1c46f0f89f84ce8a047efc059dd9e2fad /meta-ibm/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis_git.bb | |
parent | 5179eee3aa4fb2c92f4c0784cbfed00113a80a77 (diff) | |
download | openbmc-fec8b042a30f2a2d8e52705433654c1d6fd55d81.tar.xz |
meta-ibm: witherspoon-pfault-analysis: rename as git
Rename witherspoon-pfault-analysis.bb as _git per OE norms.
(From meta-ibm rev: c2133c2aa8cac5935acd4cbf980659041c6c6721)
Change-Id: I65da94d525e2e52265c611144504b5047bff5d67
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis_git.bb')
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis_git.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis_git.bb b/meta-ibm/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis_git.bb new file mode 100644 index 000000000..c0de3e6f9 --- /dev/null +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis_git.bb @@ -0,0 +1,49 @@ +SUMMARY = "Witherspoon Power Fault Analysis" +DESCRIPTION = "Analyzes power devices for faults" +PR = "r1" +PV = "1.0+git${SRCPV}" + +inherit autotools +inherit pkgconfig +inherit obmc-phosphor-systemd +inherit pythonnative + +require ${PN}.inc + +S = "${WORKDIR}/git" + +DEPENDS += " \ + phosphor-logging \ + autoconf-archive-native \ + openpower-dbus-interfaces \ + sdbus++-native \ + sdeventplus \ + " + +RDEPENDS_${PN} += " \ + phosphor-logging \ + phosphor-dbus-interfaces \ + sdbusplus \ + " + +CHASSIS_ON_TGT = "obmc-chassis-poweron@0.target" +SEQ_MONITOR_SVC = "witherspoon-pseq-monitor.service" +SEQ_MONITOR_FMT = "../${SEQ_MONITOR_SVC}:${CHASSIS_ON_TGT}.wants/${SEQ_MONITOR_SVC}" + +SEQ_PGOOD_SVC = "witherspoon-pseq-monitor-pgood.service" +SEQ_PGOOD_FMT = "../${SEQ_PGOOD_SVC}:${CHASSIS_ON_TGT}.wants/${SEQ_PGOOD_SVC}" + +SYSTEMD_SERVICE_${PN} += "${SEQ_MONITOR_SVC} ${SEQ_PGOOD_SVC}" +SYSTEMD_LINK_${PN} += "${SEQ_MONITOR_FMT} ${SEQ_PGOOD_FMT}" + +PSU_MONITOR_TMPL = "witherspoon-power-supply-monitor@.service" +PSU_MONITOR_INSTFMT = "witherspoon-power-supply-monitor@{0}.service" +PSU_MONITOR_TGT = "${SYSTEMD_DEFAULT_TARGET}" +PSU_MONITOR_FMT = "../${PSU_MONITOR_TMPL}:${PSU_MONITOR_TGT}.requires/${PSU_MONITOR_INSTFMT}" + +FILES_witherspoon-psu-monitor = "${sbindir}/witherspoon-psu-monitor" +SYSTEMD_SERVICE_${PN} += "${PSU_MONITOR_TMPL}" +SYSTEMD_LINK_${PN} += "${@compose_list(d, 'PSU_MONITOR_FMT', 'OBMC_POWER_SUPPLY_INSTANCES')}" + +PSU_MONITOR_ENV_FMT = "obmc/power-supply-monitor/power-supply-monitor-{0}.conf" +SYSTEMD_ENVIRONMENT_FILE_${PN} += "${@compose_list(d, 'PSU_MONITOR_ENV_FMT', 'OBMC_POWER_SUPPLY_INSTANCES')}" |