- Timestamp:
- 09/26/2022 02:03:23 PM (2 years ago)
- Branches:
- xry111/clfs-ng
- Children:
- 259794e
- Parents:
- 1f6dfd4 (diff), f427ba23 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- chapter04
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter04/creatingminlayout.xml
r1f6dfd4 r0ea3431 11 11 <title>Creating a limited directory layout in LFS filesystem</title> 12 12 13 <para>The first taskperformed in the LFS partition is to create a limited14 directory hierarchy so thatprograms compiled in <xref13 <para>The next task to be performed in the LFS partition is to create a limited 14 directory hierarchy, so that the programs compiled in <xref 15 15 linkend="chapter-temporary-tools"/> (as well as glibc and libstdc++ in <xref 16 linkend="chapter-cross-tools"/>) maybe installed in their final17 location. This is needed so that those temporary programs be overwritten18 when rebuilding themin <xref linkend="chapter-building-system"/>.</para>16 linkend="chapter-cross-tools"/>) can be installed in their final 17 location. We do this so those temporary programs will be overwritten when 18 the final versions are built in <xref linkend="chapter-building-system"/>.</para> 19 19 20 <para>Create the required directory layout by running the followingas20 <para>Create the required directory layout by issuing the following commands as 21 21 <systemitem class="username">root</systemitem>:</para> 22 22 … … 35 35 36 36 <para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled 37 with a cross-compiler (more details in section <xref38 linkend="ch-tools-toolchaintechnotes"/>). In order to separate this39 cross-compiler from the other programs, it will be installed in a special40 directory. Create this directory with:</para>37 with a cross-compiler (more details can be found in section <xref 38 linkend="ch-tools-toolchaintechnotes"/>). This cross-compiler will be installed 39 in a special directory, to separate it from the other programs. Still acting as 40 &root;, create that directory with this command:</para> 41 41 42 42 <screen><userinput>mkdir -pv $LFS/tools</userinput></screen> -
chapter04/introduction.xml
r1f6dfd4 r0ea3431 13 13 <para>In this chapter, we will perform a few additional tasks to prepare 14 14 for building the temporary system. We will create a set of directories in 15 <filename class="directory">$LFS</filename> for the installation ofthe16 temporary tools , add an unprivileged user to reduce risk,15 <filename class="directory">$LFS</filename> (in which we will install the 16 temporary tools), add an unprivileged user, 17 17 and create an appropriate build environment for that user. We will also 18 explain the unit of time we use to measure how long LFS packages take to19 build, or <quote>SBUs</quote>, and give some information about package18 explain the units of time (<quote>SBUs</quote>) we use to measure how 19 long it takes to build LFS packages, and provide some information about package 20 20 test suites.</para> 21 21
Note:
See TracChangeset
for help on using the changeset viewer.