guix-devel/gnu
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
..
bootloader
build linux-modules: Define and use a module name database. 2019-08-16 23:00:27 +02:00
installer
machine machine: Use 'become-command'. 2019-08-16 08:47:28 -04:00
packages gnu: r-edger: Update to 3.26.7. 2019-08-16 22:41:27 +02:00
services
system linux-modules: Define and use a module name database. 2019-08-16 23:00:27 +02:00
tests
artwork.scm
bootloader.scm
ci.scm gnu: mingw: Add x86_64 support. 2019-08-14 21:29:53 +02:00
installer.scm
local.mk Merge branch 'staging' 2019-08-13 18:51:12 +02:00
machine.scm machine: Implement 'roll-back-machine'. 2019-08-15 07:43:09 -04:00
packages.scm
services.scm remote: Remove '--system' argument. 2019-08-14 15:38:13 -04:00
system.scm
tests.scm