diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-09-25 13:18:16 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2022-09-25 13:18:16 +0800 |
commit | 7344a7fc192a700d4417497a71b72bcb8278791f (patch) | |
tree | 7ddd7869f77a588db5b62bfc0c795774d9a01f0c /chapter04 | |
parent | 54eb9b78da6208d4ec9eee2b7d8bb5bfada505c5 (diff) | |
parent | f4066122e0a6be21e66a26b96b85d235f2e67ba3 (diff) |
Merge remote-tracking branch 'origin/trunk' into xry111/arm64
Diffstat (limited to 'chapter04')
-rw-r--r-- | chapter04/creatingminlayout.xml | 20 | ||||
-rw-r--r-- | chapter04/introduction.xml | 8 |
2 files changed, 14 insertions, 14 deletions
diff --git a/chapter04/creatingminlayout.xml b/chapter04/creatingminlayout.xml index 45a004096..3840138ff 100644 --- a/chapter04/creatingminlayout.xml +++ b/chapter04/creatingminlayout.xml @@ -10,14 +10,14 @@ <title>Creating a limited directory layout in LFS filesystem</title> - <para>The first task performed in the LFS partition is to create a limited - directory hierarchy so that programs compiled in <xref + <para>The next task to be performed in the LFS partition is to create a limited + directory hierarchy, so that the programs compiled in <xref linkend="chapter-temporary-tools"/> (as well as glibc and libstdc++ in <xref - linkend="chapter-cross-tools"/>) may be installed in their final - location. This is needed so that those temporary programs be overwritten - when rebuilding them in <xref linkend="chapter-building-system"/>.</para> + linkend="chapter-cross-tools"/>) can be installed in their final + location. We do this so those temporary programs will be overwritten when + 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> <screen><userinput>mkdir -pv $LFS/{etc,var} $LFS/usr/{bin,lib,sbin} @@ -27,10 +27,10 @@ for i in bin lib sbin; do done</userinput></screen> <para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled - with a cross-compiler (more details in section <xref - linkend="ch-tools-toolchaintechnotes"/>). In order to separate this - cross-compiler from the other programs, it will be installed in a special - directory. Create this directory with:</para> + with a cross-compiler (more details can be found in section <xref + linkend="ch-tools-toolchaintechnotes"/>). This cross-compiler will be installed + in a special directory, to separate it from the other programs. Still acting as + &root;, create that directory with this command:</para> <screen><userinput>mkdir -pv $LFS/tools</userinput></screen> diff --git a/chapter04/introduction.xml b/chapter04/introduction.xml index c54c67f8c..e2ef6f0ba 100644 --- a/chapter04/introduction.xml +++ b/chapter04/introduction.xml @@ -12,11 +12,11 @@ <para>In this chapter, we will perform a few additional tasks to prepare for building the temporary system. We will create a set of directories in - <filename class="directory">$LFS</filename> for the installation of the - temporary tools, add an unprivileged user to reduce risk, + <filename class="directory">$LFS</filename> (in which we will install the + temporary tools), add an unprivileged user, and create an appropriate build environment for that user. We will also - explain the unit of time we use to measure how long LFS packages take to - build, or <quote>SBUs</quote>, and give some information about package + explain the units of time (<quote>SBUs</quote>) we use to measure how + long it takes to build LFS packages, and provide some information about package test suites.</para> </sect1> |