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

Collapse All | Expand All

(-)a/defaults/initrd.scripts (-2 / +7 lines)
Lines 307-314 run_shell() { Link Here
307
}
307
}
308
308
309
runmdev() {
309
runmdev() {
310
	# busybox udev replacement
310
	# Use devtmpfs if enabled in kernel,
311
	mdev -s
311
	# else busybox udev replacement
312
	if grep -qs devtmpfs /proc/filesystems ; then
313
		mount -t devtmpfs devtmpfs /dev
314
	else
315
		mdev -s
316
	fi
312
}
317
}
313
318
314
test_success() {
319
test_success() {
(-)a/defaults/linuxrc (-1 / +2 lines)
Lines 730-735 fi Link Here
730
cd "${CHROOT}"
730
cd "${CHROOT}"
731
mkdir "${CHROOT}/proc" "${CHROOT}/sys" 2>/dev/null
731
mkdir "${CHROOT}/proc" "${CHROOT}/sys" 2>/dev/null
732
echo -ne "${BOLD}.${NORMAL}"
732
echo -ne "${BOLD}.${NORMAL}"
733
# If devtmpfs is mounted assume genkernel mounted it at /dev and try unmounting it
734
grep -qs devtmpfs /proc/mounts && ( umount /dev || echo '*: Failed to unmount the devtmpfs /dev!' )
733
umount /sys || echo '*: Failed to unmount the ramdisk /sys!'
735
umount /sys || echo '*: Failed to unmount the ramdisk /sys!'
734
umount /proc || echo '*: Failed to unmount the ramdisk /proc!'
736
umount /proc || echo '*: Failed to unmount the ramdisk /proc!'
735
echo -e "${BOLD}.${NORMAL}"
737
echo -e "${BOLD}.${NORMAL}"
736
- 

Return to bug 353024