mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-05 22:04:48 +00:00
Removed the <blockquote><literallayout> and their closing tags from
chrootcmd.xml and added them to the files that call chrootcmd. This allows for adding more commands around chroot (like logout in glibc-inst.xml) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@679 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
c091a4a199
commit
9bb59863bb
@ -20,7 +20,9 @@ The static bash is replaced with the dynamic bash and the chroot'ed
|
||||
environment is re-entered by running:
|
||||
</para>
|
||||
|
||||
&c6-chrootcmd;
|
||||
<blockquote><literallayout>
|
||||
&c6-chrootcmd;
|
||||
</literallayout></blockquote>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -13,7 +13,9 @@ everything a user does will be restricted to the LFS partition (since / is
|
||||
actually /mnt/lfs but the shell doesn't know that).
|
||||
</para>
|
||||
|
||||
&c6-chrootcmd;
|
||||
<blockquote><literallayout>
|
||||
&c6-chrootcmd;
|
||||
</literallayout></blockquote>
|
||||
|
||||
<para>
|
||||
The TERM=$TERM construction will set the $TERM value inside
|
||||
|
@ -1,6 +1,4 @@
|
||||
<blockquote><literallayout>
|
||||
<userinput>cd $LFS &&</userinput>
|
||||
<userinput>chroot $LFS /usr/bin/env -i HOME=/root
|
||||
\</userinput>
|
||||
<userinput> TERM=$TERM /bin/bash --login</userinput>
|
||||
</literallayout></blockquote>
|
||||
|
@ -69,7 +69,10 @@ to ensure a properly working bash.
|
||||
Run the following commands to accomplish this:
|
||||
</para>
|
||||
|
||||
&c6-chrootcmd;
|
||||
<blockquote><literallayout>
|
||||
<userinput>logout</userinput>
|
||||
&c6-chrootcmd;
|
||||
</literallayout></blockquote>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -44,7 +44,9 @@ this can be done
|
||||
after having rebooted into the LFS system rather than chrooting into it.
|
||||
</para>
|
||||
|
||||
&c6-chrootcmd;
|
||||
<blockquote><literallayout>
|
||||
&c6-chrootcmd;
|
||||
</literallayout></blockquote>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user