forked from mirrors/nixpkgs
Try newer -RC kernel
svn path=/nixpkgs/trunk/; revision=16504
This commit is contained in:
parent
cf229e4156
commit
3baa3663c9
31
pkgs/os-specific/linux/kernel/linux-2.6.31-rc4.nix
Normal file
31
pkgs/os-specific/linux/kernel/linux-2.6.31-rc4.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
args @ {stdenv, fetchurl, userModeLinux ? false, oldI686 ? false, ...}:
|
||||
|
||||
assert !userModeLinux;
|
||||
|
||||
import ./generic.nix (
|
||||
|
||||
let
|
||||
baseVersion = "2.6.30";
|
||||
in
|
||||
|
||||
rec {
|
||||
version = "2.6.31-rc4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v2.6/linux-${baseVersion}.tar.bz2";
|
||||
sha256 = "d7b9f19b92fd5c693c16cd62f441d051b699f28ec6a175d1b464e58bacd8c78f";
|
||||
};
|
||||
|
||||
features = {
|
||||
iwlwifi = true;
|
||||
};
|
||||
|
||||
config =
|
||||
if stdenv.system == "i686-linux" then if oldI686 then ./config-2.6.31-rc3-all-mod-i686-older else
|
||||
./config-2.6.31-rc3-all-mod-i686 else
|
||||
if stdenv.system == "x86_64-linux" then ./config-2.6.31-rc3-all-mod-amd64 else
|
||||
abort "No kernel configuration for your platform!";
|
||||
}
|
||||
|
||||
// args
|
||||
)
|
|
@ -5058,6 +5058,23 @@ let
|
|||
];
|
||||
};
|
||||
|
||||
kernel_2_6_31_rc4 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.31-rc4.nix) {
|
||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||
kernelPatches = [
|
||||
{ name = "rc4 patch";
|
||||
patch = fetchurl {
|
||||
url = "http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.31-rc4.bz2";
|
||||
sha256 = "1qyjh8gf0clj4a8aiblrn2p7244h7dp2psnidylxr2y53z2vg62s";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
# For older x86 processors without PAE/PAT
|
||||
kernel_2_6_31_rc4_old_i686 = kernel_2_6_31_rc4.override {
|
||||
oldI686 = true;
|
||||
};
|
||||
|
||||
kernel_2_6_31_rc3 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.31-rc3.nix) {
|
||||
inherit fetchurl stdenv perl mktemp module_init_tools;
|
||||
kernelPatches = [
|
||||
|
@ -5197,6 +5214,8 @@ let
|
|||
kernelPackages_2_6_27 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_27);
|
||||
kernelPackages_2_6_28 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_28);
|
||||
kernelPackages_2_6_29 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_29);
|
||||
kernelPackages_2_6_31_rc4 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31_rc4);
|
||||
kernelPackages_2_6_31_rc4_old_i686 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31_rc4_old_i686);
|
||||
kernelPackages_2_6_31_rc3 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31_rc3);
|
||||
kernelPackages_2_6_31_rc3_old_i686 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31_rc3_old_i686);
|
||||
kernelPackages_2_6_31_rc2 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31_rc2);
|
||||
|
|
|
@ -499,12 +499,12 @@ in {
|
|||
virtualbox = linux;
|
||||
};
|
||||
|
||||
kernelPackages_2_6_31_rc3 = {
|
||||
kernelPackages_2_6_31_rc4 = {
|
||||
aufs = linux;
|
||||
kernel = linux;
|
||||
};
|
||||
|
||||
kernelPackages_2_6_31_rc3_old_i686 = {
|
||||
kernelPackages_2_6_31_rc4_old_i686 = {
|
||||
aufs = ["i686-linux"];
|
||||
kernel = ["i686-linux"];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue