* LVM2 and the device mapper.

svn path=/nixpkgs/trunk/; revision=7475
This commit is contained in:
Eelco Dolstra 2006-12-23 23:16:04 +00:00
parent d96ee92a8c
commit 9d76685ded
3 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "device-mapper-1.02.13";
src = fetchurl {
url = ftp://sources.redhat.com/pub/dm/device-mapper.1.02.13.tgz;
md5 = "9ab13083a939ceb26ce5da6b625aeb3c";
};
# To prevent make install from failing.
installFlags = "OWNER= GROUP=";
}

View File

@ -0,0 +1,12 @@
{stdenv, fetchurl, devicemapper}:
stdenv.mkDerivation {
name = "lvm2-2.02.17";
src = fetchurl {
url = ftp://sources.redhat.com/pub/lvm2/LVM2.2.02.17.tgz;
md5 = "a1bebdabb0dace2b9dd98579625ce53c";
};
buildInputs = [devicemapper];
# To prevent make install from failing.
preInstall = "installFlags=\"OWNER= GROUP= confdir=$out/etc\"";
}

View File

@ -2093,6 +2093,10 @@ rec {
# cross = "sparc-linux";
#};
devicemapper = import ../os-specific/linux/device-mapper {
inherit fetchurl stdenv;
};
dietlibc = import ../os-specific/linux/dietlibc {
inherit fetchurl glibc;
# Dietlibc 0.30 doesn't compile on PPC with GCC 4.1, bus GCC 3.4 works.
@ -2211,6 +2215,10 @@ rec {
inherit fetchurl stdenv;
};
lvm2 = import ../os-specific/linux/lvm2 {
inherit fetchurl stdenv devicemapper;
};
mingetty = import ../os-specific/linux/mingetty {
inherit fetchurl stdenv;
};