projects
/
genkernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf4c80a
)
create /dev/console if for some reason /dev wasn't on the fs
author
Brad House
<brad_mssw@gentoo.org>
Sat, 14 Feb 2004 18:51:54 +0000
(18:51 +0000)
committer
Brad House
<brad_mssw@gentoo.org>
Sat, 14 Feb 2004 18:51:54 +0000
(18:51 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@79
67a159dc
-881f-0410-a524-
ba9dfbe2cb84
generic/linuxrc
patch
|
blob
|
history
diff --git
a/generic/linuxrc
b/generic/linuxrc
index 49e6405aefbf3348a3a058522093fe64aba675fd..025053bcc291d93c644fee08bea92f4f91d78dd1 100644
(file)
--- a/
generic/linuxrc
+++ b/
generic/linuxrc
@@
-273,6
+273,7
@@
fi
echo "STEP 5c: redirect console"
console=/newroot/dev/console
+[ ! -e "$console" ] && mknod $console c 5 1
exec < $console > $console 2>&1 || echo "CONSOLE REDIRECTION FAILED, /dev ON ROOT DOES NOT CONTAIN console !!!"
echo "STEP 6: pivot_root and exec/chroot real init"