guix/gnu/system
Ludovic Courtès c85ccf60bf
linux-modules: Define and use a module name database.
Fixes <https://bugs.gnu.org/34902>.
Reported by Julien Lepiller <julien@lepiller.eu>.

* gnu/build/linux-modules.scm (module-formal-name): New procedure.
(load-linux-modules-from-directory)[lookup-module]: Remove.
[module-name->file-name]: New variable.  Use it.
(module-name->file-name/guess, module-name-lookup)
(write-module-name-database): New procedures.
* gnu/system/linux-initrd.scm (flat-linux-module-directory): Call
'write-module-name-database'.
2019-08-16 23:00:27 +02:00
..
examples
accounts.scm
file-systems.scm
install.scm
keyboard.scm
linux-container.scm
linux-initrd.scm linux-modules: Define and use a module name database. 2019-08-16 23:00:27 +02:00
locale.scm
mapped-devices.scm
nss.scm
pam.scm
shadow.scm
uuid.scm
vm.scm maint: Switch to Guile-JSON 3.x. 2019-07-25 00:16:41 +02:00