zfsUnstable: increase compatiblity range (to linux 6.2)

This commit is contained in:
PedroHLC ☭
2023-03-13 10:57:00 -03:00
parent 8e3fad82be
commit a8693e7cc2
+12 -2
View File
@@ -17,6 +17,7 @@
# for determining the latest compatible linuxPackages
, linuxPackages_6_1 ? pkgs.linuxKernel.packages.linux_6_1
, linuxPackages_6_2 ? pkgs.linuxKernel.packages.linux_6_2
}:
let
@@ -233,8 +234,17 @@ in {
zfsUnstable = common {
# check the release notes for compatible kernels
kernelCompatible = kernel.kernelOlder "6.2";
latestCompatibleLinuxPackages = linuxPackages_6_1;
# NOTE:
# zfs-2.1.9<=x<=2.1.10 is broken with aarch64-linux-6.2
# for future releases, please delete this condition.
kernelCompatible =
if kernel.stdenv.isx86_64
then kernel.kernelOlder "6.3"
else kernel.kernelOlder "6.2";
latestCompatibleLinuxPackages =
if kernel.stdenv.isx86_64
then linuxPackages_6_2
else linuxPackages_6_1;
# this package should point to a version / git revision compatible with the latest kernel release
# IMPORTANT: Always use a tagged release candidate or commits from the