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

Collapse All | Expand All

(-)/usr/share/genkernel/generic/linuxrc (-10 / +3 lines)
Lines 692-707 Link Here
692
       cd ${CHROOT}
692
       cd ${CHROOT}
693
       mkdir /${CHROOT}/proc /${CHROOT}/sys 2>/dev/null
693
       mkdir /${CHROOT}/proc /${CHROOT}/sys 2>/dev/null
694
       echo -n '.'
694
       echo -n '.'
695
		if ! umount /dev
695
               umount /dev || echo '*: Failed to unmount the initrd /dev!'
696
		then
696
               umount /sys || echo '*: Failed to unmount the initrd /sys!'
697
			echo '*: Failed to unmount the initrd /dev!'
697
               umount /proc || echo '*: Failed to unmount the initrd /proc!'
698
			echo "*: Trying to kill all udevd, umount and restart udevd"
699
			killall udevd
700
			umount /dev
701
			/sbin/udevstart
702
		fi
703
		umount /sys || echo '*: Failed to unmount the initrd /sys!'
704
		umount /proc || echo '*: Failed to unmount the initrd /proc!'
705
       echo -n '.'
698
       echo -n '.'
706
699
707
       exec <${CONSOLE} >${CONSOLE} 2>&1
700
       exec <${CONSOLE} >${CONSOLE} 2>&1

Return to bug 113684