Refine verbiage in chapter 4.2 (Creating a limited directory layout).

This commit is contained in:
David Bryant 2022-09-23 15:52:30 -05:00
parent 1cb4a25b36
commit 2ed0e93787

View File

@ -10,14 +10,14 @@
<title>Creating a limited directory layout in LFS filesystem</title> <title>Creating a limited directory layout in LFS filesystem</title>
<para>The first task performed in the LFS partition is to create a limited <para>The next task to be performed in the LFS partition is to create a limited
directory hierarchy so that programs compiled in <xref directory hierarchy, so that the programs compiled in <xref
linkend="chapter-temporary-tools"/> (as well as glibc and libstdc++ in <xref linkend="chapter-temporary-tools"/> (as well as glibc and libstdc++ in <xref
linkend="chapter-cross-tools"/>) may be installed in their final linkend="chapter-cross-tools"/>) can be installed in their final
location. This is needed so that those temporary programs be overwritten location. We do this so those temporary programs will be overwritten when
when rebuilding them in <xref linkend="chapter-building-system"/>.</para> the final versions are built in <xref linkend="chapter-building-system"/>.</para>
<para>Create the required directory layout by running the following as <para>Create the required directory layout by issuing the following commands as
<systemitem class="username">root</systemitem>:</para> <systemitem class="username">root</systemitem>:</para>
<screen><userinput>mkdir -pv $LFS/{etc,var} $LFS/usr/{bin,lib,sbin} <screen><userinput>mkdir -pv $LFS/{etc,var} $LFS/usr/{bin,lib,sbin}
@ -31,10 +31,10 @@ case $(uname -m) in
esac</userinput></screen> esac</userinput></screen>
<para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled <para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled
with a cross-compiler (more details in section <xref with a cross-compiler (more details can be found in section <xref
linkend="ch-tools-toolchaintechnotes"/>). In order to separate this linkend="ch-tools-toolchaintechnotes"/>). This cross-compiler will be installed
cross-compiler from the other programs, it will be installed in a special in a special directory, to separate it from the other programs. Still acting as
directory. Create this directory with:</para> &root;, create that directory with this command:</para>
<screen><userinput>mkdir -pv $LFS/tools</userinput></screen> <screen><userinput>mkdir -pv $LFS/tools</userinput></screen>