~ruther/guix-local

ref: 7fc3d5f3ec030ef7c85b7f140aabafc2de0f2f6d guix-local/gnu/build/linux-modules.scm -rw-r--r-- 5.7 KiB
7c4885f0 — Ludovic Courtès 11 years ago
linux-modules: Correctly propagate error code from 'init_module'.

* 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.
fcaa5f44 — Ludovic Courtès 11 years ago
system: Add (gnu build linux-modules).

* gnu/build/linux-modules.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.