From fa46cac0fccd27e4555dd1fe0008f39f0d5a4565 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Mon, 14 Jan 2019 15:42:09 -0600 Subject: Ensure host-check runs after ipmid It has been found that multiple apps implement the /xyz/openbmc_project/control/host0 object path. The host-check service requires the one provided by the xyz.openbmc_project.Control.Host service but the mapper command line currently has no way to differentiate this. Specify explicitly the service required Resolves openbmc/phosphor-state-manager#2 (From meta-phosphor rev: 2d02ee8049f9c6b893435df52817c6ba5dfe8577) Change-Id: Iffb09e3125cf6614cb887d693a9b7812374f4e69 Signed-off-by: Andrew Geissler Signed-off-by: Brad Bishop --- .../recipes-phosphor/state/files/phosphor-reset-host-check@.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta-phosphor/recipes-phosphor/state') diff --git a/meta-phosphor/recipes-phosphor/state/files/phosphor-reset-host-check@.service b/meta-phosphor/recipes-phosphor/state/files/phosphor-reset-host-check@.service index 6062320b2..075ac500b 100644 --- a/meta-phosphor/recipes-phosphor/state/files/phosphor-reset-host-check@.service +++ b/meta-phosphor/recipes-phosphor/state/files/phosphor-reset-host-check@.service @@ -1,7 +1,7 @@ [Unit] Description=Check Host%i status on BMC reset -Wants=mapper-wait@-xyz-openbmc_project-control-host%i.service -After=mapper-wait@-xyz-openbmc_project-control-host%i.service +Wants=phosphor-ipmi-host.service +After=phosphor-ipmi-host.service Wants=obmc-host-reset-running@%i.target Before=obmc-host-reset-running@%i.target Wants=op-reset-chassis-on@%i.service -- cgit v1.2.3