nixpkgs/pkgs/os-specific/linux/kernel
Eelco Dolstra 0aea0db581 * Put all packages that depend on a specific kernel (notably kernel
modules) together in an attribute set returned by the function
  "kernelPackagesFor" that takes a kernel as argument.  For instance,
  kernelPackages_2_6_23 is the result of calling this function with
  kernel_2_6_23.

  This is necessary in NixOS to make it easier to override the kernel:
  it's not enough to just specify a different kernel (via the
  boot.kernel option), but you also need matching nvidiaDriver, aufs,
  iwlwifi, etc.  Having a single attribute set that contains all
  kernel-related packages makes this much easier.

* The kernel now has a passthru attribute "features" that allows NixOS
  expressions to test whether a kernel has certain features.  For
  instance, the externel "iwlwifi" kernel module package should only
  be built on kernels < 2.6.24, as kernels >= 2.6.24 have iwlwifi
  support integrated.  So the NixOS expressions can do the test
  "kernel.features ? iwlwifi" to see if the iwlwifi package should be
  built.

  Kernel patches can declare additional features.  E.g., the fbsplash
  patch adds a "fbSplash" feature.

svn path=/nixpkgs/trunk/; revision=11881
2008-05-22 12:01:24 +00:00
..
acerhk Nix-expr style review 2008-01-30 17:20:48 +00:00
2.6.20-paravirt-nvidia.patch forgot paravirt nvidia patch for linux kernel 2007-05-28 14:17:28 +00:00
builder-custom.sh Added generic functionality for custom kernels. 2008-03-24 19:39:42 +00:00
builder.sh * Fix for building Linux 2.6.25. 2008-04-25 10:22:09 +00:00
config-2.6.20-i686-smp * Config for 2.6.20. 2007-02-07 16:01:19 +00:00
config-2.6.20-uml * Updated User-Mode Linux. It's now unified with the regular (NixOS) 2007-03-27 11:11:58 +00:00
config-2.6.20-x86_64-smp * x86_64 config. 2007-02-08 14:53:53 +00:00
config-2.6.21-i686-smp * CONFIG_FB_TILEBLITTING has to be off, otherwise CONFIG_FB_SPLASH 2007-06-04 14:05:22 +00:00
config-2.6.21-uml * Linux 2.6.21.3. 2007-05-31 13:32:22 +00:00
config-2.6.21-x86_64-smp * CONFIG_FB_TILEBLITTING has to be off, otherwise CONFIG_FB_SPLASH 2007-06-04 14:05:22 +00:00
config-2.6.22-i686-smp * Linux 2.6.22.1. 2007-07-20 15:25:45 +00:00
config-2.6.22-uml * Linux 2.6.22.1. 2007-07-20 15:25:45 +00:00
config-2.6.22-x86_64-smp * Kernel config for x86_64. 2007-07-21 02:27:49 +00:00
config-2.6.23-i686-smp * Kernel: disable XEN, the NVIDIA driver doesn't like it. 2008-01-07 18:40:17 +00:00
config-2.6.23-uml * Kernel configuration for Linux 2.6.23. 2007-10-31 14:39:43 +00:00
config-2.6.23-x86_64-smp * Kernel configuration for Linux 2.6.23. 2007-10-31 14:39:43 +00:00
config-2.6.25-i686-smp * Linux 2.6.25 (not tested yet). 2008-04-22 12:01:53 +00:00
config-2.6.25-uml * Linux 2.6.25 (not tested yet). 2008-04-22 12:01:53 +00:00
config-2.6.25-x86_64-smp * Linux 2.6.25 (not tested yet). 2008-04-22 12:01:53 +00:00
linux-2.6.20.3-ext3cow.patch New Ext3cow version with some bugs resolved. Updated ext3cow kernel-patch, e3cfsprogs and ext3cow-tools 2008-03-09 20:06:42 +00:00
linux-2.6.20.nix * Another purity fix: don't check for /usr/include/linux/aio.h. 2008-03-27 10:22:12 +00:00
linux-2.6.21_ck.nix I have added a special kernel 2.6.21 with the Con Kolivas patches that are designed to improve system responsiveness with specific emphasis on the desktop, but suitable to any workload. (and also the other patches like ext3cow and paravirt-nvidia) 2007-11-17 16:29:15 +00:00
linux-2.6.21.nix * Support for mirror:// URLs a la Gentoo (NIXPKGS-70). Instead of 2007-08-27 12:44:01 +00:00
linux-2.6.22.nix * Linux 2.6.23.16, 2.6.22.18 - fix for the vmsplice root exploit. 2008-02-11 09:04:15 +00:00
linux-2.6.23.nix * Put all packages that depend on a specific kernel (notably kernel 2008-05-22 12:01:24 +00:00
linux-2.6.25.nix * Put all packages that depend on a specific kernel (notably kernel 2008-05-22 12:01:24 +00:00
linux.nix Added generic functionality for custom kernels. 2008-03-24 19:39:42 +00:00
patch-2.6.21-ck1 I have added a special kernel 2.6.21 with the Con Kolivas patches that are designed to improve system responsiveness with specific emphasis on the desktop, but suitable to any workload. (and also the other patches like ext3cow and paravirt-nvidia) 2007-11-17 16:29:15 +00:00
patch-2.6.22-ck1 I have added a special kernel 2.6.21 with the Con Kolivas patches that are designed to improve system responsiveness with specific emphasis on the desktop, but suitable to any workload. (and also the other patches like ext3cow and paravirt-nvidia) 2007-11-17 16:29:15 +00:00
README * Kernel configuration for Linux 2.6.23. 2007-10-31 14:39:43 +00:00
sec_perm-2.6.24.patch * Linux 2.6.25.4. 2008-05-21 09:19:44 +00:00

*** Updating the kernel configs ***

- Copy the old Nix expression (e.g. linux-2.6.21.nix) to the new one
  (e.g. linux-2.6.22.nix) and update it.
- Add an new attribute to all-packages.nix.
- Unpack the new kernel.

For each platform (i686, x86-64, uml):

- Make an svn copy from the old config (e.g. config-2.6.21-i686-smp)
  to the new one (e.g. (e.g. config-2.6.22-i686-smp).
- Copy the config file for this platform
  (e.g. config-2.6.22-i686-smp) to .config in the kernel source tree.
- Run `make oldconfig ARCH={i386,x86_64,um}', answer all questions.
  (For the uml configuration, also add "SHELL=bash".)
- Make sure that CONFIG_FB_TILEBLITTING is NOT SET (otherwise fbsplash
  won't work).  If it is, investigate why (there's probably another
  option that forces it to be on) and fix it.
- Copy .config over the new config file (e.g. config-2.6.21-i686-smp).