commit | 0467dff0309afdf82660b35f461b9a17677c5a6d | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Tue Mar 14 22:42:33 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Mar 15 21:23:49 2017 +0000 |
tree | b5fa21452becd27209eac7eafb66c115caf14c92 | |
parent | ab241060659b8d054f391622cf383ccefa23ff9d [diff] |
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>
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 fe0d6d4..707e250 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