summaryrefslogtreecommitdiff
path: root/gnu/build/linux-modules.scm
AgeCommit message (Collapse)Author
2018-03-18glob: Add an extra glob pattern compilation stage.Ludovic Courtès
* guix/glob.scm (compile-glob-pattern): Rename to... (string->sglob): ... this. (compile-sglob, string->compiled-sglob): New procedures. (glob-match?): Replace '?, 'range, and 'set with a single clause. * tests/glob.scm (test-compile-glob-pattern): Rename to... (test-string->sglob): ... this. Adjust accordingly. (test-glob-match): Use 'string->compiled-sglob' instead of 'compile-glob-pattern'. * gnu/build/linux-modules.scm (read-module-aliases): Use 'string->compiled-sglob' instead of 'compile-glob-pattern'.
2018-03-18linux-modules: 'load-linux-module*' honors BLACK-LIST in recursive calls.Ludovic Courtès
* gnu/build/linux-modules.scm (load-linux-module*): Pass BLACK-LIST in recursive call.
2018-03-18linux-modules: Add 'current-kernel-directory'.Ludovic Courtès
* gnu/build/linux-modules.scm (current-kernel-directory): New procedure. (current-alias-file): Use it.
2018-03-03linux-modules: Add module-aliases.Danny Milosavljevic
* gnu/build/linux-modules.scm (module-aliases): New variable.
2018-03-02linux-modules: Add 'device-module-aliases' and related procedures.Ludovic Courtès
* gnu/build/linux-modules.scm (readlink*, stat->device-major) (stat->device-minor): New procedures. (%not-slash): New variable. (read-uevent, device-module-aliases, read-module-aliases) (current-alias-file, known-module-aliases, matching-modules): New procedures.
2018-02-28linux-modules: Use 'load-linux-module/fd'.Ludovic Courtès
This should be more efficient than loading the whole thing in user space. * gnu/build/linux-modules.scm (load-linux-module*): Use 'load-linux-module/fd' instead of 'load-linux-module'. Remove 'slurp'.
2017-04-11build: Fix compilation warnings.Mathieu Othacehe
* gnu/build/linux-boot.scm (define-module): Use (guix build syscalls). * gnu/build/linux-modules.scm (define-module): Ditto. * gnu/build/file-systems (define-module): Stop re-exporting mount, umount and MS_* flags as this is now safe to include (guix build syscalls) instead. (mount): Remove procedure. (umount): Ditto. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-02-21linux-modules: Use normalized module names for 'modprobe.blacklist'.Ludovic Courtès
* gnu/build/linux-modules.scm (normalize-module-name): New procedure. (file-name->module-name): Use it. (module-black-list): Expound docstring.
2016-01-16linux-modules: Support 'modprobe.blacklist' on the command line.Ludovic Courtès
* gnu/build/linux-modules.scm (file-name->module-name) (module-black-list): New procedure. * gnu/build/linux-modules.scm (load-linux-module*): Add #:black-list parameter. [black-listed?, load-dependencies]: New procedures. Use them.
2016-01-05linux-boot: Remove verbose output for module loads.Ludovic Courtès
* gnu/build/linux-boot.scm (boot-system): Leave 'current-module-debugging-port' unchanged. * gnu/build/linux-modules.scm (load-linux-module*): Update comment about 'mmap'.
2014-11-28linux-modules: Correctly propagate error code from 'init_module'.Ludovic Courtès
* gnu/packages/patches/guile-linux-syscalls.patch (scm_load_linux_module): Leave 'errno' unchanged when ERR != 0. * gnu/build/linux-modules.scm (load-linux-module*): Check for the errno value of ARGS to determine whether the module was already loaded.
2014-11-28system: Add (gnu build linux-modules).Ludovic Courtès
* gnu/build/linux-modules.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it.