~ruther/guix-local

ref: ec38437f9400fa4b2fa8f4a876d3e35c64fdb213 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.