| commit | d5442fb45f1c08754c9e121d5a35aa85a0d7c15a | [log] [tgz] |
|---|---|---|
| author | Amithash Prasad <amithash@meta.com> | Thu Oct 02 14:48:48 2025 -0700 |
| committer | Amithash Prasad <amithash@meta.com> | Thu Oct 16 16:21:13 2025 -0700 |
| tree | 5db35c70a3d4800f5630d777ac5f5728c7602051 | |
| parent | 4456bbd96decd2d3810d63e93b0e0e96998232ba [diff] |
dreport: Fix incorrect use of return in main script body We can only return from a function and not from the main script. Change from `return` to `exit`. Change-Id: Id0226da0498ceccf2db8cf89259546b8cb5f9929 Signed-off-by: Amithash Prasad <amithash@meta.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