| commit | c85df9cacee73d271d4184a2ee77fc6901a3671d | [log] [tgz] |
|---|---|---|
| author | William de Abreu Pinho <williamdapinho@gmail.com> | Mon Feb 02 09:11:37 2026 -0800 |
| committer | William de Abreu Pinho <williamdapinho@gmail.com> | Tue Feb 10 05:08:18 2026 -0800 |
| tree | 91998c5d60be1dc4c1c2a34496a1da4db72ed00f | |
| parent | 2b8c2f0d9e42068cbe2a6f96c52dcad0729b565f [diff] |
dreport: fix shellcheck warnings in dreport - SC2155: split declare and assign for EPOCHTIME - SC2236: use -n instead of ! -z - SC2254: quote case patterns - SC2046/SC2086: quote variables and command substitutions - SC2231: quote glob pattern in for loop - SC2006: use $() instead of backticks for getopt - SC2181: disable with TODO comments (getopt pattern, create_archive) - SC2002: disable with comment (gendumpheader moved to openpower-debug-collector) - Remove tools/dreport.d/dreport from .shellcheck-ignore Tested: Ran format-code.sh from openbmc-build-scripts. Change-Id: I9abdc69d7fd0e2e2882571d9fd145ae10742c742 Signed-off-by: William de Abreu Pinho <williamdapinho@gmail.com>
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