system: Add kernel-loadable-modules to operating-system.
authorDanny Milosavljevic <dannym@scratchpost.org>
Tue, 18 Feb 2020 09:42:07 +0000 (10:42 +0100)
committerDanny Milosavljevic <dannym@scratchpost.org>
Sun, 22 Mar 2020 11:51:50 +0000 (12:51 +0100)
commit5c79f238634c5adb6657f1b4b1bb4ddb8bb73ef1
tree9aa461be2cf3ede11048d3e7c4280b89de4ac73b
parent66a198c8075f02d7075a555b48dd3adde88ebbbf
system: Add kernel-loadable-modules to operating-system.

* gnu/system.scm (<operating-system>): Add kernel-loadable-modules.
(operating-system-directory-base-entries): Use it.
* doc/guix.texi (operating-system Reference): Document
KERNEL-LOADABLE-MODULES.
* gnu/build/linux-modules.scm (depmod): New procedure.
(make-linux-module-directory): New procedure.  Export it.
* guix/profiles.scm (linux-module-database): New procedure.  Export it.
* gnu/tests/linux-modules.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add it.
* gnu/packages/linux.scm (make-linux-libre*)[arguments]<#:phases>[install]:
Disable depmod.  Remove "build" and "source" symlinks.
[native-inputs]: Remove kmod.
doc/guix.texi
gnu/build/linux-modules.scm
gnu/local.mk
gnu/packages/linux.scm
gnu/system.scm
gnu/tests/linux-modules.scm [new file with mode: 0644]
guix/profiles.scm