kvdo: drop

This commit is contained in:
ajs124 2024-07-08 18:55:38 +02:00
parent 0a4fb98655
commit ee6a0e376d
5 changed files with 5 additions and 40 deletions

View File

@ -262,6 +262,8 @@
- PPD files for Utax printers got renamed (spaces replaced by underscores) in newest `foomatic-db` package; users of Utax printers might need to adapt their `hardware.printers.ensurePrinters.*.model` value. - PPD files for Utax printers got renamed (spaces replaced by underscores) in newest `foomatic-db` package; users of Utax printers might need to adapt their `hardware.printers.ensurePrinters.*.model` value.
- The `kvdo` kernel module package was removed, because it was upstreamed in kernel version 6.9, where it is called `dm-vdo`.
- `libe57format` has been updated to `>= 3.0.0`, which contains some backward-incompatible API changes. See the [release note](https://github.com/asmaloney/libE57Format/releases/tag/v3.0.0) for more details. - `libe57format` has been updated to `>= 3.0.0`, which contains some backward-incompatible API changes. See the [release note](https://github.com/asmaloney/libE57Format/releases/tag/v3.0.0) for more details.
- `gitlab` deprecated support for *runner registration tokens* in GitLab 16.0, disabled their support in GitLab 17.0 and will - `gitlab` deprecated support for *runner registration tokens* in GitLab 16.0, disabled their support in GitLab 17.0 and will

View File

@ -89,7 +89,7 @@ in {
(mkIf cfg.boot.vdo.enable { (mkIf cfg.boot.vdo.enable {
boot = { boot = {
initrd = { initrd = {
kernelModules = [ "kvdo" ]; kernelModules = [ "dm-vdo" ];
systemd.initrdBin = lib.mkIf config.boot.initrd.services.lvm.enable [ pkgs.vdo ]; systemd.initrdBin = lib.mkIf config.boot.initrd.services.lvm.enable [ pkgs.vdo ];
@ -107,7 +107,6 @@ in {
done done
''; '';
}; };
extraModulePackages = [ config.boot.kernelPackages.kvdo ];
}; };
services.lvm.package = mkOverride 999 pkgs.lvm2_vdo; # this overrides mkDefault services.lvm.package = mkOverride 999 pkgs.lvm2_vdo; # this overrides mkDefault

View File

@ -1,35 +0,0 @@
{ stdenv, lib, fetchFromGitHub, vdo, kernel }:
stdenv.mkDerivation rec {
inherit (vdo);
pname = "kvdo";
version = "8.2.3.3"; # bump this version with vdo
src = fetchFromGitHub {
owner = "dm-vdo";
repo = "kvdo";
rev = version;
hash = "sha256-y7uVgWFV6uWRoRqfiu0arG9731mgWijXjcp9KSaZ5X0=";
};
nativeBuildInputs = kernel.moduleBuildDependencies;
dontConfigure = true;
enableParallelBuilding = true;
KSRC = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
INSTALL_MOD_PATH = placeholder "out";
preBuild = ''
makeFlags="$makeFlags -C ${KSRC} M=$(pwd)"
'';
installTargets = [ "modules_install" ];
meta = with lib; {
inherit (vdo.meta) license maintainers;
homepage = "https://github.com/dm-vdo/kvdo";
description = "Pair of kernel modules which provide pools of deduplicated and/or compressed block storage";
platforms = platforms.linux;
broken = kernel.kernelOlder "5.17";
};
}

View File

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

View File

@ -389,8 +389,6 @@ in {
ena = callPackage ../os-specific/linux/ena {}; ena = callPackage ../os-specific/linux/ena {};
kvdo = callPackage ../os-specific/linux/kvdo {};
lenovo-legion-module = callPackage ../os-specific/linux/lenovo-legion { }; lenovo-legion-module = callPackage ../os-specific/linux/lenovo-legion { };
linux-gpib = callPackage ../applications/science/electronics/linux-gpib/kernel.nix { }; linux-gpib = callPackage ../applications/science/electronics/linux-gpib/kernel.nix { };
@ -613,6 +611,7 @@ in {
vm-tools = self.mm-tools; vm-tools = self.mm-tools;
xmm7360-pci = throw "Support for the XMM7360 WWAN card was added to the iosm kmod in mainline kernel version 5.18"; xmm7360-pci = throw "Support for the XMM7360 WWAN card was added to the iosm kmod in mainline kernel version 5.18";
amdgpu-pro = throw "amdgpu-pro was removed due to lack of maintenance"; # Added 2024-06-16 amdgpu-pro = throw "amdgpu-pro was removed due to lack of maintenance"; # Added 2024-06-16
kvdo = throw "kvdo was removed, because it was added to mainline in kernel version 6.9"; # Added 2024-07-08
}); });
hardenedPackagesFor = kernel: overrides: packagesFor (hardenedKernelFor kernel overrides); hardenedPackagesFor = kernel: overrides: packagesFor (hardenedKernelFor kernel overrides);