mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-02-01 03:42:13 +00:00
Force exit+re-enter chroot (rather than merely suggest it)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@436 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
584847559b
commit
ba3c4d322f
@ -42,14 +42,18 @@ Install Glibc by running the following commands:
|
|||||||
</literallayout></blockquote>
|
</literallayout></blockquote>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
You can get rid of the "I have no name!" in the bash prompt if you want
|
We have to get username/groupname to userid/groupid conversion possible
|
||||||
to by exiting chroot and re-entering it. Run the following commands to do
|
by exiting the chroot'ed environment and re-entering it. This will also
|
||||||
that:
|
get rid of the "I have no name!" message in the command prompt.
|
||||||
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
Run the following commands to accomplish that:
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<blockquote><literallayout>
|
<blockquote><literallayout>
|
||||||
|
|
||||||
<userinput>logout</userinput>
|
<userinput>cd $LFS &&</userinput>
|
||||||
<userinput>chroot $LFS /usr/bin/env -i HOME=/root
|
<userinput>chroot $LFS /usr/bin/env -i HOME=/root
|
||||||
\</userinput>
|
\</userinput>
|
||||||
<userinput> TERM=$TERM /bin/bash --login</userinput>
|
<userinput> TERM=$TERM /bin/bash --login</userinput>
|
||||||
|
Loading…
Reference in New Issue
Block a user