forked from mirrors/nixpkgs
* Work properly when lvm is disabled.
svn path=/nixos/trunk/; revision=8947
This commit is contained in:
parent
cd1023c50d
commit
2cfd8c9a3a
|
@ -58,7 +58,7 @@ rec {
|
|||
}
|
||||
"
|
||||
ensureDir $out/bin
|
||||
if [ -n $devicemapper ]; then
|
||||
if test -n \"$devicemapper\"; then
|
||||
cp $devicemapper/sbin/dmsetup.static $out/bin/dmsetup
|
||||
cp $lvm2/sbin/lvm.static $out/bin/lvm
|
||||
ln -s lvm $out/bin/vgscan
|
||||
|
|
Loading…
Reference in a new issue