Modprobed-db
March 29, 2026 ยท View on GitHub
Modprobed-db is a useful utility for users wishing to build a minimal kernel via a make localmodconfig. In a nutshell, this make target creates a config based on the current config and a list of modules you define (modprobed-db keeps for you). It then disables any module option that is not needed thus not building hundreds/potentially thousands of extraneous modules. This results in a system-specific, streamlined kernel package and footprint as well as reduced compilation times.
Modprobed-db simply logs every module ever probed on the target system to a text-based database ($XDG_CONFIG_HOME/modprobed-db) which can be read directly by "make localmodconfig" as described above.
Installation
$ make
Running a make install as root will distribute the files to the filesystem.
The default is to provide a systemd user service. Compiling with WITH_OPENRC=1
will provide openrc support and not systemd support. You can of course just use old school cron too.
# make install
Usage
Refer to the man page man modprobed-db
Links
AUR Package: https://aur.archlinux.org/packages/modprobed-db