mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-13 11:30:35 +08:00
linux: 5.3.14 -> 5.4.1
Update latest kernel from 5.3.x to 5.4.x series
This commit is contained in:
@@ -3,16 +3,16 @@
|
||||
with stdenv.lib;
|
||||
|
||||
buildLinux (args // rec {
|
||||
version = "5.3.14";
|
||||
version = "5.4.1";
|
||||
|
||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||
modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
|
||||
modDirVersion = if (modDirVersionArg == null) then concatStringsSep "." (take 3 (splitVersion "${version}.0")) else modDirVersionArg;
|
||||
|
||||
# branchVersion needs to be x.y
|
||||
extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));
|
||||
extraMeta.branch = versions.majorMinor version;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
|
||||
sha256 = "0ckrbzwsc4lxd3l287wsd88mkfsd0kpf8nzchd9nfmkjiil14mwm";
|
||||
sha256 = "1nagqx18a49hgj13spvyf095231wgc441np4zcgl4gnm4jrqpm57";
|
||||
};
|
||||
} // (args.argsOverride or {}))
|
||||
@@ -15731,7 +15731,7 @@ in
|
||||
};
|
||||
|
||||
# Update this when adding the newest kernel major version!
|
||||
linux_latest = callPackage ../os-specific/linux/kernel/linux-5.3.nix {
|
||||
linux_latest = callPackage ../os-specific/linux/kernel/linux-5.4.nix {
|
||||
kernelPatches = [ kernelPatches.bridge_stp_helper ];
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user