summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2018-11-25 23:20:44 -0600
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-11-28 09:45:18 -0500
commit01f149c02c90389f51f2c4eaf5519f9bf2aa57d0 (patch)
tree5f36a91d7478a16d9c5ced615c8911e345a9ff73 /meta-phosphor
parent77ec7bd4a9734b7b0d6e7fa8ae5190ef685637bf (diff)
downloadtalos-openbmc-01f149c02c90389f51f2c4eaf5519f9bf2aa57d0.tar.gz
talos-openbmc-01f149c02c90389f51f2c4eaf5519f9bf2aa57d0.zip
recipes-phosphor: Fix systemd unit dependences of ipmid, mboxd
With the implementation of DBus and IPMI transports for the HIOMAP protocol, mboxd now depends on ipmid being alive in its shutdown sequence in order to propagate BMC status events to the host firmware. Mark phosphor-ipmi-host.service as depending on org.openbmc.HostIpmi.service and mboxd as depending on phosphor-ipmi-host.service to ensure the mboxd state update event on SIGTERM is propagated to the host before the services are torn down. (From meta-phosphor rev: e66105318af187ba5d4bdbf53668f309785df4f3) Change-Id: Ia9ff24d0d3376d239b56840d666275d20821c7e6 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r--meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service2
-rw-r--r--meta-phosphor/recipes-phosphor/mboxd/mboxd/mboxd.service3
2 files changed, 4 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service
index ef24bd016..74f8218a9 100644
--- a/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service
+++ b/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-host/phosphor-ipmi-host.service
@@ -11,6 +11,8 @@ 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
+Requires=org.openbmc.HostIpmi.service
+After=org.openbmc.HostIpmi.service
[Service]
Restart=always
diff --git a/meta-phosphor/recipes-phosphor/mboxd/mboxd/mboxd.service b/meta-phosphor/recipes-phosphor/mboxd/mboxd/mboxd.service
index 35081d85a..28e4ff4f3 100644
--- a/meta-phosphor/recipes-phosphor/mboxd/mboxd/mboxd.service
+++ b/meta-phosphor/recipes-phosphor/mboxd/mboxd/mboxd.service
@@ -4,7 +4,8 @@ BindsTo=dev-aspeed\x2dlpc\x2dctrl.device
After=dev-aspeed\x2dlpc\x2dctrl.device
BindsTo=dev-aspeed\x2dmbox.device
After=dev-aspeed\x2dmbox.device
-
+Requires=phosphor-ipmi-host.service
+After=phosphor-ipmi-host.service
[Service]
Restart=always
OpenPOWER on IntegriCloud