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