3
0
Fork 0
forked from mirrors/nixpkgs
Nix Packages collection
Go to file
Shea Levy 70378ad2b7 Add our firmware path to the in-kernel lookup path
Newer kernels (since torvalds/linux@abb139e75c) try to
read firmware directly from the filesystem before falling back to a
userspace helper (udev) if firmware cannot be found (in even newer
kernels, the fallback path can be disabled altogether). By default, only
certain paths in /lib/firmware* are searched, so this was initially not
helpful for NixOS.

Since torvalds/linux@2760284206 (which,
based on the commit message, was implemented just for NixOS, go us!),
though, an extra path can be dynamically prepended to the search path.
So do that, in three ways:

1. Pass a kernel command line option in case the module is built-in
2. Add a line to modprobe.conf in case the module isn't yet loaded by
activation-time
3. Add an activation script to set the option in /sys in case the module
is already loaded by activation-time.
2013-03-04 09:42:03 -05:00
doc Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00
gui renaming all occurrences of /var/run/{booted,current}-system 2012-07-23 14:01:35 -04:00
lib Parameterise the path to nixpkgs. 2013-01-28 16:11:44 +01:00
maintainers Doh 2013-01-25 17:12:38 +01:00
modules Add our firmware path to the in-kernel lookup path 2013-03-04 09:42:03 -05:00
tests Remove obsolete file 2012-12-21 00:18:12 +01:00
.gitignore Ignore .version-suffix file created by nixos-rebuild 2013-01-16 10:12:42 -05:00
.version Bump the NixOS version number to 0.2 2013-01-15 14:25:13 +01:00
COPYING * Add a license, finally :-) 2010-05-28 11:48:41 +00:00
default.nix Parameterise the path to nixpkgs. 2013-01-28 16:11:44 +01:00
README * URL updates. 2008-05-09 15:08:43 +00:00
release-combined.nix * Include all of Nixpkgs. 2012-04-11 09:17:32 +00:00
release.nix Maintain iso_efi 2013-02-02 19:42:56 -05:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.