Upgrade lvm2

svn path=/nixpkgs/trunk/; revision=21791
This commit is contained in:
Yury G. Kudryashov 2010-05-15 18:43:10 +00:00
parent 6edea62ea5
commit ff03fa4511
2 changed files with 11 additions and 5 deletions

View File

@ -1,14 +1,20 @@
{ stdenv, fetchurl }:
{ stdenv, fetchurl, udev }:
let
v = "2.02.64";
in
stdenv.mkDerivation {
name = "lvm2-2.02.56";
name = "lvm2-${v}";
src = fetchurl {
url = ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.56.tgz;
sha256 = "0hrgca93jnc3k05cgc3rc5klvc03anxmqydgljv6qq59nhnfz5lw";
url = "ftp://sources.redhat.com/pub/lvm2/LVM2.${v}.tgz";
sha256 = "130yg8a9l0266hraklalm2k26n25a8kb2nvhj13cnczfxbz5a4m0";
};
configureFlags = "--disable-readline --enable-udev_rules --enable-udev_sync";
buildInputs = [ udev ];
# To prevent make install from failing.
preInstall = "installFlags=\"OWNER= GROUP= confdir=$out/etc\"";

View File

@ -6508,7 +6508,7 @@ let
};
lvm2 = import ../os-specific/linux/lvm2 {
inherit fetchurl stdenv;
inherit fetchurl stdenv udev;
};
machHeaders = import ../os-specific/gnu/mach {