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

Collapse All | Expand All

(-)/usr/share/genkernel/defaults/initrd.scripts (+4 lines)
Lines 667-672 Link Here
667
			else
667
			else
668
				/sbin/dmraid -ay ${DMRAID_OPTS}
668
				/sbin/dmraid -ay ${DMRAID_OPTS}
669
			fi
669
			fi
670
			if [ -e '/sbin/kpartx' ]
671
			then
672
				/sbin/dmsetup ls --exec "/sbin/kpartx -a -s" 
673
			fi
670
		fi
674
		fi
671
	fi
675
	fi
672
676
(-)/usr/share/genkernel/gen_initramfs.sh (+5 lines)
Lines 259-264 Link Here
259
	mkdir -p "${TEMP}/initramfs-dmraid-temp/"
259
	mkdir -p "${TEMP}/initramfs-dmraid-temp/"
260
	/bin/tar -jxpf "${DMRAID_BINCACHE}" -C "${TEMP}/initramfs-dmraid-temp" ||
260
	/bin/tar -jxpf "${DMRAID_BINCACHE}" -C "${TEMP}/initramfs-dmraid-temp" ||
261
		gen_die "Could not extract dmraid binary cache!";
261
		gen_die "Could not extract dmraid binary cache!";
262
	if [ -x /sbin/dmsetup -a -x /sbin/kpartx ]
263
	then
264
		copy_binaries "${TEMP}/initramfs-dmraid-temp" \
265
			/sbin/{dmsetup,kpartx}
266
	fi
262
	cd "${TEMP}/initramfs-dmraid-temp/"
267
	cd "${TEMP}/initramfs-dmraid-temp/"
263
	RAID456=`find . -type f -name raid456.ko`
268
	RAID456=`find . -type f -name raid456.ko`
264
	if [ -n "${RAID456}" ]
269
	if [ -n "${RAID456}" ]

Return to bug 463008