Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 73054
Collapse All | Expand All

(-)genkernel-3.1.0c.orig/gen_initrd.sh (-2 / +2 lines)
Lines 100-108 Link Here
100
			print_info 1 'LVM2: Adding support (using local static binaries)...'
100
			print_info 1 'LVM2: Adding support (using local static binaries)...'
101
			cp /sbin/lvm "${TEMP}/initrd-temp/bin/lvm" ||
101
			cp /sbin/lvm "${TEMP}/initrd-temp/bin/lvm" ||
102
				gen_die 'Could not copy over lvm!'
102
				gen_die 'Could not copy over lvm!'
103
			ln -sf "${TEMP}/initrd-temp/bin/lvm" "${TEMP}/initrd-temp/bin/vgscan" ||
103
			ln "${TEMP}/initrd-temp/bin/lvm" "${TEMP}/initrd-temp/bin/vgscan" ||
104
				gen_die 'Could not symlink lvm -> vgscan!'
104
				gen_die 'Could not symlink lvm -> vgscan!'
105
			ln -sf "${TEMP}/initrd-temp/bin/lvm" "${TEMP}/initrd-temp/bin/vgchange" ||
105
			ln "${TEMP}/initrd-temp/bin/lvm" "${TEMP}/initrd-temp/bin/vgchange" ||
106
				gen_die 'Could not symlink lvm -> vgchange!'
106
				gen_die 'Could not symlink lvm -> vgchange!'
107
		else
107
		else
108
			print_info 1 'LVM2: Adding support (compiling binaries)...'
108
			print_info 1 'LVM2: Adding support (compiling binaries)...'

Return to bug 73054