diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2022-03-04 00:48:33 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2022-03-09 01:19:23 +0300 |
commit | 60043fe7b4ec554303d67d4e4a906dad4508c5c5 (patch) | |
tree | 441b3f9157bbe8c350050cc0bc33144dff5b3f79 /meta-aspeed | |
parent | 37db8f280c7d45e6d9def5dfc6e1f2bdeec6b6a6 (diff) | |
download | openbmc-60043fe7b4ec554303d67d4e4a906dad4508c5c5.tar.xz |
phosphor-ipmi-host: support multi-host settings depends
The phosphor-ipmi-host.service has hard-coded dependencies on various
dbus objects, typically exposed by phosphor-settingsd, which provide
per-host data. When built on a multi-host system, the hard-coded
dependency on 'host0' instances is incorrect.
Add support in the recipe for injecting dependencies into the service,
via the `service.d` override directory, during the bitbake 'do_install'
step so that the OBMC_HOST_INSTANCES can be evaluated and dependencies
added per-host.
Also add a variable, IPMI_HOST_NEEDED_SERVICES, which allows bbappend
on an as-needed basis to insert or remove these settings dependencies.
Fixes openbmc/openbmc#2059.
Tested: Built on Bletchley and verified the service file has
dependencies on host1-host6 instances instead of host0. Booted in QEMU
and confirmed appropriate service dependencies are functional. Built on
Witherspoon and confirmed the 'host0' dependencies are now added to the
`phosphor-ipmi-host.service.d/10-override.conf` file.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I83d873d33fd49b45c08d657c67fc71d473c25208
Diffstat (limited to 'meta-aspeed')
0 files changed, 0 insertions, 0 deletions