Merge pull request #231813 from erdnaxe/kvdo-fix

kvdo: 8.2.0.2 -> 8.2.1.6; unbreak
This commit is contained in:
Ryan Lahfa 2023-05-14 22:18:44 +02:00 committed by GitHub
commit 115cf02e18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View File

@ -1,16 +1,19 @@
{ stdenv, lib, fetchFromGitHub, vdo, kernel }:
stdenv.mkDerivation rec {
inherit (vdo) version;
inherit (vdo);
pname = "kvdo";
version = "8.2.1.6"; # bump this version with vdo
src = fetchFromGitHub {
owner = "dm-vdo";
repo = "kvdo";
rev = version;
hash = "sha256-4FYTFUIvGjea3bh2GbQYG7hSswVDdNS3S+jWQ9+inpg=";
hash = "sha256-S5r2Rgx5pWk4IsdIwmfZkuGL/oEQ3prquyVqxjR3cO0=";
};
nativeBuildInputs = kernel.moduleBuildDependencies;
dontConfigure = true;
enableParallelBuilding = true;
@ -19,7 +22,7 @@ stdenv.mkDerivation rec {
preBuild = ''
makeFlags="$makeFlags -C ${KSRC} M=$(pwd)"
'';
'';
installTargets = [ "modules_install" ];
meta = with lib; {
@ -27,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" || kernel.kernelAtLeast "5.17";
broken = kernel.kernelOlder "5.15";
};
}

View File

@ -9,7 +9,7 @@
stdenv.mkDerivation rec {
pname = "vdo";
version = "8.2.0.2"; # kvdo uses this!
version = "8.2.0.2"; # bump this version with kvdo
src = fetchFromGitHub {
owner = "dm-vdo";