Commit graph

111 commits

Author SHA1 Message Date
Michael Raskin e0caa641c0 Packages changes, needed after recent kernel expression restructurisation
svn path=/nixpkgs/trunk/; revision=11883
2008-05-22 19:29:23 +00:00
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
Eelco Dolstra ae972ce4d3 * Linux 2.6.25.4.
* Updated AUFS for 2.6.25.  Also applied a patch to the kernel that
  AUFS needs, unfortunately.

svn path=/nixpkgs/trunk/; revision=11864
2008-05-21 09:19:44 +00:00
Eelco Dolstra c30b6e0476 * Linux 2.6.25.2.
svn path=/nixpkgs/trunk/; revision=11778
2008-05-08 10:58:22 +00:00
Eelco Dolstra c3e2c90fb6 * Linux 2.6.25.1.
svn path=/nixpkgs/trunk/; revision=11764
2008-05-06 12:49:37 +00:00
Eelco Dolstra 8d1d839579 * Fix for building Linux 2.6.25.
svn path=/nixpkgs/trunk/; revision=11712
2008-04-25 10:22:09 +00:00
Eelco Dolstra 64222f4f33 * Linux 2.6.25 (not tested yet).
svn path=/nixpkgs/trunk/; revision=11684
2008-04-22 12:01:53 +00:00
Eelco Dolstra 67af514783 * Another purity fix: don't check for /usr/include/linux/aio.h.
svn path=/nixpkgs/trunk/; revision=11298
2008-03-27 10:22:12 +00:00
Michael Raskin 4ec702d2ab Added generic functionality for custom kernels.
svn path=/nixpkgs/trunk/; revision=11275
2008-03-24 19:39:42 +00:00
Wouter den Breejen f9998954b8 New Ext3cow version with some bugs resolved. Updated ext3cow kernel-patch, e3cfsprogs and ext3cow-tools
svn path=/nixpkgs/trunk/; revision=11027
2008-03-09 20:06:42 +00:00
Eelco Dolstra 0a8f71fb9c * Linux 2.6.23.17.
svn path=/nixpkgs/trunk/; revision=10943
2008-03-04 11:07:37 +00:00
Eelco Dolstra 9274b390f4 * Linux 2.6.23.16, 2.6.22.18 - fix for the vmsplice root exploit.
svn path=/nixpkgs/trunk/; revision=10622
2008-02-11 09:04:15 +00:00
Yury G. Kudryashov 5bca69ac34 Nix-expr style review
Unneded args.something replaced with
args: with args;
line. After this line args is the only place where we can recieve variables from.

Also removed several
buildInputs = [];
lines.

svn path=/nixpkgs/trunk/; revision=10415
2008-01-30 17:20:48 +00:00
Eelco Dolstra 83d59de5a0 * Linux 2.6.22.16, 2.6.23.14: fixes CVE-2008-0001.
svn path=/nixpkgs/trunk/; revision=10222
2008-01-18 16:58:34 +00:00
Eelco Dolstra 7f3bd3adcb * Kernel: disable XEN, the NVIDIA driver doesn't like it.
* Remove the paravirt patch on >= 2.6.22, which does exactly the
  wrong thing.  What was I smoking?

svn path=/nixpkgs/trunk/; revision=10091
2008-01-07 18:40:17 +00:00
Eelco Dolstra 07eedae576 * Linux 2.6.23.12.
svn path=/nixpkgs/trunk/; revision=9965
2007-12-24 13:43:25 +00:00
Wouter den Breejen e20c559e5f 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)
svn path=/nixpkgs/trunk/; revision=9748
2007-11-17 16:29:15 +00:00
Eelco Dolstra 2be68dea28 * Doh.
svn path=/nixpkgs/trunk/; revision=9565
2007-10-31 15:54:31 +00:00
Eelco Dolstra dbc1928af6 * Kernel configuration for Linux 2.6.23.
* More compact way to override kernel configuration options, e.g.
  extraFlags = ["CONFIG_NO_HZ=y" "# CONFIG_IRQBALANCE is not set"];

svn path=/nixpkgs/trunk/; revision=9562
2007-10-31 14:39:43 +00:00
Wouter den Breejen 02f39c0210 There is a bug in ext3cow causing all rights to reset too root after a remount. The devvers at ext3cow.com are too lazy too release a new version, but the bug is fixed in their svn sources, so ive made a patch from those sources, which ive tested and it works.
svn path=/nixpkgs/trunk/; revision=9515
2007-10-23 17:56:10 +00:00
Michael Raskin 1994bd5b6a Some corrections to 2.6.23-rc8; builds now
svn path=/nixpkgs/trunk/; revision=9383
2007-09-28 20:34:48 +00:00
Michael Raskin 0274e5e95a Added something like linux_2_6_23. Really -rc8. Rationale:
1. Not to forget all the systemKernel choices.
2. To learn new problems, so that adding actual 2.6.23 will be easily done.

svn path=/nixpkgs/trunk/; revision=9381
2007-09-28 09:56:47 +00:00
Eelco Dolstra aae986fcf9 * Linux 2.6.22.9.
svn path=/nixpkgs/trunk/; revision=9377
2007-09-27 15:57:01 +00:00
Michael Raskin dd5daab9d1 Options for kernel and checker for configuration.nix
svn path=/nixpkgs/trunk/; revision=9371
2007-09-25 19:03:07 +00:00
Eelco Dolstra bd0e895bad * Release notes.
* Linux 2.6.22.6.
* w3m 0.5.2.

svn path=/nixpkgs/trunk/; revision=9305
2007-09-11 20:05:54 +00:00
Marc Weber 088a6817db added:
dnsmasq, uisp, fltk libixp_for_wmii, acerhk kernel module, reiserfsprogs, radeontools, msmtp,
procmail, pstree, gxemul

changed:
umlutilities to also support building tunctl optionally (needing kernel header files)
wmii updated and wmiimenu added                                                 

svn path=/nixpkgs/trunk/; revision=9242
2007-09-03 12:10:57 +00:00
Eelco Dolstra 45a2c87402 * Support for mirror:// URLs a la Gentoo (NIXPKGS-70). Instead of
fetchurl {
      url = http://heanet.dl.sourceforge.net/sourceforge/zapping/zapping-0.9.6.tar.bz2;
      md5 = "8306775c6a11de4d72345b5eee970ea6";
    };

  you can write

    fetchurl {
      url = mirror://sourceforge/zapping/zapping-0.9.6.tar.bz2;
      md5 = "8306775c6a11de4d72345b5eee970ea6";
    };

  which causes fetchurl to try the SourceForge mirrors listed in the
  `sourceforge' attribute in build-support/fetchurl/mirrors.nix.
  (They're currently tried in sequence, and the lists of mirrors are
  not configurable yet.)

  The syntax for mirror URLs is mirror://site/path/to/file, where
  `site' is currently one of `sourceforge', `gnu' (mirrors of
  ftp://ftp.gnu.org/pub/gnu) and `kernel' (mirrors of
  http://www.all.kernel.org/pub/).

svn path=/nixpkgs/trunk/; revision=9197
2007-08-27 12:44:01 +00:00
Eelco Dolstra aa983025d6 * Linux 2.6.21.7.
svn path=/nixpkgs/trunk/; revision=9176
2007-08-20 14:26:32 +00:00
Eelco Dolstra 71e01bd17d * Kernel config for x86_64.
svn path=/nixpkgs/trunk/; revision=9014
2007-07-21 02:27:49 +00:00
Eelco Dolstra d145a966ab * Some notes on updating the NixOS kernel.
svn path=/nixpkgs/trunk/; revision=9013
2007-07-21 02:23:34 +00:00
Eelco Dolstra 48d6b12828 * Doh!
svn path=/nixpkgs/trunk/; revision=9012
2007-07-21 02:07:09 +00:00
Wouter den Breejen 5e12937f30 Added e3cfsprogs and ext3cow-tools. Ext3cow is a stand-alone disk file system, (e.g. ReiserFS, HFS, NTFS) based on ext3, that supports versioning through copy-on-write and a time-shifting interface.
svn path=/nixpkgs/trunk/; revision=9010
2007-07-20 15:50:54 +00:00
Eelco Dolstra 5760cd599d * Linux 2.6.22.1.
svn path=/nixpkgs/trunk/; revision=9009
2007-07-20 15:25:45 +00:00
Eelco Dolstra 7685d56072 * Linux 2.6.21.5.
svn path=/nixpkgs/trunk/; revision=8870
2007-06-12 12:25:01 +00:00
Eelco Dolstra 1da5e7fd89 * Grmbl.
svn path=/nixpkgs/trunk/; revision=8833
2007-06-05 13:18:23 +00:00
Eelco Dolstra ce25a8286e * CONFIG_FB_TILEBLITTING has to be off, otherwise CONFIG_FB_SPLASH
will be disabled (and CONFIG_FB_S3 implies CONFIG_FB_TILEBLITTING).

svn path=/nixpkgs/trunk/; revision=8826
2007-06-04 14:05:22 +00:00
Eelco Dolstra e954f7ef8b * Linux 2.6.21.3.
svn path=/nixpkgs/trunk/; revision=8811
2007-05-31 13:32:22 +00:00
Eelco Dolstra 68252afeec * Urgh, the NL mirror isn't up to date.
svn path=/nixpkgs/trunk/; revision=8810
2007-05-31 13:21:00 +00:00
Eelco Dolstra e9ed8e8800 * Apply the paravirt-nvidia through the kernelPatches argument.
* Kernel 2.6.20.12.

svn path=/nixpkgs/trunk/; revision=8808
2007-05-31 11:23:47 +00:00
Wouter den Breejen 50a3e58c2d forgot paravirt nvidia patch for linux kernel
svn path=/nixpkgs/trunk/; revision=8789
2007-05-28 14:17:28 +00:00
Wouter den Breejen 5200276c3b nixpkgs dir: nvidia and libsrvg
svn path=/nixpkgs/trunk/; revision=8785
2007-05-28 14:10:46 +00:00
Eelco Dolstra 311dc72bf1 * Suppress localversion from kernel patches, allow the user to set
one.
* Allow the entire kernel configuration to be overridden through a
  function argument.

svn path=/nixpkgs/trunk/; revision=8699
2007-05-15 12:53:03 +00:00
Eelco Dolstra 34b59c1867 * Linux updated to 2.6.20.11.
* Build the kernel with the new gcc wrapper so that LINUX_COMPILER
  gets set properly (and in particular so that the kernel version
  string doesn't show "(collect2: ld returned 1 exit status)").

svn path=/nixpkgs/trunk/; revision=8645
2007-05-02 15:21:55 +00:00
Eelco Dolstra 168a93adc5 * Delete some obsolete packages.
* Make sure that every package in all-packages.nix has a unique name.
  Not all of them do, but there are now a few helper functions that
  modify the name of a package for display purposes in nix-env (e.g.,
  you get "zlib-1.2.3" and "zlib-1.2.3-static" in "nix-env -qa").

svn path=/nixpkgs/trunk/; revision=8607
2007-04-26 13:02:30 +00:00
Eelco Dolstra 8020db073a * Linux 2.6.20.7.
svn path=/nixpkgs/trunk/; revision=8578
2007-04-16 10:29:24 +00:00
Eelco Dolstra e626055170 * Linux 2.6.20.6.
svn path=/nixpkgs/trunk/; revision=8554
2007-04-10 11:46:09 +00:00
Eelco Dolstra 9a8b115e57 * UML: purity fix (Makefile refers to /bin/bash).
svn path=/nixpkgs/trunk/; revision=8437
2007-03-28 11:21:16 +00:00
Eelco Dolstra b795dd8d44 * Fix kernel build.
svn path=/nixpkgs/trunk/; revision=8435
2007-03-28 10:28:01 +00:00
Eelco Dolstra a984882e0c * Updated User-Mode Linux. It's now unified with the regular (NixOS)
kernel build - just call the function with userModeLinux = true to
  get a UML binary.

svn path=/nixpkgs/trunk/; revision=8423
2007-03-27 11:11:58 +00:00
Eelco Dolstra b46531c506 * Linux 2.6.20.4.
svn path=/nixpkgs/trunk/; revision=8414
2007-03-26 09:32:57 +00:00