Merge pull request #317084 from baloo/baloo/kvdo/kernel-5.17

kvdo: build is broken on kernel < 5.17
This commit is contained in:
ajs124 2024-06-06 19:42:32 +02:00 committed by GitHub
commit 84cb7f5eb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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";
};
}