commit | 604b41d777d41ff7d90d641af06060f376727299 | [log] [tgz] |
---|---|---|
author | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | Fri Aug 04 20:52:30 2017 +0530 |
committer | Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> | Mon Aug 07 12:00:05 2017 +0530 |
tree | 39ed9813138d40c462ad4a947950858b4c38c8b1 | |
parent | 91af06d3e435fd6409c4ca6b7899efd60a793706 [diff] |
Add 5 seconds delay before processing host checkstop At checkstop, OCC does some house keeping such as debug data collection and hence need to delay before processing the checkstop condition. 5 seconds delay is in agreement with Hostboot. Fixes openbmc/openbmc#2094 Change-Id: Ibeadd167968c374efa1553e972b11ec56a41f015 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service index 67f314b..f925cdf 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service
@@ -3,6 +3,9 @@ Before=obmc-host-quiesce@%i.target [Service] +# Adding 5 seconds to allow OCC to collect debug data +# before processing checkstop +ExecStart={base_bindir}/sleep 5 ExecStart={sbindir}/checkstop_app Type=oneshot Restart=no