| commit | 0a457ff82b1b6de4826e7bd4380fe206a8488f18 | [log] [tgz] |
|---|---|---|
| author | Alexander Hansen <alexander.hansen@9elements.com> | Tue Feb 25 16:13:47 2025 +0100 |
| committer | Alexander Hansen <alexander.hansen@9elements.com> | Thu Feb 27 11:33:05 2025 +0100 |
| tree | 5429b0589732f669a66a1d0f528499f896f5d216 | |
| parent | 192bb5d91075f6dbaa9fd3ecdfc7bf6a0eca38fe [diff] |
common: constrain object mapper call
Fix this call site where we are fetching configuration to call
'GetSubTree' with our configuration interfaces as argument.
resolves [1]
Tested: With SPI device code updater. Configuration is fetched as
expected.
```
<7> [config] looking for dbus interface xyz.openbmc_project.Configuration.BIOS
```
```
busctl call xyz.openbmc_project.ObjectMapper /xyz/openbmc_project/object_mapper xyz.openbmc_project.ObjectMapper GetSubTree sias /xyz/openbmc_project/ 0 1 xyz.openbmc_project.Configuration.BIOS
a{sa{sas}} 1 "/xyz/openbmc_project/inventory/system/board/chassis/HostSPIFlash" 1 "xyz.openbmc_project.EntityManager" 1 "xyz.openbmc_project.Configuration.BIOS"
```
References:
[1] https://gerrit.openbmc.org/c/openbmc/phosphor-bmc-code-mgmt/+/74893/comment/8c7c7e83_20f92624/
Change-Id: Iea6211aebd01c4b777b13dc02120be92c347824a
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps:
meson buildninja -C buildTo clean the repository run rm -r build.