Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 276753 | Differences between
and this patch

Collapse All | Expand All

(-)gen_initramfs.sh.old (-1 / +1 lines)
Lines 200-206 Link Here
200
	cd ${TEMP}
200
	cd ${TEMP}
201
	mkdir -p "${TEMP}/initramfs-lvm-temp/bin/"
201
	mkdir -p "${TEMP}/initramfs-lvm-temp/bin/"
202
	mkdir -p "${TEMP}/initramfs-lvm-temp/etc/lvm/"
202
	mkdir -p "${TEMP}/initramfs-lvm-temp/etc/lvm/"
203
	if [ -e '/sbin/lvm' ] && LC_ALL="C" ldd /sbin/lvm|grep -q 'not a dynamic executable'
203
	if [ -e '/sbin/lvm.static' ] || [ -e '/sbin/lvm' ] && LC_ALL="C" ldd /sbin/lvm|grep -q 'not a dynamic executable'
204
	then
204
	then
205
		print_info 1 '		LVM: Adding support (using local static binaries)...'
205
		print_info 1 '		LVM: Adding support (using local static binaries)...'
206
		cp /sbin/lvm "${TEMP}/initramfs-lvm-temp/bin/lvm" ||
206
		cp /sbin/lvm "${TEMP}/initramfs-lvm-temp/bin/lvm" ||

Return to bug 276753