From dac65a375cfd96593466b3bab0380fe3c7067304 Mon Sep 17 00:00:00 2001 From: Edmund Wu Date: Fri, 26 Apr 2019 09:11:19 -0400 Subject: [PATCH] linux_testing_bcachefs: 4.20.2019.03.13 -> 5.0.2019.04.04 --- .../linux/kernel/linux-testing-bcachefs.nix | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix b/pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix index 4b9afba0ea92..144ac0e07cbc 100644 --- a/pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix +++ b/pkgs/os-specific/linux/kernel/linux-testing-bcachefs.nix @@ -1,17 +1,26 @@ -{ stdenv, buildPackages, fetchgit, perl, buildLinux, ... } @ args: +{ stdenv, buildPackages, fetchgit, fetchpatch, perl, buildLinux, ... } @ args: buildLinux (args // rec { - version = "4.20.2019.03.13"; - modDirVersion = "4.20.0"; + version = "5.0.2019.04.04"; + modDirVersion = "5.0.0"; src = fetchgit { url = "https://evilpiepirate.org/git/bcachefs.git"; - rev = "986543d24e08a0c0308472403b230d546e7ecbbb"; - sha256 = "07h9l47wijhlx3xnyxnj8kv1zb9yf2x0gag8n606yq6wn9r523hv"; + rev = "d83b992f653d9f742f3f8567dbcfd1f4f72e858f"; + sha256 = "17xipjhkl4arshyj3riwq4pgl2qqcnlfhaga77a430wy22s7plh2"; }; extraConfig = "BCACHEFS_FS m"; + kernelPatches = [ + { name = "export-bio_iov_iter_get_pages"; + patch = fetchpatch { + name = "export-bio_iov_iter_get_pages.patch"; + url = "https://evilpiepirate.org/git/bcachefs.git/patch/?id=bd8be01aa04eb9cc33fcdce89ac6e0fac0ae0fcf"; + sha256 = "0h5z98krx8077wwhiqp3bwc1h4nwnifxsn8mpxr2lcxnqmky3hz0"; + }; } + ]; + extraMeta = { branch = "master"; hydraPlatforms = []; # Should the testing kernels ever be built on Hydra?