Commit Graph

151 Commits

Author SHA1 Message Date
Eelco Dolstra
7689a348c4 * Got rid of a lot of "postInstall=postInstall" and similar lines in
builders.  These are redundant now.
* Inlined some trivial builders.
* Removed a few explicit setup-hook creations.  This is done
  automatically now if setupHook is set.
* Deleted the initscripts package.  NixOS doesn't use it anymore.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15276
2009-04-23 13:31:10 +00:00
Michael Raskin
9379c34b11 Renable preConfigure for kernel builder. Actually needed by custom kernel
Linux kernel 2.6.29 (release) has a slightly changed Makefile. They now add the prefix for depmod. So in NixOS "make modules_install" fails on depmod. To fix it, our old '/-b \$(INSTALL_MOD_PATH) -r/d' should be replaced with '/-b \$(INSTALL_MOD_PATH)/d'.

svn path=/nixpkgs/trunk/; revision=14811
2009-03-31 20:10:05 +00:00
Eelco Dolstra
105f9f7b80 * Some kernel updates.
svn path=/nixpkgs/trunk/; revision=14790
2009-03-30 15:02:17 +00:00
Ludovic Courtès
b161fd2921 Linux: Build the `sdhci' module, for Ricoh SD readers.
svn path=/nixpkgs/trunk/; revision=14541
2009-03-15 14:03:59 +00:00
Eelco Dolstra
f8641d34a2 * Latest kernels.
svn path=/nixpkgs/trunk/; revision=14486
2009-03-10 09:05:43 +00:00
Michael Raskin
958a01ffa6 These changes to kernel builder are obviously needed. kQemu is built, but causes kernel oops
svn path=/nixpkgs/trunk/; revision=14213
2009-02-24 05:10:36 +00:00
Lluís Batlle i Rossell
f9b79d752a Fixing in general the module construction (there were wrong paths in modules/build). Now kqemu works well for me, for instance. I will take the commit back, if it annoys anyone.
svn path=/nixpkgs/trunk/; revision=14192
2009-02-22 20:49:35 +00:00
Eelco Dolstra
a6a74c53f8 * Latest 2.6.{27,28} kernels.
svn path=/nixpkgs/trunk/; revision=14136
2009-02-20 10:56:00 +00:00
Eelco Dolstra
5e3c509cb8 * Latest kernels.
svn path=/nixpkgs/trunk/; revision=14019
2009-02-10 11:10:12 +00:00
Eelco Dolstra
a6867fa9a3 * Linux 2.6.28.3.
svn path=/nixpkgs/trunk/; revision=13963
2009-02-02 19:00:30 +00:00
Eelco Dolstra
858cf3cdcb * Wrong hash.
svn path=/nixpkgs/trunk/; revision=13899
2009-01-29 11:00:56 +00:00
Eelco Dolstra
e5349d1716 * Linux 2.6.27.13 and 2.6.28.2.
svn path=/nixpkgs/trunk/; revision=13887
2009-01-27 14:56:17 +00:00
Michael Raskin
4e9b120ad2 small fixes to build custom kernel
svn path=/nixpkgs/trunk/; revision=13795
2009-01-17 13:40:12 +00:00
Eelco Dolstra
4eedf7dae8 * Install the arch-specific headers for Linux <= 2.6.27 properly
again.

svn path=/nixpkgs/trunk/; revision=13783
2009-01-16 10:28:18 +00:00
Eelco Dolstra
89364df3e9 svn path=/nixpkgs/trunk/; revision=13781 2009-01-15 16:22:01 +00:00
Eelco Dolstra
7df6cdf6da * Doh.
svn path=/nixpkgs/trunk/; revision=13780
2009-01-15 15:59:59 +00:00
Eelco Dolstra
f89876974e * Use the generic kernel builder.
svn path=/nixpkgs/trunk/; revision=13779
2009-01-15 15:54:24 +00:00
Eelco Dolstra
a0670a904e * Reduce duplication between kernel expressions.
svn path=/nixpkgs/trunk/; revision=13778
2009-01-15 15:40:23 +00:00
Eelco Dolstra
2188660f2d * CONFIG_LSF should be set on i686, otherwise ext4 can't even mount
filesystems created by mkfs.ext4 with default options.

svn path=/nixpkgs/trunk/; revision=13777
2009-01-15 15:11:14 +00:00
Eelco Dolstra
739ef5e82a * Various hacks needed to get the NVIDIA driver to build on
Linux 2.6.28.  In particular the arch-specific headers
  are in a different place now.  (I'd like to do "make
  headers_install", but it doesn't install all the headers
  that are needed to build external kernel modules.  What
  a mess.)
* Add Linux 2.6.28 to the channel.

svn path=/nixpkgs/trunk/; revision=13775
2009-01-15 15:00:30 +00:00
Eelco Dolstra
6c0b144efc * Linux 2.6.27.10.
svn path=/nixpkgs/trunk/; revision=13752
2009-01-13 09:05:05 +00:00
Eelco Dolstra
33278912fd * Linux 2.6.28.
svn path=/nixpkgs/trunk/; revision=13743
2009-01-12 13:11:18 +00:00
Eelco Dolstra
3189f877d0 * Linux 2.6.27.7
svn path=/nixpkgs/trunk/; revision=13487
2008-11-28 13:12:43 +00:00
Eelco Dolstra
dbc520876d * Linux 2.6.27.4. Not tested yet.
svn path=/nixpkgs/trunk/; revision=13144
2008-10-29 12:34:54 +00:00
Eelco Dolstra
3a1136f6ad * Linux 2.6.26.7.
svn path=/nixpkgs/trunk/; revision=13139
2008-10-28 16:00:37 +00:00
Eelco Dolstra
e826b90e73 * Linux 2.6.26.6.
svn path=/nixpkgs/trunk/; revision=13022
2008-10-09 13:15:45 +00:00
Michael Raskin
3a7ffa5c58 Some of preparation work for adding Xen. Troubles: 1. Xen Dom0 support not complete in mainline. 2. Xen's love to check for headers in /usr/include. To do afterwards: We need to change bootloading setup a bit.
svn path=/nixpkgs/trunk/; revision=12941
2008-10-04 15:24:08 +00:00
Eelco Dolstra
8d7d8fc4bd * Linux 2.6.25.17.
svn path=/nixpkgs/trunk/; revision=12879
2008-09-18 09:53:12 +00:00
Eelco Dolstra
29f04e4331 * Linux 2.6.26.5.
svn path=/nixpkgs/trunk/; revision=12833
2008-09-09 09:54:33 +00:00
Eelco Dolstra
649ccdd2db * Moved the Linux kernel maintenance notes to the manual, expanded
them.

svn path=/nixpkgs/trunk/; revision=12739
2008-08-27 12:59:55 +00:00
Eelco Dolstra
4457e49a90 * Linux 2.6.25.16.
svn path=/nixpkgs/trunk/; revision=12693
2008-08-22 12:25:51 +00:00
Eelco Dolstra
eb63b86c6d * Doh doh doh! Use the right config file for the 2.6.26 kernel.
svn path=/nixpkgs/trunk/; revision=12690
2008-08-22 10:55:00 +00:00
Eelco Dolstra
16d317e709 * Linux 2.6.26.3.
svn path=/nixpkgs/trunk/; revision=12674
2008-08-21 08:33:46 +00:00
Eelco Dolstra
73eaeefcfd * Linux 2.6.25.15.
svn path=/nixpkgs/trunk/; revision=12583
2008-08-11 12:01:55 +00:00
Eelco Dolstra
9d0b7c4aa9 * Linux 2.6.26.2. Totally untested of course.
svn path=/nixpkgs/trunk/; revision=12534
2008-08-07 14:57:10 +00:00
Eelco Dolstra
f6935cfd98 * Linux 2.6.25.14.
svn path=/nixpkgs/trunk/; revision=12495
2008-08-04 17:54:34 +00:00
Eelco Dolstra
9d741c88bf * Linux 2.6.25.11.
svn path=/nixpkgs/trunk/; revision=12381
2008-07-18 14:53:48 +00:00
Eelco Dolstra
343d4fc9f6 * Linux 2.6.25.9
svn path=/nixpkgs/trunk/; revision=12212
2008-06-29 17:02:08 +00:00
Eelco Dolstra
aadfab6fff * Linux 2.6.25.6.
svn path=/nixpkgs/trunk/; revision=12032
2008-06-10 16:37:38 +00:00
Eelco Dolstra
e466241a8d * On Linux 2.6.25, the arch files for i386 and x86_64 are unified in
arch/x86, so copy them from the right location.

svn path=/nixpkgs/trunk/; revision=11928
2008-05-29 13:21:47 +00:00
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