Revision Date Author Comments
# 29755255 03-Dec-2025 Andrew Geissler <geissonator@yahoo.com>

remove installs on templated services and targets

New yocto is getting more stringent on installation of templated service
and targets.

Templated services are installed by bitbake recipes so there'

remove installs on templated services and targets

New yocto is getting more stringent on installation of templated service
and targets.

Templated services are installed by bitbake recipes so there's no
need to have the WantedBy/RequiredBy in those services.

Here's a summary of the error we get for packages which have templated
services doing an install:
```
ERROR: obmc-phosphor-image-1.0-r0 do_rootfs: Postinstall scriptlets of
['<package>' 'inst returned 1, marking as unpacked only, configuration
required on target']
If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
```

Tested:
- Confirmed image builds with new yocto and services are still installed
as expected

Change-Id: I56d9ac7a73dfd6bdaa05eba39d890a8af3605d18
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>

show more ...


# 46068d9b 14-Feb-2023 Brad Bishop <bradleyb@fuzziesquirrel.com>

treewide: remove dependencies on mapper.target

The mapper is dbus activated now, so these explicit dependency
declarations are unnecessary and redundant.

Change-Id: I9898fa6c9918a6ab4fe166acf5d335f

treewide: remove dependencies on mapper.target

The mapper is dbus activated now, so these explicit dependency
declarations are unnecessary and redundant.

Change-Id: I9898fa6c9918a6ab4fe166acf5d335f89c1540fd
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>

show more ...


# cd5a32a6 20-Jan-2023 Andrew Geissler <geissonator@yahoo.com>

service-deps: add missing host state dependencies

The host state manager code makes d-bus calls to both the settings and
dump manager services. The code does not handle these services not being
avai

service-deps: add missing host state dependencies

The host state manager code makes d-bus calls to both the settings and
dump manager services. The code does not handle these services not being
available in a graceful manner (a project for another day) so for now,
ensure these services are defined as needed.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Ide188832dc0e3c71f90d338ac0a06bd2e10c3f19

show more ...


# f9938711 08-Apr-2022 Patrick Williams <patrick@stwcx.xyz>

Host@.service: depend on templated chassis service

The Host@N services are depending on a Chassis@0 service which
may never exist on multi-host systems. For now assume a 1:1
mapping between Host:Ch

Host@.service: depend on templated chassis service

The Host@N services are depending on a Chassis@0 service which
may never exist on multi-host systems. For now assume a 1:1
mapping between Host:Chassis instances and update the dependency to
match so that multi-host systems do not block forever waiting for
a Chassis@0 service which will never start.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ic280f2714a2876de2acd6a0bc4d4fde97b2941d5

show more ...


# 79b45003 10-Feb-2022 Allen.Wang <Allen_Wang@quantatw.com>

host-state-manager: Add multi-host support

Add support management multiple host state with multi process.
Each process obtain a d-bus object for corresponding host.

TESTED : Built the openbmc image

host-state-manager: Add multi-host support

Add support management multiple host state with multi process.
Each process obtain a d-bus object for corresponding host.

TESTED : Built the openbmc image for Facebook Bletchley hardware.
Verified Host State buses/objects created successfully

root@bletchley:~# busctl tree xyz.openbmc_project.State.Host1
└─/xyz
└─/xyz/openbmc_project
└─/xyz/openbmc_project/state
└─/xyz/openbmc_project/state/host1
root@bletchley:~# busctl tree xyz.openbmc_project.State.Host2
└─/xyz
└─/xyz/openbmc_project
└─/xyz/openbmc_project/state
└─/xyz/openbmc_project/state/host2
...

Built with host id 0 :
expose both Host and Host0 name to keep backwards compatibility.
'busctl |grep xyz.openbmc_project.State.Host'
...
xyz.openbmc_project.State.Host 8398 phosphor-host-s root :1.212 xyz.openbmc_project.State.Host@0.service
xyz.openbmc_project.State.Host0 8398 phosphor-host-s root :1.212 xyz.openbmc_project.State.Host@0.service
...

Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com>
Change-Id: Ie18007122a5df9e33f387e691eaa9979ce18ed0e

show more ...