commit | c111b93ced1760d90e5c84598f67367383387f8c | [log] [tgz] |
---|---|---|
author | Jagpal Singh Gill <paligill@gmail.com> | Mon Aug 12 16:07:33 2024 -0700 |
committer | Jagpal Singh Gill <paligill@gmail.com> | Wed Sep 11 16:04:02 2024 -0700 |
tree | 4ec123aec6ef2f1d103693cc341f9a92616eb798 | |
parent | 463917e1a7979f4bbdc9428837916f51cc81bd74 [diff] |
Skip updateable association for functional BMC The updateable association should only be created for non-functional BMCs for dual image systems, otherwise create the updateable association by default for single image systems. Add object path to version class as it will be needed for update interface and updateable association creation. Tested: ``` > curl -k -H "X-Auth-Token: $token" -X GET https://${bmc}/redfish/v1/UpdateService/FirmwareInventory/3c956be0 { "@odata.id": "/redfish/v1/UpdateService/FirmwareInventory/3c956be0", "@odata.type": "#SoftwareInventory.v1_1_0.SoftwareInventory", "Description": "BMC image", "Id": "3c956be0", "Name": "Software Inventory", "RelatedItem": [ { "@odata.id": "/redfish/v1/Managers/bmc" } ], "RelatedItem@odata.count": 1, "Status": { "Health": "OK", "HealthRollup": "OK", "State": "Enabled" }, "Updateable": true, "Version": "2.16.0-dev-1063-g57294f9ba2-dirty" } ``` Updateable is marked true for inventory with update interface. Change-Id: I93b6a6ae36e2d0a06e8f5f97d04007da7707f1d6 Signed-off-by: Jagpal Singh Gill <paligill@gmail.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 build
ninja -C build
To clean the repository run rm -r build
.