summary refs log tree commit diff
path: root/gnu/packages/markup.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-03-14 23:11:01 +0100
committerLudovic Courtès <ludo@gnu.org>2019-08-16 23:00:27 +0200
commitc85ccf60bfe4ef58110bb61f40df7f526d2a5735 (patch)
tree207eff0899e1b934b1f5513fa051f7ee4ebdd4ef /gnu/packages/markup.scm
parente1a9a7f2755dc23e1f4635c8aee45e1467c01619 (diff)
downloadguix-c85ccf60bfe4ef58110bb61f40df7f526d2a5735.tar.gz
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'.
Diffstat (limited to 'gnu/packages/markup.scm')
0 files changed, 0 insertions, 0 deletions