commit | b78c6def968a515c5b9f2d44f44c24b19134b6d5 | [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 | 82ea5d2eec7f859ab050dbc1b7a21aecc33aebb0 | |
parent | dc65122dbae06ba713945b93960dac998251b746 [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/meta-phosphor/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service b/meta-phosphor/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service index 386e906..50f4189 100644 --- a/meta-phosphor/common/recipes-phosphor/settings/phosphor-settings/org.openbmc.settings.Host.service +++ b/meta-phosphor/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/meta-phosphor/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service b/meta-phosphor/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service index 2a07c2b..681abb4 100644 --- a/meta-phosphor/common/recipes-phosphor/system/obmc-mgr-state/obmc-mgr-state.service +++ b/meta-phosphor/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