linux-chromiumos: remove 3.14

3.14 is no longer supported upstream by kernel.org and thus no longer
receives security patches. The git commit mentioned in this .nix isn't
even available in the linked repository --
https://chromium.googlesource.com/chromiumos/third_party/kernel -- so I
think this .nix might be dead anyway. Finally, it specifies 3.14.0,
which is so ridiculously old (the latest was 3.14.79) that nobody
develops for it.

Fixes: #25145
Supports: #25127

-109
-47
pkgs/os-specific/linux/kernel/chromiumos-patches/fix-double-Kconfig-entry-3.14.patch
··· 1 - From de6299c1627d80ea6742a0bef15bdb6981e5cfd7 Mon Sep 17 00:00:00 2001 2 - From: Nikolay Amiantov <ab@fmap.me> 3 - Date: Fri, 25 Dec 2015 17:11:40 +0300 4 - Subject: [PATCH 1/2] drivers_base: fix double Kconfig entry 5 - 6 - --- 7 - drivers/base/Kconfig | 24 ------------------------ 8 - 1 file changed, 24 deletions(-) 9 - 10 - diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig 11 - index 946ced4..fc3405e1 100644 12 - --- a/drivers/base/Kconfig 13 - +++ b/drivers/base/Kconfig 14 - @@ -163,30 +163,6 @@ config FW_LOADER_USER_HELPER 15 - no longer required unless you have a special firmware file that 16 - resides in a non-standard path. 17 - 18 - -config WANT_DEV_COREDUMP 19 - - bool 20 - - help 21 - - Drivers should "select" this option if they desire to use the 22 - - device coredump mechanism. 23 - - 24 - -config ALLOW_DEV_COREDUMP 25 - - bool "Allow device coredump" if EXPERT 26 - - default y 27 - - help 28 - - This option controls if the device coredump mechanism is available or 29 - - not; if disabled, the mechanism will be omitted even if drivers that 30 - - can use it are enabled. 31 - - Say 'N' for more sensitive systems or systems that don't want 32 - - to ever access the information to not have the code, nor keep any 33 - - data. 34 - - 35 - - If unsure, say Y. 36 - - 37 - -config DEV_COREDUMP 38 - - bool 39 - - default y if WANT_DEV_COREDUMP 40 - - depends on ALLOW_DEV_COREDUMP 41 - - 42 - config DEBUG_DRIVER 43 - bool "Driver Core verbose debug messages" 44 - depends on DEBUG_KERNEL 45 - -- 46 - 2.6.3 47 -
···
-25
pkgs/os-specific/linux/kernel/chromiumos-patches/mfd-fix-dependency.patch
··· 1 - From 65c5b603489d230b1f1775b01ba1529843cfeba6 Mon Sep 17 00:00:00 2001 2 - From: Nikolay Amiantov <ab@fmap.me> 3 - Date: Fri, 25 Dec 2015 17:11:56 +0300 4 - Subject: [PATCH 2/2] mfd: fix dependency for MFD_CROS_EC 5 - 6 - --- 7 - drivers/mfd/Kconfig | 2 +- 8 - 1 file changed, 1 insertion(+), 1 deletion(-) 9 - 10 - diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig 11 - index f425dce..a62a285 100644 12 - --- a/drivers/mfd/Kconfig 13 - +++ b/drivers/mfd/Kconfig 14 - @@ -61,7 +61,7 @@ config MFD_AAT2870_CORE 15 - 16 - config MFD_CROS_EC 17 - tristate "Support ChromeOS Embedded Controller" 18 - - depends on MFD_CORE 19 - + select MFD_CORE 20 - help 21 - If you say Y here you get support for the ChromeOS Embedded 22 - Controller (EC) providing keyboard, battery and power services. 23 - -- 24 - 2.6.3 25 -
···
-21
pkgs/os-specific/linux/kernel/linux-chromiumos-3.14.nix
··· 1 - { stdenv, fetchgit, perl, buildLinux, ncurses, openssh, ... } @ args: 2 - 3 - # ChromiumOS requires a 64bit build host 4 - assert stdenv.is64bit; 5 - 6 - import ./generic.nix (args // rec { 7 - version = "3.14.0"; 8 - extraMeta.branch = "3.14"; 9 - 10 - src = fetchgit { 11 - url = "https://chromium.googlesource.com/chromiumos/third_party/kernel"; 12 - rev = "63a768b40c91c6f3518ea1f20d0cb664ed4e6a57"; 13 - sha256 = "1gysrjanvnkbvgml7ipjr119bmlqfqn2zz5ca5kjkapwrfm3cb69"; 14 - }; 15 - 16 - features.iwlwifi = true; 17 - features.efiBootStub = true; 18 - features.needsCifsUtils = true; 19 - features.netfilterRPFilter = true; 20 - features.chromiumos = true; 21 - } // (args.argsOverride or {}))
···
-6
pkgs/os-specific/linux/kernel/patches.nix
··· 123 patch = ./genksyms-fix-segfault.patch; 124 }; 125 126 - 127 - chromiumos_Kconfig_fix_entries_3_14 = 128 - { name = "Kconfig_fix_entries_3_14"; 129 - patch = ./chromiumos-patches/fix-double-Kconfig-entry-3.14.patch; 130 - }; 131 - 132 chromiumos_Kconfig_fix_entries_3_18 = 133 { name = "Kconfig_fix_entries_3_18"; 134 patch = ./chromiumos-patches/fix-double-Kconfig-entry-3.18.patch;
··· 123 patch = ./genksyms-fix-segfault.patch; 124 }; 125 126 chromiumos_Kconfig_fix_entries_3_18 = 127 { name = "Kconfig_fix_entries_3_18"; 128 patch = ./chromiumos-patches/fix-double-Kconfig-entry-3.18.patch;
-10
pkgs/top-level/all-packages.nix
··· 11688 ]; 11689 }; 11690 11691 - linux_chromiumos_3_14 = callPackage ../os-specific/linux/kernel/linux-chromiumos-3.14.nix { 11692 - kernelPatches = [ kernelPatches.chromiumos_Kconfig_fix_entries_3_14 11693 - kernelPatches.chromiumos_mfd_fix_dependency 11694 - kernelPatches.chromiumos_no_link_restrictions 11695 - kernelPatches.genksyms_fix_segfault 11696 - kernelPatches.DCCP_double_free_vulnerability_CVE-2017-6074 11697 - ]; 11698 - }; 11699 - 11700 linux_chromiumos_3_18 = callPackage ../os-specific/linux/kernel/linux-chromiumos-3.18.nix { 11701 kernelPatches = [ kernelPatches.chromiumos_Kconfig_fix_entries_3_18 11702 kernelPatches.chromiumos_no_link_restrictions ··· 11911 }; 11912 11913 # ChromiumOS kernels 11914 - linuxPackages_chromiumos_3_14 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_chromiumos_3_14); 11915 linuxPackages_chromiumos_3_18 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_chromiumos_3_18); 11916 linuxPackages_chromiumos_latest = recurseIntoAttrs (linuxPackagesFor pkgs.linux_chromiumos_latest); 11917
··· 11688 ]; 11689 }; 11690 11691 linux_chromiumos_3_18 = callPackage ../os-specific/linux/kernel/linux-chromiumos-3.18.nix { 11692 kernelPatches = [ kernelPatches.chromiumos_Kconfig_fix_entries_3_18 11693 kernelPatches.chromiumos_no_link_restrictions ··· 11902 }; 11903 11904 # ChromiumOS kernels 11905 linuxPackages_chromiumos_3_18 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_chromiumos_3_18); 11906 linuxPackages_chromiumos_latest = recurseIntoAttrs (linuxPackagesFor pkgs.linux_chromiumos_latest); 11907