summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
diff options
context:
space:
mode:
authorDhruvaraj S <dhruvaraj@in.ibm.com>2017-03-23 05:18:44 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-03-27 16:31:45 +0000
commit5a3d0d20c9f621ab33e1d461f9540d9bcb17b5be (patch)
tree32e51eb51e8312915516b87bb76d48cde628040b /meta-phosphor
parent3a2a5866513cb9fea73bd6a2cb9043c7d8d4586d (diff)
downloadtalos-openbmc-5a3d0d20c9f621ab33e1d461f9540d9bcb17b5be.tar.gz
talos-openbmc-5a3d0d20c9f621ab33e1d461f9540d9bcb17b5be.zip
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')
-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 5245846dd..d612d61ce 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
OpenPOWER on IntegriCloud