* Add devicemapper to the system path.
svn path=/nixos/trunk/; revision=19292
This commit is contained in:
parent
eee4b381ce
commit
9a0789a81e
@ -32,7 +32,6 @@ let
|
||||
pkgs.gzip
|
||||
pkgs.less
|
||||
pkgs.libcap
|
||||
pkgs.lvm2
|
||||
pkgs.man
|
||||
pkgs.mdadm
|
||||
pkgs.module_init_tools
|
||||
|
@ -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 ];
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user