kvdo: build is broken on kernel < 5.17

complete_and_exit has been renamed to kthread_complete_and_exit
This commit is contained in:
Arthur Gautier 2024-06-03 20:31:23 -07:00
parent 5a7646f590
commit 265f31677e
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ let
tests = let callTest = p: lib.flip (import p) { inherit system pkgs; }; in {
thinpool = { test = callTest ./thinpool.nix; kernelFilter = lib.id; };
# we would like to test all versions, but the kernel module currently does not compile against the other versions
vdo = { test = callTest ./vdo.nix; kernelFilter = lib.filter (v: v == "5.15"); };
vdo = { test = callTest ./vdo.nix; kernelFilter = lib.filter (v: v == "6.1"); };
# systemd in stage 1
@ -26,7 +26,7 @@ let
};
vdo-sd-stage-1 = {
test = callTest ./systemd-stage-1.nix;
kernelFilter = lib.filter (v: v == "5.15");
kernelFilter = lib.filter (v: v == "6.1");
flavour = "vdo";
};
};

View File

@ -30,6 +30,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/dm-vdo/kvdo";
description = "A pair of kernel modules which provide pools of deduplicated and/or compressed block storage";
platforms = platforms.linux;
broken = kernel.kernelOlder "5.15";
broken = kernel.kernelOlder "5.17";
};
}