summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/fans
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2021-02-12 18:56:17 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2021-02-25 15:41:18 +0300
commit7fc35dd2b34b65b619ec19de7e01d49412241e2b (patch)
tree1e34ceda3a466d369986d133ce65f09f2e3f8c98 /meta-phosphor/recipes-phosphor/fans
parentab79e2ad6e7dcd18a9663dfa0dca4cfef76bc13f (diff)
downloadopenbmc-7fc35dd2b34b65b619ec19de7e01d49412241e2b.tar.xz
ibm: Install sensor-monitor on rainier
This application resides in the phosphor-fan-presence repo and creates phosphor-logging based event logs for temperature threshold alarms. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id5a7ce7590efe82eb1f9615853cabd58ac269c24
Diffstat (limited to 'meta-phosphor/recipes-phosphor/fans')
-rw-r--r--meta-phosphor/recipes-phosphor/fans/phosphor-fan_git.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/fans/phosphor-fan_git.bb b/meta-phosphor/recipes-phosphor/fans/phosphor-fan_git.bb
index adad34900..e1eb2caca 100644
--- a/meta-phosphor/recipes-phosphor/fans/phosphor-fan_git.bb
+++ b/meta-phosphor/recipes-phosphor/fans/phosphor-fan_git.bb
@@ -119,3 +119,11 @@ SYSTEMD_LINK_${PN}-monitor += "${@compose_list(d, 'FMT_MONITOR_INIT', 'OBMC_CHAS
# --------------------------------------
# phosphor-cooling-type specific configuration
PACKAGECONFIG[cooling-type] = "--enable-cooling-type,--disable-cooling-type,,"
+
+# --------------------------------------
+# ${PN}-sensor-monitor specific configuration
+PACKAGECONFIG[sensor-monitor] = "--enable-sensor-monitor, --disable-sensor-monitor"
+
+FILES_sensor-monitor += " ${bindir}/sensor-monitor"
+SYSTEMD_SERVICE_sensor-monitor += "sensor-monitor.service"
+SYSTEMD_LINK_sensor-monitor += "../sensor-monitor.service:${MULTI_USR_TGT}.wants/sensor-monitor.service"