mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
* LVM2 and the device mapper.
svn path=/nixpkgs/trunk/; revision=7475
This commit is contained in:
parent
d96ee92a8c
commit
9d76685ded
11
pkgs/os-specific/linux/device-mapper/default.nix
Normal file
11
pkgs/os-specific/linux/device-mapper/default.nix
Normal 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=";
|
||||
}
|
12
pkgs/os-specific/linux/lvm2/default.nix
Normal file
12
pkgs/os-specific/linux/lvm2/default.nix
Normal 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\"";
|
||||
}
|
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user