* Linux 2.6.19.1.
svn path=/nixpkgs/trunk/; revision=7522
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1 +0,0 @@
|
||||
import ./linux-2.6.11.12.nix
|
||||
@@ -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)))
|
||||
+ ")");
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user