commit | 888a1af9f292a7baab0aff9b936552f794c9c651 | [log] [tgz] |
---|---|---|
author | Marri Devender Rao <devenrao@in.ibm.com> | Tue Apr 12 03:38:19 2022 -0500 |
committer | Marri Devender Rao <devenrao@in.ibm.com> | Mon Nov 07 03:58:38 2022 -0600 |
tree | 026d233a0aef863560cd4c44735f957baf2da6e9 | |
parent | 3afa33d6fdb2286620f4a3316e160d6c18025808 [diff] |
dreport: add inventory persistent data to BMC dump 1.Run busctl command to get the inventory data and add to BMC dump. 2.Add /var/lib/phosphor-inventory-manager data to BMC dump. Tested: root@perfrain86bmc:/tmp/test/obmcdump_00000000_1649923539# du -sh phosphor-inventory-manager/ 12.4M phosphor-inventory-manager/ root@perfrain86bmc:/tmp/test/obmcdump_00000000_1649923539# root@perfrain86bmc:/tmp/test/obmcdump_00000000_1649923539# ls -la inventory.log -rw-r--r-- 1 root root 0 Apr 14 08:05 inventory.log Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: Iccb50e5f3a068fe3e13326326bfc5e66471b8b9e
Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.
One such mechanism is dreport, a script that collects debug data and packages it into an archive file.
To build this package with meson, do the following steps:
1. meson builddir 2. ninja -C builddir
To clean the built files run ninja -C builddir clean
.
Tests can be run in the CI docker container, refer local-ci-build
or with an OpenBMC x86 sdk(see below for x86 steps).
meson -Dtests=enabled build ninja -C build test