Re: [PATCH kmod v2 3/4] kmod: Add config command to show compile time configuration as JSON

From: Jan Engelhardt
Date: Fri Jul 14 2023 - 09:52:40 EST



On Wednesday 2023-07-12 16:00, Michal Suchanek wrote:

>Show prefix (where configuration files are searched/to be installed),
>module compressions, and module signatures supported.

What about doing it like systemd and generate a .pc file instead
that can then be queried like so, e.g.:

$ pkg-config kmod --variable=modulesdir
/usr/lib/modules