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:
parent
50e91e3fdd
commit
86e3458dd7
4355
pkgs/os-specific/linux/kernel/config-2.6.29-i686-smp
Normal file
4355
pkgs/os-specific/linux/kernel/config-2.6.29-i686-smp
Normal file
File diff suppressed because it is too large
Load diff
4131
pkgs/os-specific/linux/kernel/config-2.6.29-x86_64-smp
Normal file
4131
pkgs/os-specific/linux/kernel/config-2.6.29-x86_64-smp
Normal file
File diff suppressed because it is too large
Load diff
26
pkgs/os-specific/linux/kernel/linux-2.6.29.nix
Normal file
26
pkgs/os-specific/linux/kernel/linux-2.6.29.nix
Normal 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
|
||||
)
|
|
@ -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
|
||||
|
|
|
@ -472,6 +472,12 @@ in {
|
|||
virtualbox = linux;
|
||||
};
|
||||
|
||||
kernelPackages_2_6_29 = {
|
||||
aufs = linux;
|
||||
kernel = linux;
|
||||
virtualbox = linux;
|
||||
};
|
||||
|
||||
strategoPackages = {
|
||||
sdf = all;
|
||||
strategoxt = all;
|
||||
|
|
Loading…
Reference in a new issue