guix-devel/gnu/build
Ludovic Courtès 4db7a9dc66
linux-modules: Raise an error when a kernel module cannot be found.
Previously we'd get an unhelpful backtrace like this:

  In gnu/build/linux-modules.scm:
     184:47  4 (recursive-module-dependencies _ #:lookup-module _)
      98:14  3 (module-dependencies _)
      85:18  2 (modinfo-section-contents _)
  In ice-9/ports.scm:
     439:11  1 (call-with-input-file #f #<procedure get-bytevector-al?> ?)
  In unknown file:
	     0 (open-file #f "r" #:encoding #f #:guess-encoding #f)

  ERROR: In procedure open-file:
  Wrong type (expecting string): #f
  builder for `/gnu/store/…-linux-modules.drv' failed with exit code 1

* gnu/build/linux-modules.scm (find-module-file): When MODULE cannot be
found, raise an error instead of returning #f.  This is more useful to
the user.
2018-08-29 23:32:01 +02:00
..
activation.scm activation: Pass '-d HOME' to 'usermod'. 2018-03-27 14:51:44 +02:00
bootloader.scm bootloader: Factorize write-file-on-device. 2017-12-15 11:52:38 +01:00
cross-toolchain.scm gnu: cross-base: Use invoke in (gnu build cross-toolchain). 2018-03-23 04:41:53 -04:00
file-systems.scm file-systems: Always wait for devices to show up. 2018-05-31 18:13:08 +02:00
install.scm Remove 'guix-register' and its traces. 2018-06-14 11:17:00 +02:00
linux-boot.scm file-systems: Remove 'title' field and add <file-system-label>. 2018-05-28 13:24:11 +02:00
linux-container.scm linux-container: Work around EBADF errors upon exit. 2018-01-15 23:29:33 +01:00
linux-initrd.scm linux-initrd: Compress cpio archives deterministically. 2015-09-09 23:27:10 +02:00
linux-modules.scm linux-modules: Raise an error when a kernel module cannot be found. 2018-08-29 23:32:01 +02:00
marionette.scm marionette: Add wait-for-unix-socket. 2018-08-28 00:19:58 -07:00
shepherd.scm system: Remove uses of the 'title' field of <file-system>. 2018-05-28 13:24:19 +02:00
svg.scm bootloader: grub: Use 'with-extensions'. 2018-06-01 15:21:28 +02:00
vm.scm vm: Disable KVM on i386. 2018-07-04 15:26:21 +02:00