From 7fc35dd2b34b65b619ec19de7e01d49412241e2b Mon Sep 17 00:00:00 2001 From: Matt Spinler Date: Fri, 12 Feb 2021 09:56:17 -0600 Subject: 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 Change-Id: Id5a7ce7590efe82eb1f9615853cabd58ac269c24 --- meta-phosphor/recipes-phosphor/fans/phosphor-fan_git.bb | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'meta-phosphor/recipes-phosphor/fans') 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" -- cgit v1.2.3