From: Tim Yamin Date: Sat, 13 Nov 2004 19:13:19 +0000 (+0000) Subject: LVM fix, bug #69745. X-Git-Tag: v3.4.10.902~607 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e83e580c2827af2573e6067be0a406c4ea81710f;p=genkernel.git LVM fix, bug #69745. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@145 67a159dc-881f-0410-a524-ba9dfbe2cb84 --- diff --git a/gen_initrd.sh b/gen_initrd.sh index 9f025cd..c9251c1 100644 --- a/gen_initrd.sh +++ b/gen_initrd.sh @@ -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