Try building a really full-featured configuration of the fresh Linux kernel pre-release
svn path=/nixpkgs/trunk/; revision=16344
This commit is contained in:
parent
cf03c27fb7
commit
ad2f62980a
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,30 @@
|
|||
args @ {stdenv, fetchurl, userModeLinux ? false, ...}:
|
||||
|
||||
assert !userModeLinux;
|
||||
|
||||
import ./generic.nix (
|
||||
|
||||
let
|
||||
baseVersion = "2.6.30";
|
||||
in
|
||||
|
||||
rec {
|
||||
version = "2.6.31-rc3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v2.6/linux-${baseVersion}.tar.bz2";
|
||||
sha256 = "1yf5xhdnpcyhw4y78v35wyidlsyzxvbbnzw6jd31zni7ira6jvjk";
|
||||
};
|
||||
|
||||
features = {
|
||||
iwlwifi = true;
|
||||
};
|
||||
|
||||
config =
|
||||
if stdenv.system == "i686-linux" then ./config-2.6.31-rc3-all-mod-i686 else
|
||||
#if stdenv.system == "x86_64-linux" then ./config-2.6.29-x86_64-smp else
|
||||
abort "No kernel configuration for your platform!";
|
||||
}
|
||||
|
||||
// args
|
||||
)
|
|
@ -5033,6 +5033,18 @@ let
|
|||
];
|
||||
};
|
||||
|
||||
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 = [
|
||||
{ name = "rc3 patch";
|
||||
patch = fetchurl {
|
||||
url = "http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.31-rc3.bz2";
|
||||
sha256 = "0659p61w8pgl00wh06vmmnkmpjy1ybhi6xnffq695nvsckcgjx79";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
/* 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
|
||||
|
@ -5138,6 +5150,7 @@ 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_rc3 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31_rc3);
|
||||
|
||||
# The current default kernel / kernel modules.
|
||||
kernelPackages = kernelPackages_2_6_28;
|
||||
|
|
|
@ -498,6 +498,11 @@ in {
|
|||
virtualbox = linux;
|
||||
};
|
||||
|
||||
kernelPackages_2_6_31_rc3 = {
|
||||
aufs = linux;
|
||||
kernel = linux;
|
||||
};
|
||||
|
||||
strategoPackages = {
|
||||
sdf = all;
|
||||
strategoxt = all;
|
||||
|
|
Loading…
Reference in New Issue