commit | ec34ae2a220d0a20b740c185608670df17afe868 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Tue Nov 15 12:55:59 2016 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Nov 15 13:30:36 2016 -0600 |
tree | c0b7f9d2c5e96358cd66e568519cf0081087e170 | |
parent | a05474f3a74f4b5dff836af2f419f7e73db1c68c [diff] |
phosphor-settingsd: add systemd depends settingsd now does queries for specific objects, so we need those objects to be populated. Add 'Before' and 'Wants' directives for the /org/openbmc/control/Host0 object. Additional fixes for openbmc/openbmc#806. Change-Id: Icd3c40180a84cea58da9a43f0449c066c632c8f0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service b/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service index 386e906..50f4189 100644 --- a/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service +++ b/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service
@@ -1,6 +1,8 @@ [Unit] Description=Phosphor Settings Manager Before=mapper-wait@-org-openbmc-settings-host0.service +Wants=mapper-wait@-org-openbmc-control-host0.service +After=mapper-wait@-org-openbmc-control-host0.service [Service] ExecStart={sbindir}/settings_manager.py
diff --git a/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service b/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service index 2a07c2b..681abb4 100644 --- a/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service +++ b/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service
@@ -2,6 +2,8 @@ Description=Restore Last State Wants=obmc-mgr-state.target After=obmc-mgr-state.target +Wants=mapper-wait@-org-openbmc-settings-host0.service +After=mapper-wait@-org-openbmc-settings-host0.service [Service] Restart=no