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:
parent
3944916856
commit
867d814d27
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user