3
0
Fork 0
forked from mirrors/nixpkgs

Update the raspberry pi kernel to one newer.

This commit is contained in:
Lluís Batlle i Rossell 2013-01-28 23:42:36 +00:00
parent 60f2d9c6bb
commit 45de66b2b1
2 changed files with 9 additions and 9 deletions

View file

@ -1,5 +1,5 @@
args @ {
stdenv, fetchgit, extraConfig ? "" , perl, mktemp, module_init_tools, ...
stdenv, fetchurl, extraConfig ? "" , perl, mktemp, module_init_tools, ...
}:
let
@ -8,22 +8,24 @@ let
${if kernelPlatform ? kernelExtraConfig then kernelPlatform.kernelExtraConfig else ""}
${extraConfig}
'';
rev = "91a3be5b2b";
in
import ./generic.nix (
rec {
version = "3.6.y";
version = "3.6.y-${rev}";
testing = false;
preConfigure = ''
substituteInPlace scripts/depmod.sh --replace '-b "$INSTALL_MOD_PATH"' ""
'';
src = fetchgit {
url = https://github.com/raspberrypi/linux;
rev = "6e1f8bce970043a658d15f9350eb85152fd5fc4e";
sha256 = "";
src = fetchurl {
url = "https://api.github.com/repos/raspberrypi/linux/tarball/${rev}";
name = "linux-raspberrypi-${version}.tar.gz";
sha256 = "04370b1da7610622372940decdc13ddbba2a58c9da3c3bd3e7df930a399f140d";
};
config = configWithPlatform stdenv.platform;
@ -34,8 +36,6 @@ import ./generic.nix (
#features.needsCifsUtils = true;
#features.canDisableNetfilterConntrackHelpers = true;
#features.netfilterRPFilter = true;
fetchurl = null;
}
// removeAttrs args ["extraConfig"]

View file

@ -5901,7 +5901,7 @@ let
};
linux_3_6_rpi = makeOverridable (import ../os-specific/linux/kernel/linux-rpi-3.6.nix) {
inherit fetchgit stdenv perl mktemp module_init_tools ubootChooser;
inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser;
};
/* Linux kernel modules are inherently tied to a specific kernel. So