ensure sbe started after pre target
For the synchronization targets to work correctly, a service must Wants
and After it. The Wants was missing here so there is a race condition
where this may run before the FSI scan service has completed.
(From meta-openpower rev: d1b13abc9dfaca474102bc09939efa417c5eeb3e)
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: If02755f774c40a031ef2f37a3bc1718328da5a1d
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-openpower/recipes-phosphor/host/op-host-control/start_host@.service b/meta-openpower/recipes-phosphor/host/op-host-control/start_host@.service
index 825275a..aa12be3 100644
--- a/meta-openpower/recipes-phosphor/host/op-host-control/start_host@.service
+++ b/meta-openpower/recipes-phosphor/host/op-host-control/start_host@.service
@@ -1,5 +1,6 @@
[Unit]
Description=Start host%i SBE
+Wants=obmc-host-start-pre@%i.target
After=obmc-host-start-pre@%i.target
Wants=obmc-host-starting@%i.target
Before=obmc-host-starting@%i.target