src/kernel: use 5.10.148 on all platforms

This commit bumps the kgpe and am1i platforms to 5.10.148 for the
pre-kexec() kernel, so all platforms now use the same version.
master
Adam Joseph 2 years ago
parent 8c8c0017ca
commit 44caf3407c

@ -8,8 +8,8 @@
let let
inherit (nixpkgsOnBuildForHost) stdenv; inherit (nixpkgsOnBuildForHost) stdenv;
version = "5.4.218"; version = "5.10.148";
hash = "sha256-Pd10AoU31newwCsXz9+IH06933VVJsy5zX+Yg3Gp9Dg="; hash = "sha256-ElI/a+IhBnCU7FQbGWvOcEk/f0TwMbPEcR2C4pDG6VY=";
in stdenv.mkDerivation { in stdenv.mkDerivation {
pname = "linux"; pname = "linux";
inherit version; inherit version;
@ -38,7 +38,7 @@ in stdenv.mkDerivation {
nativeBuildInputs = nativeBuildInputs =
with nixpkgsOnBuildForBuild; with nixpkgsOnBuildForBuild;
[ perl bc nettools openssl rsync gmp libmpc mpfr gawk zstd python3Minimal [ perl bc nettools openssl rsync gmp libmpc mpfr gawk zstd python3Minimal
kmod bison flex libelf cpio pahole zlib elfutils ]; kmod bison flex elfutils cpio pahole zlib elfutils ];
hardeningDisable = [ "all" ]; hardeningDisable = [ "all" ];
# crypto/jitterentropy.c:54:3: error: #error "The CPU Jitter random # crypto/jitterentropy.c:54:3: error: #error "The CPU Jitter random

@ -39,19 +39,10 @@ in {
platform_name = "kevin"; platform_name = "kevin";
kernel = kernel =
let
version = "5.10.148";
hash = "sha256-ElI/a+IhBnCU7FQbGWvOcEk/f0TwMbPEcR2C4pDG6VY=";
in
final.lib.makeOverridable (prev.kernel.override { final.lib.makeOverridable (prev.kernel.override {
config = ./linux.config; config = ./linux.config;
buildTargets = [ "Image" "dtbs" ]; buildTargets = [ "Image" "dtbs" ];
}).overrideAttrs (a: { }).overrideAttrs (a: {
inherit version;
src = final.nixpkgsOnBuildForBuild.fetchurl {
url = "mirror://kernel/linux/kernel/v5.x/linux-${version}.tar.xz";
inherit hash;
};
postInstall = (a.postInstall or "") + '' postInstall = (a.postInstall or "") + ''
lzma < arch/arm64/boot/Image > $out/Image.lzma lzma < arch/arm64/boot/Image > $out/Image.lzma
cp arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dtb $out/ cp arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dtb $out/

Loading…
Cancel
Save