diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2022-03-10 00:56:34 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2022-03-11 02:10:23 +0300 |
commit | 4c7b3e6926a15b7293232cf0dfc6eb1cc59f72ef (patch) | |
tree | b4e852de466e768b90d1614dc8840331fe492f51 /meta-quanta | |
parent | 80a13f8873d8ce85fd5598aff7fd538aebdf959f (diff) | |
download | openbmc-4c7b3e6926a15b7293232cf0dfc6eb1cc59f72ef.tar.xz |
phosphor-state-manager: create symlinks based on host-instances
As prep work for the multi-host designs, update the target generation
to take into account the OBMC_HOST_INSTANCES value and generate the
targets and links using it.
Tested:
Booted Witherspoon in QEMU and compared /lib/systemd/system before
and after the change. Obtained the same results in both:
```
root@witherspoon:/lib/systemd/system# find | sort | md5sum
27b2eee499f272cf78b1384ad50a6bb8 -
```
Booted Bletchley in QEMU and confirmed that the undesired @0 targets
are no longer present in the `systemctl list-jobs` after boot.
```
root@bletchley:~# systemctl list-jobs | awk '{ print $2; }' | grep -e service -e target | grep 0
mapper-wait@-xyz-openbmc_project-control-host0-power_restore_policy.service
mapper-wait@-xyz-openbmc_project-control-host0-auto_reboot.service
```
(These remaining ones are induced by xyz.openbmc_project.State.Host,
which still needs some clean up.)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Iff058ecaa74a4cd4d830543b3a9c4fe0305595a8
Diffstat (limited to 'meta-quanta')
0 files changed, 0 insertions, 0 deletions