orangepi5plus kernel: fix versioning

This commit is contained in:
Motiejus Jakštys 2024-02-29 10:14:42 +02:00
parent b53fb749bb
commit 5333b17e06
2 changed files with 15 additions and 19 deletions

View File

@ -8,27 +8,23 @@
crossPkgs = pkgs.pkgsCross.aarch64-multiplatform; crossPkgs = pkgs.pkgsCross.aarch64-multiplatform;
in { in {
boot = { boot = {
kernelPackages = let kernelPackages = crossPkgs.linuxPackagesFor (crossPkgs.buildLinux {
branch = "6.8"; version = "6.8.0-rc1";
version = "${branch}.0-rc1"; modDirVersion = "6.8.0-rc1";
in
crossPkgs.linuxPackagesFor (crossPkgs.buildLinux {
inherit version;
modDirVersion = version;
src = builtins.fetchTarball { src = builtins.fetchTarball {
url = "https://git.kernel.org/torvalds/t/linux-${version}.tar.gz"; url = "https://git.kernel.org/torvalds/t/linux-6.8-rc1.tar.gz";
sha256 = "0rnrd1iy73vkrablx6rqlmxv9bv9zjfh6zj09aqca9rr5h8iz1p3"; sha256 = "0rnrd1iy73vkrablx6rqlmxv9bv9zjfh6zj09aqca9rr5h8iz1p3";
}; };
kernelPatches = [ kernelPatches = [
{ {
name = "orangepi-5-plus-collabora-v${version}"; name = "orangepi-5-plus-collabora-v6.8.0-rc1";
patch = ./orangepi5plus/rk3588-v${version}.patch; patch = ./orangepi5plus/rk3588-v6.8.0-rc1.patch;
} }
]; ];
extraMeta.branch = branch; extraMeta.branch = "6.8";
}); });
loader = { loader = {
grub.enable = false; grub.enable = false;