* Linux 2.6.19.1.

svn path=/nixpkgs/trunk/; revision=7522
This commit is contained in:
Eelco Dolstra 2007-01-01 02:01:06 +00:00
parent 75b6eec2d5
commit e81c87c122
4 changed files with 3784 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1 +0,0 @@
import ./linux-2.6.11.12.nix

View File

@ -0,0 +1,39 @@
{ stdenv, fetchurl, perl, mktemp, module_init_tools
# A list of patches to apply to the kernel. Each element of this list
# should be an attribute set {name, patch} where `name' is a
# symbolic name and `patch' is the actual patch. The patch may
# optionally be compressed with gzip or bzip2.
, kernelPatches ? []
}:
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "linux-2.6.19.1";
builder = ./builder.sh;
src = fetchurl {
url = http://ftp.nl.kernel.org/pub/linux/kernel/v2.6/linux-2.6.19.1.tar.bz2;
md5 = "2ab08fdfddc00e09b3d5bc7397d3c8be";
};
patches = map (p: p.patch) kernelPatches;
config = ./config-2.6.19.1-up;
buildInputs = [perl mktemp];
arch="i386";
inherit module_init_tools;
meta = {
description =
"The Linux kernel" +
(if kernelPatches == [] then "" else
" (with patches: "
+ (let lib = import ../../../lib;
in lib.concatStrings (lib.intersperse ", " (map (x: x.name) kernelPatches)))
+ ")");
};
}

View File

@ -2167,7 +2167,7 @@ rec {
modules = [];
};
kernel = kernel_2_6_18;
kernel = kernel_2_6_19;
kernel_2_6_18 = import ../os-specific/linux/kernel/linux-2.6.18.nix {
inherit fetchurl stdenv perl mktemp module_init_tools;
@ -2187,6 +2187,24 @@ rec {
];
};
kernel_2_6_19 = import ../os-specific/linux/kernel/linux-2.6.19.nix {
inherit fetchurl stdenv perl mktemp module_init_tools;
kernelPatches = [
{ name = "skas-2.6.19-rc6-v9-pre9";
patch = fetchurl {
url = http://www.user-mode-linux.org/~blaisorblade/patches/skas3-2.6/skas-2.6.19-rc6-v9-pre9/skas-2.6.19-rc6-v9-pre9.patch.bz2;
md5 = "262368b6cf29026be44bebfff2e57aed";
};
}
{ name = "fbsplash-0.9.2-r5-2.6.19-rc2";
patch = fetchurl {
url = http://dev.gentoo.org/~spock/projects/gensplash/archive/fbsplash-0.9.2-r5-2.6.19-rc2.patch;
md5 = "1f58715f3c5f85bb8b6e14c35b2f4463";
};
}
];
};
libselinux = import ../os-specific/linux/libselinux {
inherit fetchurl stdenv libsepol;
};