summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/chassis
diff options
context:
space:
mode:
authorDhruvaraj S <dhruvaraj@in.ibm.com>2017-03-23 13:18:44 +0300
committerPatrick Williams <patrick@stwcx.xyz>2017-03-27 19:31:45 +0300
commit5a3d0d20c9f621ab33e1d461f9540d9bcb17b5be (patch)
tree32e51eb51e8312915516b87bb76d48cde628040b /meta-phosphor/common/recipes-phosphor/chassis
parent3a2a5866513cb9fea73bd6a2cb9043c7d8d4586d (diff)
downloadopenbmc-5a3d0d20c9f621ab33e1d461f9540d9bcb17b5be.tar.xz
Add a timeout to poweron service to prevent hang
Ensure we go to quiesce state on a pgood timeout resolves openbmc/openbmc#1321 Change-Id: I53d71f7629767194d20c06e773fb96b64db1bb85 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/chassis')
-rw-r--r--meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service
index 5245846dd1..d612d61ceb 100644
--- a/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service
+++ b/meta-phosphor/common/recipes-phosphor/chassis/obmc-op-control-power/op-wait-power-on@.service
@@ -12,6 +12,7 @@ ConditionPathExists=!/run/openbmc/chassis@%i-on
Type=oneshot
RemainAfterExit=yes
ExecStart={sbindir}/pgood_wait /org/openbmc/control/power%i on
+TimeoutSec=30
[Install]
WantedBy=obmc-chassis-start@%i.target