From 336b044dcb4c867430f5296eb483457769437aec Mon Sep 17 00:00:00 2001 From: Tim Steinbach Date: Sun, 14 May 2017 22:03:14 -0400 Subject: [PATCH] linux-testing: 4.11-rc7 -> 4.12-rc1 --- pkgs/os-specific/linux/kernel/common-config.nix | 8 ++++++-- pkgs/os-specific/linux/kernel/linux-testing.nix | 10 +++++----- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 2c4dbc7d20fa..cd71d563a2fd 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -214,7 +214,9 @@ with stdenv.lib; SND_AC97_POWER_SAVE y # AC97 Power-Saving Mode SND_HDA_INPUT_BEEP y # Support digital beep via input layer SND_USB_CAIAQ_INPUT y - PSS_MIXER y # Enable PSS mixer (Beethoven ADSP-16 and other compatible) + ${optionalString (versionOlder version "4.12") '' + PSS_MIXER y # Enable PSS mixer (Beethoven ADSP-16 and other compatible) + ''} # USB serial devices. USB_SERIAL_GENERIC y # USB Generic Serial Driver @@ -495,7 +497,9 @@ with stdenv.lib; ${optionalString (versionAtLeast version "4.0") '' KVM_COMPAT? y ''} - KVM_DEVICE_ASSIGNMENT? y + ${optionalString (versionOlder version "4.12") '' + KVM_DEVICE_ASSIGNMENT? y + ''} ${optionalString (versionAtLeast version "4.0") '' KVM_GENERIC_DIRTYLOG_READ_PROTECT y ''} diff --git a/pkgs/os-specific/linux/kernel/linux-testing.nix b/pkgs/os-specific/linux/kernel/linux-testing.nix index 932c6602842e..2321187c96be 100644 --- a/pkgs/os-specific/linux/kernel/linux-testing.nix +++ b/pkgs/os-specific/linux/kernel/linux-testing.nix @@ -1,13 +1,13 @@ { stdenv, fetchurl, perl, buildLinux, ... } @ args: import ./generic.nix (args // rec { - version = "4.11-rc7"; - modDirVersion = "4.11.0-rc7"; - extraMeta.branch = "4.11"; + version = "4.12-rc1"; + modDirVersion = "4.12.0-rc1"; + extraMeta.branch = "4.12"; src = fetchurl { - url = "mirror://kernel/linux/kernel/v4.x/testing/linux-${version}.tar.xz"; - sha256 = "0zifawlrc62gsqmg91858wxx7vbpz0drjbhzmmbpplj3j7pdlly5"; + url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz"; + sha256 = "13xyiqn7xv8ryqrfsx8b18qm1zj0qkfz92mdh611nqhhdlw7gcpk"; }; features.iwlwifi = true;