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
inherit (nixpkgsOnBuildForHost) stdenv;
version = "5.4.218";
hash = "sha256-Pd10AoU31newwCsXz9+IH06933VVJsy5zX+Yg3Gp9Dg=";
version = "5.10.148";
hash = "sha256-ElI/a+IhBnCU7FQbGWvOcEk/f0TwMbPEcR2C4pDG6VY=";
in stdenv.mkDerivation {
pname = "linux";
inherit version;
@ -38,7 +38,7 @@ in stdenv.mkDerivation {
nativeBuildInputs =
with nixpkgsOnBuildForBuild;
[ 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" ];
# crypto/jitterentropy.c:54:3: error: #error "The CPU Jitter random

@ -39,19 +39,10 @@ in {
platform_name = "kevin";
kernel =
let
version = "5.10.148";
hash = "sha256-ElI/a+IhBnCU7FQbGWvOcEk/f0TwMbPEcR2C4pDG6VY=";
in
final.lib.makeOverridable (prev.kernel.override {
config = ./linux.config;
buildTargets = [ "Image" "dtbs" ];
}).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 "") + ''
lzma < arch/arm64/boot/Image > $out/Image.lzma
cp arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dtb $out/

Loading…
Cancel
Save