git.iko.soy/typeable/nixpkgs
on master help sign in
linux-testing: 4.14-rc8 -> 4.15-rc1

Closes #32137

commite8fcced76e7f076340cd742c7179b5f4d32f079c authorPhilipp Steinpass <philipp@xndr.de> dateTue 28 Nov 2017, 00:15 (9 years ago) parentacbaefa
3 files changed+13−7
pkgs/os-specific/linux/kernel/linux-testing.nix+5−5 pkgs/os-specific/linux/kernel/manual-config.nix+8−1 pkgs/top-level/all-packages.nix−1
pkgs/os-specific/linux/kernel/linux-testing.nix+5−5
@@ -1,13 +1,13 @@
1−{ stdenv, hostPlatform, fetchurl, perl, buildLinux, ... } @ args:
1+{ stdenv, hostPlatform, fetchurl, perl, buildLinux, libelf, utillinux, ... } @ args:
22
33import ./generic.nix (args // rec {
4− version = "4.14-rc8";
5− modDirVersion = "4.14.0-rc8";
6− extraMeta.branch = "4.14";
4+ version = "4.15-rc1";
5+ modDirVersion = "4.15.0-rc1";
6+ extraMeta.branch = "4.15";
77
88 src = fetchurl {
99 url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
10− sha256 = "0ir2ggflm1xjnn1kvv2c99m5zni5kg0ygzlpm588wnhkzd93nqjh";
10+ sha256 = "1l7c132qb5qjd80hga03ivssfq65brqyd95sb4rd065dqrixp20n";
1111 };
1212
1313 # Should the testing kernels ever be built on Hydra?
pkgs/os-specific/linux/kernel/manual-config.nix+8−1
@@ -1,4 +1,6 @@
11{ runCommand, nettools, bc, perl, gmp, libmpc, mpfr, kmod, openssl
2+, libelf ? null
3+, utillinux ? null
24, writeTextFile, ubootTools
35, hostPlatform
46}:
@@ -230,13 +232,18 @@ let
230232 };
231233in
232234
235+assert stdenv.lib.versionAtLeast version "4.15" -> libelf != null;
236+assert stdenv.lib.versionAtLeast version "4.15" -> utillinux != null;
233237stdenv.mkDerivation ((drvAttrs config stdenv.platform (kernelPatches ++ nativeKernelPatches) configfile) // {
234238 name = "linux-${version}";
235239
236240 enableParallelBuilding = true;
237241
238242 nativeBuildInputs = [ perl bc nettools openssl gmp libmpc mpfr ]
239− ++ optional (stdenv.platform.kernelTarget == "uImage") ubootTools;
243+ ++ optional (stdenv.platform.kernelTarget == "uImage") ubootTools
244+ ++ optional (stdenv.lib.versionAtLeast version "4.15") libelf
245+ ++ optional (stdenv.lib.versionAtLeast version "4.15") utillinux
246+ ;
240247
241248 hardeningDisable = [ "bindnow" "format" "fortify" "stackprotector" "pic" ];
242249
pkgs/top-level/all-packages.nix−1
@@ -12598,7 +12598,6 @@ with pkgs;
1259812598 linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
1259912599 kernelPatches = [
1260012600 kernelPatches.bridge_stp_helper
12601− kernelPatches.p9_fixes
1260212601 kernelPatches.modinst_arg_list_too_long
1260312602 ] ++ lib.optionals ((platform.kernelArch or null) == "mips") [
1260412603 kernelPatches.mips_fpureg_emu