summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-core
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-06-08 20:20:07 +0300
committerPatrick Williams <patrick@stwcx.xyz>2017-06-21 19:12:38 +0300
commit00714a4b9ee63f8241e90f17cdf5ae8727f21ad5 (patch)
tree9f84cc0ec6204ca3424bb2276c56d72561c0c79f /meta-phosphor/common/recipes-core
parenta1bc1d2f9e6cc1fd8a59da7e01ad7ee8b771a302 (diff)
downloadopenbmc-00714a4b9ee63f8241e90f17cdf5ae8727f21ad5.tar.xz
Add fan watchdog takeover target
When this target is started, the fan watchdog will take over fan speed control and move fans to full speed. This will be done by having other services conflict with this target. Change-Id: I00c00a835cc2f7087baa1649d582287628b01401 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-core')
-rw-r--r--meta-phosphor/common/recipes-core/systemd/obmc-targets.bb1
-rw-r--r--meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-fan-watchdog-takeover.target6
2 files changed, 7 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb b/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb
index 1763879fa..3e217bc41 100644
--- a/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb
+++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets.bb
@@ -66,6 +66,7 @@ SYSTEMD_SERVICE_${PN} += " \
obmc-fans-ready.target \
obmc-fan-control.target \
obmc-fan-control-ready@.target \
+ obmc-fan-watchdog-takeover.target \
obmc-standby.target \
"
diff --git a/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-fan-watchdog-takeover.target b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-fan-watchdog-takeover.target
new file mode 100644
index 000000000..803408334
--- /dev/null
+++ b/meta-phosphor/common/recipes-core/systemd/obmc-targets/obmc-fan-watchdog-takeover.target
@@ -0,0 +1,6 @@
+#The system implementation should start this target when dynamic fan control
+#is no longer desired or possible. It should also add units to this target
+#that enabled continued operation after dynamic fan control is no longer
+#desired or possible.
+[Unit]
+Description=Fan watchdog takeover target