Make dmeventd support in lvm2 optional; use it for dmraid
This commit is contained in:
parent
622bdca26c
commit
d9b13c1eb1
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, udev, utillinux, coreutils }:
|
||||
{ stdenv, fetchurl, pkgconfig, udev, utillinux, coreutils, enable_dmeventd ? false }:
|
||||
|
||||
let
|
||||
version = "2.02.110";
|
||||
@ -13,7 +13,9 @@ stdenv.mkDerivation {
|
||||
};
|
||||
|
||||
configureFlags =
|
||||
"--disable-readline --enable-udev_rules --enable-udev_sync --enable-pkgconfig --enable-applib --enable-dmeventd --enable-cmdlib";
|
||||
"--disable-readline --enable-udev_rules --enable-udev_sync --enable-pkgconfig --enable-applib --enable-cmdlib"
|
||||
+ (stdenv.lib.optionalString enable_dmeventd " --enable-dmeventd")
|
||||
;
|
||||
|
||||
buildInputs = [ pkgconfig udev ];
|
||||
|
||||
|
@ -7259,7 +7259,9 @@ let
|
||||
inherit (xlibs) xproto;
|
||||
};
|
||||
|
||||
dmraid = callPackage ../os-specific/linux/dmraid { };
|
||||
dmraid = callPackage ../os-specific/linux/dmraid {
|
||||
devicemapper = devicemapper.override {enable_dmeventd = true;};
|
||||
};
|
||||
|
||||
drbd = callPackage ../os-specific/linux/drbd { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user