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

(-)genkernel/defaults/linuxrc (-1 / +1 lines)
Lines 1043-1049 Link Here
1043
init=${REAL_INIT:-/sbin/init}
1043
init=${REAL_INIT:-/sbin/init}
1044
if ! mountpoint "${CHROOT}"; then
1044
if ! mountpoint "${CHROOT}"; then
1045
	bad_msg "$CHROOT was not a mountpoint"
1045
	bad_msg "$CHROOT was not a mountpoint"
1046
elif [ ! -x ${CHROOT}/${init} ]; then
1046
elif [ ! -x ${CHROOT}/${FS_LOCATION}/${init} ]; then
1047
	bad_msg "init=${init} does not exist in the rootfs!"
1047
	bad_msg "init=${init} does not exist in the rootfs!"
1048
elif [ $$ != 1 ]; then
1048
elif [ $$ != 1 ]; then
1049
	bad_msg "PID was not 1! switch_root would fail"
1049
	bad_msg "PID was not 1! switch_root would fail"

Return to bug 639034