* 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
|
ensureDir $out/bin
|
||||||
if [ -n $devicemapper ]; then
|
if test -n \"$devicemapper\"; then
|
||||||
cp $devicemapper/sbin/dmsetup.static $out/bin/dmsetup
|
cp $devicemapper/sbin/dmsetup.static $out/bin/dmsetup
|
||||||
cp $lvm2/sbin/lvm.static $out/bin/lvm
|
cp $lvm2/sbin/lvm.static $out/bin/lvm
|
||||||
ln -s lvm $out/bin/vgscan
|
ln -s lvm $out/bin/vgscan
|
||||||
|
Loading…
x
Reference in New Issue
Block a user