3
0
Fork 0
forked from mirrors/nixpkgs

* Linux 2.6.29. It doesn't build yet due to some depmod problem.

svn path=/nixpkgs/trunk/; revision=15884
This commit is contained in:
Eelco Dolstra 2009-06-06 23:09:38 +00:00
parent 50e91e3fdd
commit 86e3458dd7
5 changed files with 8536 additions and 0 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,26 @@
args @ {stdenv, fetchurl, userModeLinux ? false, ...}:
assert !userModeLinux;
import ./generic.nix (
rec {
version = "2.6.29.4";
src = fetchurl {
url = "mirror://kernel/linux/kernel/v2.6/linux-${version}.tar.bz2";
sha256 = "1v6kpym0d0s2cwxpc3q6ja1sqyj9vn5cbpa1rkmr5vvi1y83yw24";
};
features = {
iwlwifi = true;
};
config =
if stdenv.system == "i686-linux" then ./config-2.6.29-i686-smp else
if stdenv.system == "x86_64-linux" then ./config-2.6.29-x86_64-smp else
abort "No kernel configuration for your platform!";
}
// args
)

View file

@ -5055,6 +5055,24 @@ let
[(getConfig ["kernel" "addConfig"] "")];
};
kernel_2_6_29 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.29.nix) {
inherit fetchurl stdenv perl mktemp module_init_tools;
kernelPatches = [
{ name = "fbcondecor-0.9.5-2.6.28";
patch = fetchurl {
url = http://dev.gentoo.org/~spock/projects/fbcondecor/archive/fbcondecor-0.9.6-2.6.29.2.patch;
sha256 = "1yppvji13sgnql62h4wmskzl9l198pp1pbixpbymji7mr4a0ylx1";
};
extraConfig = "CONFIG_FB_CON_DECOR=y";
features = { fbConDecor = true; };
}
{ name = "sec_perm-2.6.24";
patch = ../os-specific/linux/kernel/sec_perm-2.6.24.patch;
features = { secPermPatch = true; };
}
];
};
/* Kernel modules are inherently tied to a specific kernel. So
rather than provide specific instances of those packages for a
specific kernel, we have a function that builds those packages

View file

@ -472,6 +472,12 @@ in {
virtualbox = linux;
};
kernelPackages_2_6_29 = {
aufs = linux;
kernel = linux;
virtualbox = linux;
};
strategoPackages = {
sdf = all;
strategoxt = all;