Skip to content

package: add rasdaemon support.

Bastien Curutchet via buildroot buildroot 4 versions – Applied

Status from this message: Thanks, applied after adjusting the commit title to:

Get series with b4
b4 am [email protected] change-id 20251125-rasdaemon-1df4904ddfde

Versions newest first

  1. v4 Latest2 patches 2 repliesApplied
  2. v32 patches 4 repliesSuperseded
  3. v22 patches 2 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches8 repliesSuperseded

Changes in v4 from the cover letter

- Add BR2_TOOLCHAIN_HAS_THREADS
- Make the sqlite dependency optional
- Fix Config.in format
- Add Fiona reviewed-by
- Link to v3: https://lore.kernel.org/r/[email protected]

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/2package/rasdaemon: Add rasdaemon packageDEVELOPERS package/Config.in package/rasdaemon/0001-rasdaemon-fix-build-when-sqlite-isn-t-enabled.patch +4 more+182 -01 reply
2/2support/testing: add rasdaemon testsDEVELOPERS support/testing/tests/package/test_rasdaemon.py support/testing/tests/package/test_rasdaemon/linux-debugfs.fragment+55 -01 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchFiona Klute
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [Buildroot] [PATCH v4 0/2] package: add rasdaemon support.

Hi all,

Rasdaemon is a tool that provides a way to collect all hardware error events reported by the Linux kernel in a common framework.

My use case is on a PowerPC P2020. I use to it to monitor and react to the PCIe AER events caught by the SoC's EDAC.

The first patch adds the package. The second one adds a small test for it in support/testing. Adding fake error injections in the selftest isn't trivial so it only ensures the daemon does run.

---
Changes in v4:
- Add BR2_TOOLCHAIN_HAS_THREADS
- Make the sqlite dependency optional
- Fix Config.in format
- Add Fiona reviewed-by
- Link to v3: https://lore.kernel.org/r/[email protected]

Changes in v3:
- PATCH 1: Init script: Run the daemon in foreground and use
--background to leave the PID file creation to start-stop-daemon
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- PATCH 1:
Init script: Use a PID file
Config.in: Add comment for the BR2_SHARED_LIBS dependency, fix the AER feature description rasdaemon.mk: Add License's hash
- PATCH 2:
Add a check to ensure the daemon does run once started by the init
script.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Bastien Curutchet (2):
package/rasdaemon: Add rasdaemon package
support/testing: add rasdaemon tests

 DEVELOPERS                                         |  4 ++
 package/Config.in                                  |  1 +
 ...aemon-fix-build-when-sqlite-isn-t-enabled.patch | 46 ++++++++++++++++
 package/rasdaemon/Config.in                        | 26 +++++++++
 package/rasdaemon/S95rasdaemon                     | 63 ++++++++++++++++++++++
 package/rasdaemon/rasdaemon.hash                   |  3 ++
 package/rasdaemon/rasdaemon.mk                     | 40 ++++++++++++++
 support/testing/tests/package/test_rasdaemon.py    | 46 ++++++++++++++++
 .../package/test_rasdaemon/linux-debugfs.fragment  |  8 +++
 9 files changed, 237 insertions(+)

---
base-commit: c8cb1a238de5a803228f12ad32b36cae2acfc778
change-id: 20251125-rasdaemon-1df4904ddfde

Best regards,

Signature · 6 lines
Bastien Curutchet <[email protected]>

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot