[Buildroot] [PATCH v2 0/2] package/ndctl: new package

cp0613
2026-03-10T08:19:25Z

ndctl is a userspace utility for managing persistent memory (PMEM) and
NVDIMM devices on Linux, enabling configuration and monitoring of
namespaces, regions, and health status.

Adding ndctl to Buildroot allows embedded or server systems with PMEM
hardware to manage persistent memory directly on the target device in
a lightweight, self-contained manner.

I have submitted a patch to upstream regarding the issue caused by
disabling fwctl and keyutils. Currently, considering they will actually
be used, I've decided to always pass -Dfwctl=enabled -Dkeyutils=enabled
in Buildroot.

Finally, since docker services are currently unavailable in my region,
I did not use test-pkg. Please point out any issues, thank you.

Changes in v2:
- Remove dependency BR2_LINUX_KERNEL, host-meson and host-ninja
- Add BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_16 for __struct_group
- Add invisible comments
- Keep libtracefs optional
- Sort all rows with "select BR2_PACKAGE_" and "_DEPENDENCIES" in alphabetical order
- Update _LICENSE and _LICENSE_FILES
- Add the missing dependency "udev"
- Use $(STAGING_DIR) instead of $(TARGET_DIR)

Chen Pei (2):
package/ndctl: new package
DEVELOPERS: Add Chen Pei to ndctl

DEVELOPERS | 1 +
package/Config.in | 1 +
package/ndctl/Config.in | 25 ++++++++++++++++++++
package/ndctl/ndctl.hash | 7 ++++++
package/ndctl/ndctl.mk | 51 ++++++++++++++++++++++++++++++++++++++++
5 files changed, 85 insertions(+)
create mode 100644 package/ndctl/Config.in
create mode 100644 package/ndctl/ndctl.hash
create mode 100644 package/ndctl/ndctl.mk