| commit | 7facb8cb2ea37b211c3a19f1d5dfd0f3dbfb5494 | [log] [tgz] |
|---|---|---|
| author | Jimmy Chang <cmchang@google.com> | Fri Nov 07 08:47:01 2025 +0000 |
| committer | Jimmy Chang <cmchang@google.com> | Sun Nov 09 23:31:10 2025 -0800 |
| tree | 2a9333a850f3ec604df61d1d5060140f5bd1fbf7 | |
| parent | df3fa56ea6e54f0ac9488f552f319c7e90ee885c [diff] |
phosphor-software-manager: multihost support
-Background: redfish uri FirmwreInventory/bios_active depends on
phosphor-software-manager, and currently it will only show one bios
version in multi-host system due to lack of multihost support.
- Solution: Add compile flag -DMULTIHOST. When specified, it will create
bios_active_1 and bios_active_2 dbus object.
Tested:
```
root ~#: busctl tree xyz.openbmc_project.Software.BMC.Updater
└─ /xyz
└─ /xyz/openbmc_project
└─ /xyz/openbmc_project/software
├─ /xyz/openbmc_project/software/bios_active_1
├─ /xyz/openbmc_project/software/bios_active_2
└─ /xyz/openbmc_project/software/fd5a0214
```
Fusion-Link:
platform5: https://fusion2.corp.google.com/0008dabc-2835-3ea8-8fb3-2f481746726d
platform11: https://fusion2.corp.google.com/fe5f5cc0-fe73-3b32-972c-849bd4b302fa
platform17: https://fusion2.corp.google.com/e6a9339d-d2a4-3372-bc3e-82f5cd249fe8
Google-Bug-Id: 405060721
Change-Id: I1ca41064644b967a8e64d10c4d5d138c5868136d
Signed-off-by: Jimmy Chang <cmchang@google.com>