bmc-reset: call new host reset check service
This service will only run in the following condition:
- Chassis power is on when the BMC comes out of reset
- Host state management is unable to communicate with the host over IPMI
or PLDM channels
Tested:
- Verified service does not run if chassis power is not on when coming
to BMC Ready (i..e /run/openbmc/chassis@0-on present)
- Verified service does not run if host has responded over PLDM or IPMI
(i.e. /run/openbmc/host@0-on present)
- Verified if we get past the above checks, the hw procedure is called
as expected
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I761c7333949f9c0e1e7505b686afc4ca537346fd
diff --git a/meson.build b/meson.build
index 47760aa..01467dc 100644
--- a/meson.build
+++ b/meson.build
@@ -79,6 +79,7 @@
'service_files/set-spi-mux.service',
'service_files/phal-reinit-devtree.service',
'service_files/proc-pre-poweroff@.service',
+ 'service_files/op-reset-host-check@.service',
]
unit_subs.set('ENABLE_PHAL_TRUE', '')
endif