LVM fix, bug #69745.
authorTim Yamin <plasmaroo@gentoo.org>
Sat, 13 Nov 2004 19:13:19 +0000 (19:13 +0000)
committerTim Yamin <plasmaroo@gentoo.org>
Sat, 13 Nov 2004 19:13:19 +0000 (19:13 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@145 67a159dc-881f-0410-a524-ba9dfbe2cb84

gen_initrd.sh

index 9f025cddb45ed0c93b9692d285d48788f1da2fe5..c9251c1eb29ec17f9e53d9512814d958a57f9256 100644 (file)
@@ -97,9 +97,9 @@ create_base_initrd_sys() {
                then
                        cp /sbin/lvm "${TEMP}/initrd-temp/bin/lvm" ||
                                gen_die 'Could not copy over lvm!'
-                       ln -sf "${TEMP}/initrd-temp/bin/lvm" "${TEMP}/initrd-temp/bin/vgscan" ||
+                       ln -sf "./lvm" "${TEMP}/initrd-temp/bin/vgscan" ||
                                gen_die 'Could not symlink lvm -> vgscan!'
-                       ln -sf "${TEMP}/initrd-temp/bin/lvm" "${TEMP}/initrd-temp/bin/vgchange" ||
+                       ln -sf "./lvm" "${TEMP}/initrd-temp/bin/vgchange" ||
                                gen_die 'Could not symlink lvm -> vgchange!'
                fi
 #      else