commit | 0776ef679a7c3d45c4bfa00ba84a0d94e3482db9 | [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 | 0bab5140cd0482e7bb9d27bca5a6efacc338fe19 | |
parent | 6acaf1acbd9203e7f2792eb3b52f75c4f487073f [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/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service b/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service index 67f314b..f925cdf 100644 --- a/common/recipes-phosphor/debug/openpower-debug-collector/openpower-debug-collector-checkstop@.service +++ b/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