commit | d386fba62166e2ec42bea86b73c72e376827f2ce | [log] [tgz] |
---|---|---|
author | Hieu Huynh <hieuh@os.amperecomputing.com> | Tue Sep 10 03:14:12 2024 +0000 |
committer | Hieu Huynh <hieuh@os.amperecomputing.com> | Tue Sep 24 12:45:59 2024 +0000 |
tree | 7e548f374b06f51c27cfc86d0a862b06923b044e | |
parent | e7ef94d350cd156c54a5789ce7d53eb1a55f7da9 [diff] |
Get UUID from inventory subtree Currently, the UUID is getting from the first object path that includes "Common.UUID" interface. But the UUID can be obtained from the MCTP/FRU... The system UUID should be got from the object path that has the prefix "xyz/openbmc_project/inventory". This commit updates subtreepath parameter from "/" to "/xyz/openbmc_project/inventory" to fix the issue. Tested: 1. Get UUID via Redfish /redfish/v1/Systems/system 2. Get UUID via IPMI command $ ipmitool mc guid The UUID obtained in steps #1 and #2 is same. Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com> Change-Id: Ib22bf1ace489c0152a0f3eaa38f68ee35be7c64c
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage