1
0
Fork 0
mirror of https://github.com/samueldr/wip-pinebook-pro.git synced 2024-11-30 06:49:43 +01:00

linux_pinebookpro_latest: 5.6 -> 5.7

This commit is contained in:
Samuel Dionne-Riel 2020-07-14 00:21:17 -04:00
parent 4b754f92e7
commit 75c3a736c0
2 changed files with 10 additions and 11 deletions

View file

@ -1,4 +1,5 @@
{ stdenv { stdenv
, pkgs
, lib , lib
, kernelPatches , kernelPatches
, buildPackages , buildPackages
@ -16,7 +17,7 @@ let
splitString splitString
optionalString optionalString
; ;
version = "5.6"; version = "5.7";
additionalConfig = { additionalConfig = {
name = "pinebookpro-config-fixes"; name = "pinebookpro-config-fixes";
patch = null; patch = null;
@ -42,9 +43,12 @@ in
buildLinux (args // { buildLinux (args // {
inherit version; inherit version;
kernelPatches = kernelPatches ++ [ kernelPatches = lib.lists.unique (kernelPatches ++ [
pkgs.kernelPatches.bridge_stp_helper
pkgs.kernelPatches.request_key_helper
pkgs.kernelPatches.export_kernel_fpu_functions."5.3"
additionalConfig additionalConfig
]; ]);
# modDirVersion needs to be x.y.z, will automatically add .0 if needed # 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 concatStrings (intersperse "." (take 3 (splitString "." "${version}.0"))) else modDirVersionArg;
@ -56,8 +60,8 @@ buildLinux (args // {
domain = "gitlab.manjaro.org"; domain = "gitlab.manjaro.org";
owner = "tsys"; owner = "tsys";
repo = "linux-pinebook-pro"; repo = "linux-pinebook-pro";
rev = "93293259039d6fc3a725961d42b4f11bfc3f5127"; rev = "a8f4db8a726e5e4552e61333dcd9ea1ff35f39f9";
sha256 = "0yrn22j10f3f6hxmbd23ccis35f9s8cbjvzxiyxnsch2zab9349s"; sha256 = "1vbach0y28c29hjjx4sc9hda4jxyqfhv4wlip3ky93vf4gxm2fij";
}; };
postInstall = (optionalString (args ? postInstall) args.postInstall) + '' postInstall = (optionalString (args ? postInstall) args.postInstall) + ''

View file

@ -15,12 +15,7 @@ in
linux_pinebookpro = throw "The linux_pinebookpro attribute has been replaced by linux_pinebookpro_latest."; linux_pinebookpro = throw "The linux_pinebookpro attribute has been replaced by linux_pinebookpro_latest.";
linuxPackages_pinebookpro = throw "The linuxPackages_pinebookpro attribute has been replaced by linuxPackages_pinebookpro_latest."; linuxPackages_pinebookpro = throw "The linuxPackages_pinebookpro attribute has been replaced by linuxPackages_pinebookpro_latest.";
linux_pinebookpro_latest = callPackage ./kernel/latest { linux_pinebookpro_latest = callPackage ./kernel/latest { kernelPatches = []; };
kernelPatches = [
kernelPatches.bridge_stp_helper
kernelPatches.export_kernel_fpu_functions."5.3"
];
};
linuxPackages_pinebookpro_latest = linuxPackagesFor final.linux_pinebookpro_latest; linuxPackages_pinebookpro_latest = linuxPackagesFor final.linux_pinebookpro_latest;
pinebookpro-firmware = callPackage ./firmware {}; pinebookpro-firmware = callPackage ./firmware {};