summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host
diff options
context:
space:
mode:
authorDeepak Kodihalli <dkodihal@in.ibm.com>2017-07-25 18:14:28 +0300
committerPatrick Williams <patrick@stwcx.xyz>2017-08-01 16:15:03 +0300
commitba986b88d087366c6925b4f5b32bf2adc847e5c0 (patch)
treeaccacf34ea51d2726ffb72067bb73d080f152207 /meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host
parent6316a540d0e5f99fbff56fae3ad2e2a6cfe20407 (diff)
downloadopenbmc-ba986b88d087366c6925b4f5b32bf2adc847e5c0.tar.xz
Add dependency on settings D-Bus objects
Change-Id: I0e7e84f191f6a466b0f84c6d4f490816331f141f Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host')
-rw-r--r--meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service
index febbe87c89..aec95b8a45 100644
--- a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service
+++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service
@@ -1,7 +1,17 @@
[Unit]
Description=Phosphor Inband IPMI
+# TODO openbmc/openbmc#2059 - The wants/after below should be based on providers
+Wants=mapper-wait@-xyz-openbmc_project-control-host0-boot_mode.service
+After=mapper-wait@-xyz-openbmc_project-control-host0-boot_mode.service
+Wants=mapper-wait@-xyz-openbmc_project-control-host0-boot_source.service
+After=mapper-wait@-xyz-openbmc_project-control-host0-boot_source.service
+Wants=mapper-wait@-xyz-openbmc_project-control-host0-power_restore_policy.service
+After=mapper-wait@-xyz-openbmc_project-control-host0-power_restore_policy.service
+Wants=mapper-wait@-xyz-openbmc_project-control-host0-restriction_mode.service
+After=mapper-wait@-xyz-openbmc_project-control-host0-restriction_mode.service
Wants=clear-once.service
After=clear-once.service
+# TODO openbmc/openbmc#2008 - remove wants/after on the old settings below
Wants=mapper-wait@-org-openbmc-settings-host0.service
After=mapper-wait@-org-openbmc-settings-host0.service