Add SystemSetup state to allow dump collection
SystemSetup is a BootProgress that indicates the host is booted,
needs to allow host dump collection
Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
Change-Id: I03778c20e482c7beaae9881d34c46f9744c43a16
diff --git a/dump_utils.cpp b/dump_utils.cpp
index f5e12bd..830cce5 100644
--- a/dump_utils.cpp
+++ b/dump_utils.cpp
@@ -112,6 +112,7 @@
// is running.
BootProgress bootProgressStatus = phosphor::dump::getBootProgress();
if ((bootProgressStatus == BootProgress::SystemInitComplete) ||
+ (bootProgressStatus == BootProgress::SystemSetup) ||
(bootProgressStatus == BootProgress::OSStart) ||
(bootProgressStatus == BootProgress::OSRunning) ||
(bootProgressStatus == BootProgress::PCIInit))