diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2017-03-15 06:42:33 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-03-16 00:23:49 +0300 |
commit | 0467dff0309afdf82660b35f461b9a17677c5a6d (patch) | |
tree | b5fa21452becd27209eac7eafb66c115caf14c92 /meta-phosphor/common/recipes-phosphor/inventory | |
parent | ab241060659b8d054f391622cf383ccefa23ff9d (diff) | |
download | openbmc-0467dff0309afdf82660b35f461b9a17677c5a6d.tar.xz |
inventory-manager: add Before stmt for service
Ensure the service advertises the primary object it
creates so that mapper-wait calls can be deferred by
systemd correctly.
Change-Id: I8510420320bc7f9d0327a5c0372eb14144392267
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/inventory')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/inventory/phosphor-inventory-manager/xyz.openbmc_project.Inventory.Manager.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/inventory/phosphor-inventory-manager/xyz.openbmc_project.Inventory.Manager.service b/meta-phosphor/common/recipes-phosphor/inventory/phosphor-inventory-manager/xyz.openbmc_project.Inventory.Manager.service index fe0d6d4c9..707e2504c 100644 --- a/meta-phosphor/common/recipes-phosphor/inventory/phosphor-inventory-manager/xyz.openbmc_project.Inventory.Manager.service +++ b/meta-phosphor/common/recipes-phosphor/inventory/phosphor-inventory-manager/xyz.openbmc_project.Inventory.Manager.service @@ -1,5 +1,6 @@ [Unit] Description=Phosphor Inventory Manager +Before=mapper-wait@-xyz-openbmc_project-inventory.service [Service] Restart=always |