mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
Upgrade lvm2
svn path=/nixpkgs/trunk/; revision=21791
This commit is contained in:
parent
6edea62ea5
commit
ff03fa4511
@ -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\"";
|
||||
|
@ -6508,7 +6508,7 @@ let
|
||||
};
|
||||
|
||||
lvm2 = import ../os-specific/linux/lvm2 {
|
||||
inherit fetchurl stdenv;
|
||||
inherit fetchurl stdenv udev;
|
||||
};
|
||||
|
||||
machHeaders = import ../os-specific/gnu/mach {
|
||||
|
Loading…
Reference in New Issue
Block a user