Remove unneeded copy of lvm in initrd.

Something replaces symlinks in initrd with copies. Removed symlinks to lvm and
changed syntax (vgscan -> lvm vgscan).

svn path=/nixos/trunk/; revision=9233
This commit is contained in:
Yury G. Kudryashov 2007-09-01 18:05:46 +00:00
parent 3944916856
commit 867d814d27
2 changed files with 2 additions and 4 deletions

View file

@ -76,8 +76,8 @@ udevsettle
if type -p dmsetup > /dev/null; then
echo "dmsetup found, starting device mapper and lvm"
dmsetup mknodes
vgscan --ignorelockingfailure
vgchange -ay --ignorelockingfailure
lvm vgscan --ignorelockingfailure
lvm vgchange -ay --ignorelockingfailure
fi
if test -n "$debug1devices"; then fail; fi

View file

@ -63,8 +63,6 @@ rec {
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
ln -s lvm $out/bin/vgchange
fi
cp $utillinux/bin/mount $utillinux/bin/umount $utillinux/sbin/pivot_root $out/bin
cp -p $e2fsprogs/sbin/fsck* $e2fsprogs/sbin/e2fsck $out/bin