commit | 5a3d0d20c9f621ab33e1d461f9540d9bcb17b5be | [log] [tgz] |
---|---|---|
author | Dhruvaraj S <dhruvaraj@in.ibm.com> | Thu Mar 23 05:18:44 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Mar 27 16:31:45 2017 +0000 |
tree | 32e51eb51e8312915516b87bb76d48cde628040b | |
parent | 3a2a5866513cb9fea73bd6a2cb9043c7d8d4586d [diff] |
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>
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 5245846..d612d61 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 @@ Type=oneshot RemainAfterExit=yes ExecStart={sbindir}/pgood_wait /org/openbmc/control/power%i on +TimeoutSec=30 [Install] WantedBy=obmc-chassis-start@%i.target