mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
linux: 4.20-rc7 -> 5.0-rc1
This commit is contained in:
parent
220aa6713b
commit
97aba92bcd
2 changed files with 9 additions and 9 deletions
|
@ -88,9 +88,9 @@ let
|
|||
# Include the CFQ I/O scheduler in the kernel, rather than as a
|
||||
# module, so that the initrd gets a good I/O scheduler.
|
||||
scheduler = {
|
||||
IOSCHED_CFQ = yes;
|
||||
IOSCHED_CFQ = whenOlder "5.0" yes; # Removed in 5.0-RC1
|
||||
BLK_CGROUP = yes; # required by CFQ"
|
||||
IOSCHED_DEADLINE = yes;
|
||||
IOSCHED_DEADLINE = whenOlder "5.0" yes; # Removed in 5.0-RC1
|
||||
MQ_IOSCHED_DEADLINE = whenAtLeast "4.11" yes;
|
||||
BFQ_GROUP_IOSCHED = whenAtLeast "4.12" yes;
|
||||
MQ_IOSCHED_KYBER = whenAtLeast "4.12" yes;
|
||||
|
@ -365,7 +365,7 @@ let
|
|||
# https://lwn.net/Articles/682582/
|
||||
# https://bugzilla.kernel.org/show_bug.cgi?id=12309#c655
|
||||
BLK_WBT = yes;
|
||||
BLK_WBT_SQ = yes;
|
||||
BLK_WBT_SQ = whenOlder "5.0" yes; # Removed in 5.0-RC1
|
||||
BLK_WBT_MQ = yes;
|
||||
};
|
||||
|
||||
|
@ -382,7 +382,7 @@ let
|
|||
|
||||
DEVPTS_MULTIPLE_INSTANCES = whenOlder "4.7" yes;
|
||||
BLK_DEV_THROTTLING = yes;
|
||||
CFQ_GROUP_IOSCHED = yes;
|
||||
CFQ_GROUP_IOSCHED = whenOlder "5.0" yes; # Removed in 5.0-RC1
|
||||
CGROUP_PIDS = whenAtLeast "4.3" yes;
|
||||
};
|
||||
|
||||
|
@ -466,7 +466,7 @@ let
|
|||
MEDIA_DIGITAL_TV_SUPPORT = yes;
|
||||
MEDIA_CAMERA_SUPPORT = yes;
|
||||
MEDIA_RC_SUPPORT = whenOlder "4.14" yes;
|
||||
MEDIA_CONTROLLER = yes;
|
||||
MEDIA_CONTROLLER = yes;
|
||||
MEDIA_PCI_SUPPORT = yes;
|
||||
MEDIA_USB_SUPPORT = yes;
|
||||
MEDIA_ANALOG_TV_SUPPORT = yes;
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{ stdenv, buildPackages, fetchurl, perl, buildLinux, libelf, utillinux, ... } @ args:
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "4.20-rc7";
|
||||
modDirVersion = "4.20.0-rc7";
|
||||
extraMeta.branch = "4.20";
|
||||
version = "5.0-rc1";
|
||||
modDirVersion = "5.0.0-rc1";
|
||||
extraMeta.branch = "5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz";
|
||||
sha256 = "0qga2x4rz1vphi7j044f4b4la24qyk5sm7lm8q991imq5wm5s2rl";
|
||||
sha256 = "01gva1hp2jyf137iy5ryaq93ksiw9ysnczpp914scx6k005y7yzz";
|
||||
};
|
||||
|
||||
# Should the testing kernels ever be built on Hydra?
|
||||
|
|
Loading…
Reference in a new issue