zfs: never use the 6.0 kernel
This commit is contained in:
parent
f0501fae16
commit
4796998461
|
@ -10,7 +10,14 @@ in
|
|||
|
||||
config = lib.mkIf (cfg.recommendedDefaults && cfg.enabled) {
|
||||
boot = {
|
||||
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
kernelPackages =
|
||||
let
|
||||
ver = config.boot.zfs.package.latestCompatibleLinuxPackages.kernel.version;
|
||||
in
|
||||
# 6.0 has a bug in the bind syscall and does not error correct when the port is already in use
|
||||
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/7VPNMC77YC3SI5LFYKUA4B5MTFPLTLVB/
|
||||
# https://lore.kernel.org/stable/CAFsF8vL4CGFzWMb38_XviiEgxoKX0GYup=JiUFXUOmagdk9CRg@mail.gmail.com/
|
||||
lib.mkIf (lib.versions.majorMinor ver != "6.0") config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
zfs.forceImportRoot = false;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue