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>
1 file changed
tree: 5429b0589732f669a66a1d0f528499f896f5d216
  1. bmc/
  2. common/
  3. subprojects/
  4. test/
  5. .clang-format
  6. .clang-tidy
  7. .gitignore
  8. .shellcheck
  9. LICENSE
  10. meson.build
  11. meson.options
  12. OWNERS
  13. README.md
README.md

phosphor-bmc-code-mgmt

Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture

To Build

To build this package, do the following steps:

  1. meson build
  2. ninja -C build

To clean the repository run rm -r build.