summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/chassis
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2021-08-12 17:32:41 +0300
committerPatrick Williams <patrick@stwcx.xyz>2021-08-12 20:06:50 +0300
commitaf236944a767986579395001ccc0953dafeff7dc (patch)
tree2211fdb1fffbc12315b083eb90d6cd97f03dc060 /meta-phosphor/recipes-phosphor/chassis
parent970fcf5c9f822121aa271a4e5931a46c2ddf7e81 (diff)
downloadopenbmc-af236944a767986579395001ccc0953dafeff7dc.tar.xz
op-power-start: ensure runs after pre power on target
If no one else has started this synchronization target before this service starts then it will run without waiting since there is no Wants clause. Add the Wants clause to ensure proper synchronization occurs. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I5db6a5800d5456efd97d0f8c2eabd9113d725370
Diffstat (limited to 'meta-phosphor/recipes-phosphor/chassis')
-rw-r--r--meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service b/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service
index c1de92f3b..82b793866 100644
--- a/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service
+++ b/meta-phosphor/recipes-phosphor/chassis/obmc-op-control-power/op-power-start@.service
@@ -2,6 +2,7 @@
Description=Start Power%i
Wants=obmc-power-start@%i.target
Before=obmc-power-start@%i.target
+Wants=obmc-power-start-pre@%i.target
After=obmc-power-start-pre@%i.target
After=obmc-fan-control.target
Wants=mapper-wait@-org-openbmc-control-power%i.service