mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 19:32:03 +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,18 +42,22 @@ Install Glibc by running the following commands:
|
||||
</literallayout></blockquote>
|
||||
|
||||
<para>
|
||||
You can get rid of the "I have no name!" in the bash prompt if you want
|
||||
to by exiting chroot and re-entering it. Run the following commands to do
|
||||
that:
|
||||
We have to get username/groupname to userid/groupid conversion possible
|
||||
by exiting the chroot'ed environment and re-entering it. This will also
|
||||
get rid of the "I have no name!" message in the command prompt.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Run the following commands to accomplish that:
|
||||
</para>
|
||||
|
||||
<blockquote><literallayout>
|
||||
|
||||
<userinput>logout</userinput>
|
||||
|
||||
<userinput>cd $LFS &&</userinput>
|
||||
<userinput>chroot $LFS /usr/bin/env -i HOME=/root
|
||||
\</userinput>
|
||||
<userinput> TERM=$TERM /bin/bash --login</userinput>
|
||||
|
||||
<userinput> TERM=$TERM /bin/bash --login</userinput>
|
||||
|
||||
</literallayout></blockquote>
|
||||
|
||||
</sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user