Skip good_root check for /dev/nfs for gentoo bug #246759

cleanup-cruft
Andrew Gaffney 16 years ago
parent 890382b8e0
commit 48b282a85d

@ -2,6 +2,9 @@
# Copyright 1999-2008 Gentoo Foundation; 2008 Chris Gianelloni, Andrew Gaffney
# Distributed under the GPL v2
14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/linuxrc:
Skip good_root check for /dev/nfs for gentoo bug #246759
14 Nov 2008; Andrew Gaffney <agaffney@gentoo.org> defaults/initrd.scripts:
Simplify implementation of parse_opt in linuxrc

@ -431,7 +431,7 @@ do
# else not a good root and start over.
if [ "$?" = '0' ]
then
if [ -d ${NEW_ROOT}/dev -a -x ${NEW_ROOT}/sbin/init ]
if [ -d ${NEW_ROOT}/dev -a -x ${NEW_ROOT}/sbin/init ] || [ "${REAL_ROOT}" = "/dev/nfs" ]
then
break
else

Loading…
Cancel
Save