diff options
author | Andrew Geissler <geissonator@yahoo.com> | 2018-01-30 17:17:17 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-02-01 17:04:23 +0300 |
commit | 4ef5f7721669ddda42fa635a8dd1357622a34a94 (patch) | |
tree | 140adf87f8c07241453567401dac03ebbf4026c9 /meta-phosphor | |
parent | f5ae3ed19182c96dca55c4ae0ff794ee0900b8eb (diff) | |
download | openbmc-4ef5f7721669ddda42fa635a8dd1357622a34a94.tar.xz |
Don't run mbox reset until dbus object available
The mbox reset command run within this service requires the
mboxd dbus object (org.openbmc.mbox) be available. Prior to this
commit, OpenBMC tended to get lucky with the ordering but there
was no guarantee. This commit will ensure the ordering is
always right.
Resolves openbmc/openbmc#2850
Change-Id: Ia9efeb6e06ac47018d449ee2cab2651bc00ab0ed
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service index 7fb2a5bc3..be02c7a2c 100644 --- a/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service +++ b/meta-phosphor/common/recipes-phosphor/mboxd/mboxd/mboxd-reload@.service @@ -2,6 +2,8 @@ Description=Reload mboxd during power on Wants=obmc-power-start-pre@%i.target Before=obmc-power-start-pre@%i.target +Wants=mapper-wait@-org-openbmc-mboxd.service +After=mapper-wait@-org-openbmc-mboxd.service Conflicts=obmc-chassis-poweroff@%i.target [Service] |