diff options
author | Andrew Geissler <andrewg@us.ibm.com> | 2017-05-27 01:40:03 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-06-03 15:57:36 +0300 |
commit | 5208dbd3b5dfbdfd29f567475ab81c524c1f999e (patch) | |
tree | 133d52ce889c34a8d12188007ce52df8131f57c4 /meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host | |
parent | 4faabf42fbc0be6214d81e80ab321c837bdd7984 (diff) | |
download | openbmc-5208dbd3b5dfbdfd29f567475ab81c524c1f999e.tar.xz |
Ensure host-shutdown target calls the host-stop target
As a part of the soft power off (host-shutdown) ensure
that the host-stop target always gets called. Updated the
involved services to ensure they are run in the correct order.
Change-Id: I7e9113631786f0d0cb0f89b94c4b97fdc0328e7b
Signed-off-by: Andrew Geissler <andrewg@us.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/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service index aaba630f22..d1a814fd07 100644 --- a/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service +++ b/meta-phosphor/common/recipes-phosphor/ipmi/phosphor-ipmi-host/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service @@ -2,6 +2,8 @@ Description=Soft power off of the host Wants=mapper-wait@-org-openbmc-HostIpmi-1.service After=mapper-wait@-org-openbmc-HostIpmi-1.service +Wants=obmc-host-stopping@0.target +Before=obmc-host-stopping@0.target [Service] Restart=no |