summaryrefslogtreecommitdiff
path: root/meta-openpower
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2021-01-12 23:01:52 +0300
committerAndrew Geissler <geissonator@yahoo.com>2021-01-13 20:14:55 +0300
commit5ef7ef3a90245eca38b3fca8f32091f1935a1703 (patch)
tree5d82217ed8f3a546cd5f2597b4402129afbd35e1 /meta-openpower
parentf51034c65dd6311dc107389bdde82dd86ce01a9c (diff)
downloadopenbmc-5ef7ef3a90245eca38b3fca8f32091f1935a1703.tar.xz
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>
Diffstat (limited to 'meta-openpower')
-rw-r--r--meta-openpower/recipes-phosphor/host/op-host-control/start_host@.service1
1 files changed, 1 insertions, 0 deletions
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 825275ae7..aa12be325 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