git.iko.soy/typeable/nixpkgs
on master help sign in
linux: Add 5.3, linux-libre: 16791 -> 16794

Update linuxPackages_latest to 5.3

commit921071da08d673f34b3dcfcd6129cb2c95f54a3b authorTim Steinbach <tim@nequissimus.com> dateMon 16 Sep 2019, 09:18 (7 years ago) parentef13578
3 files changed+25−2
pkgs/os-specific/linux/kernel/linux-5.3.nix+18 pkgs/os-specific/linux/kernel/linux-libre.nix+1−1 pkgs/top-level/all-packages.nix+6−1
pkgs/os-specific/linux/kernel/linux-5.3.nixnew file+18
@@ -0,0 +1,18 @@
1+{ stdenv, buildPackages, fetchurl, perl, buildLinux, modDirVersionArg ? null, ... } @ args:
2+
3+with stdenv.lib;
4+
5+buildLinux (args // rec {
6+ version = "5.3";
7+
8+ # modDirVersion needs to be x.y.z, will automatically add .0 if needed
9+ modDirVersion = if (modDirVersionArg == null) then concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
10+
11+ # branchVersion needs to be x.y
12+ extraMeta.branch = concatStrings (intersperse "." (take 2 (splitString "." version)));
13+
14+ src = fetchurl {
15+ url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
16+ sha256 = "1ck70ns130nqf6xy02bwm67y00yh46lhjzdajq7zzx1wa6bw7wvq";
17+ };
18+} // (args.argsOverride or {}))
pkgs/os-specific/linux/kernel/linux-libre.nix+1−1
@@ -4,7 +4,7 @@
44
55 # Update this if linux_latest-libre fails to build.
66 # $ curl https://www.fsfla.org/svn/fsfla/software/linux-libre/releases/branches/ | grep -Eo 'Revision [0-9]+'
7− rev = "16791";
7+ rev = "16794";
88 sha256 = "1lpaka4hs7yrpnrzfybd6radjylwvw2p4aly68pypykqs2srvm7j";
99 }
1010, ...
pkgs/top-level/all-packages.nix+6−1
@@ -15717,6 +15717,10 @@ in
1571715717 ];
1571815718 };
1571915719
15720+ linux_5_3 = callPackage ../os-specific/linux/kernel/linux-5.3.nix {
15721+ kernelPatches = [ kernelPatches.bridge_stp_helper ];
15722+ };
15723+
1572015724 linux_testing = callPackage ../os-specific/linux/kernel/linux-testing.nix {
1572115725 kernelPatches = [
1572215726 kernelPatches.bridge_stp_helper
@@ -15911,7 +15915,7 @@ in
1591115915 linux = linuxPackages.kernel;
1591215916
1591315917 # Update this when adding the newest kernel major version!
15914− linuxPackages_latest = linuxPackages_5_2;
15918+ linuxPackages_latest = linuxPackages_5_3;
1591515919 linux_latest = linuxPackages_latest.kernel;
1591615920
1591715921 # Build the kernel modules for the some of the kernels.
@@ -15922,6 +15926,7 @@ in
1592215926 linuxPackages_4_14 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_14);
1592315927 linuxPackages_4_19 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_4_19);
1592415928 linuxPackages_5_2 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_5_2);
15929+ linuxPackages_5_3 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_5_3);
1592515930
1592615931 # When adding to this list:
1592715932 # - Update linuxPackages_latest to the latest version