linux 5.10

This commit is contained in:
Jeremy Runyan 2021-04-28 20:32:26 -04:00
parent 8939b52c7f
commit 5e2c88f8ef

View File

@ -1,4 +1,4 @@
{ lib, buildLinux, linux_5_9, runCommandLocal, runCommand, fetchgit, ... }: { lib, buildLinux, linux_5_10, runCommandLocal, runCommand, fetchgit, ... }:
let let
armbian = fetchgit { armbian = fetchgit {
url = https://github.com/armbian/build.git; url = https://github.com/armbian/build.git;
@ -21,7 +21,7 @@ let
done done
''; '';
src = runCommand "linux-rockchip64" {} '' src = runCommand "linux-rockchip64" {} ''
unpackFile ${linux_5_9.src} unpackFile ${linux_5_10.src}
cd linux*/ cd linux*/
for f in ${armbian}/patch/kernel/rockchip64-current/* ; do for f in ${armbian}/patch/kernel/rockchip64-current/* ; do
if [[ "$f" =~ ${patchSkipPattern} ]] ; then if [[ "$f" =~ ${patchSkipPattern} ]] ; then
@ -36,7 +36,7 @@ let
''; '';
in buildLinux { in buildLinux {
inherit src; inherit src;
inherit (linux_5_9) version modDirVersion; inherit (linux_5_10) version modDirVersion;
autoModules = false; autoModules = false;
kernelPatches = [ kernelPatches = [
#{ name = "rockchip64-current"; patch = patch; } #{ name = "rockchip64-current"; patch = patch; }