* Add devicemapper to the system path.

svn path=/nixos/trunk/; revision=19292
This commit is contained in:
Eelco Dolstra 2010-01-07 15:55:05 +00:00
parent eee4b381ce
commit 9a0789a81e
2 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,6 @@ let
pkgs.gzip
pkgs.less
pkgs.libcap
pkgs.lvm2
pkgs.man
pkgs.mdadm
pkgs.module_init_tools

View File

@ -15,6 +15,7 @@
${config.system.sbin.modprobe}/sbin/modprobe dm_mod || true
${pkgs.devicemapper}/sbin/dmsetup mknodes
# Scan for block devices that might contain LVM physical volumes
# and volume groups.
${pkgs.lvm2}/sbin/vgscan --mknodes
@ -29,6 +30,8 @@
task = true;
};
environment.systemPackages = [ pkgs.devicemapper pkgs.lvm2 ];
};
}