Adding libuuid (libblkid) to lvm2.

It wants it to detect if there are filesystems present in block devices, in
case of pvcreate. Otherwise it complaints "lvm built without blkid support" and
lacks the feature of detecting/wiping.
This commit is contained in:
Lluís Batlle i Rossell 2016-05-03 16:44:10 +02:00
parent 9f6afb7d78
commit 2f35e223b1

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, systemd, libudev, utillinux, coreutils, enable_dmeventd ? false }:
{ stdenv, fetchurl, pkgconfig, systemd, libudev, utillinux, coreutils, libuuid, enable_dmeventd ? false }:
let
version = "2.02.140";
@ -22,7 +22,7 @@ stdenv.mkDerivation {
] ++ stdenv.lib.optional enable_dmeventd " --enable-dmeventd";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libudev ];
buildInputs = [ libudev libuuid ];
preConfigure =
''