mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 19:59:20 +01:00
Miscellaneous small fixes from the list.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3113 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
b50c8e2c2d
commit
a195a6c7fb
@ -276,7 +276,9 @@ in a separate directory, we can later easily throw them away.</para>
|
|||||||
<para>If later you wish to search through the binaries of your system to see
|
<para>If later you wish to search through the binaries of your system to see
|
||||||
what files they make use of or link against, then to make this searching easier
|
what files they make use of or link against, then to make this searching easier
|
||||||
you may want to choose a unique name. Instead of the simple "tools" you could
|
you may want to choose a unique name. Instead of the simple "tools" you could
|
||||||
use something like "tools-for-lfs".</para>
|
use something like "tools-for-lfs". However, you'll need to be careful to
|
||||||
|
adjust all references to "tools" throughout the book including those in any
|
||||||
|
patches, the most notable being the GCC Specs Patch.</para>
|
||||||
|
|
||||||
<para>Create the required directory by running the following:</para>
|
<para>Create the required directory by running the following:</para>
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ to enter the chroot environment:</para>
|
|||||||
<screen><userinput>chroot $LFS /tools/bin/env -i \
|
<screen><userinput>chroot $LFS /tools/bin/env -i \
|
||||||
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
|
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
|
||||||
/tools/bin/bash --login</userinput></screen>
|
/tools/bin/bash --login +h</userinput></screen>
|
||||||
|
|
||||||
<para>The <userinput>-i</userinput> option given to the
|
<para>The <userinput>-i</userinput> option given to the
|
||||||
<userinput>env</userinput> command will clear all variables of the chroot
|
<userinput>env</userinput> command will clear all variables of the chroot
|
||||||
@ -88,7 +88,8 @@ the chroot command.</para>
|
|||||||
last in the PATH. This means that a temporary tool will not be used any more
|
last in the PATH. This means that a temporary tool will not be used any more
|
||||||
as soon as its final version is installed. Well, at least when the shell
|
as soon as its final version is installed. Well, at least when the shell
|
||||||
doesn't remember the locations of executed binaries -- for this reason hashing
|
doesn't remember the locations of executed binaries -- for this reason hashing
|
||||||
is switched off a bit further on.</para>
|
is switched off by passing the <userinput>+h</userinput> option to
|
||||||
|
<userinput>bash</userinput>.</para>
|
||||||
|
|
||||||
<para>You have to make sure all the commands in the rest of this chapter and
|
<para>You have to make sure all the commands in the rest of this chapter and
|
||||||
in the following chapters are run from within the chroot environment.
|
in the following chapters are run from within the chroot environment.
|
||||||
|
@ -30,7 +30,7 @@ cd ../e2fsprogs-build</userinput></screen>
|
|||||||
<listitem><para><userinput>--with-root-prefix=""</userinput>: Certain
|
<listitem><para><userinput>--with-root-prefix=""</userinput>: Certain
|
||||||
programs (such as the e2fsck program) are considered essential programs.
|
programs (such as the e2fsck program) are considered essential programs.
|
||||||
When, for example, <filename class="directory">/usr</filename> isn't
|
When, for example, <filename class="directory">/usr</filename> isn't
|
||||||
mounted, these essential program have to be available. They belong in
|
mounted, these essential programs have to be available. They belong in
|
||||||
directories like <filename class="directory">/lib</filename> and
|
directories like <filename class="directory">/lib</filename> and
|
||||||
<filename class="directory">/sbin</filename>. If this option isn't passed
|
<filename class="directory">/sbin</filename>. If this option isn't passed
|
||||||
to E2fsprogs's configure, the programs are placed in the
|
to E2fsprogs's configure, the programs are placed in the
|
||||||
|
Loading…
Reference in New Issue
Block a user