Changeset 7344a7f
- Timestamp:
- 09/25/2022 05:18:16 AM (19 months ago)
- Branches:
- xry111/arm64, xry111/arm64-12.0
- Children:
- 5a50f61
- Parents:
- 54eb9b7 (diff), f406612 (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. - Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/aboutlfs.xml
r54eb9b7 r7344a7f 15 15 throughout the LFS build process. It should be set to the name of the 16 16 directory where you will be building your LFS system - we will use 17 <filename class="directory">/mnt/lfs</filename> as an example, but the18 directory choice is up to you. If you are building LFS on a separate17 <filename class="directory">/mnt/lfs</filename> as an example, but you may 18 choose any directory name you want. If you are building LFS on a separate 19 19 partition, this directory will be the mount point for the partition. 20 20 Choose a directory location and set the variable with the … … 26 26 <command>mkdir -v $LFS/tools</command> can be typed literally. The shell 27 27 will automatically replace <quote>$LFS</quote> with 28 <quote>/mnt/lfs</quote> (or whatever the variable was set to) when it28 <quote>/mnt/lfs</quote> (or whatever value the variable was set to) when it 29 29 processes the command line.</para> 30 30 … … 50 50 enter the export command above. In addition, the shell specified in the 51 51 <filename>/etc/passwd</filename> file for all users that need the 52 <envar>LFS</envar> variable needs tobe bash to ensure that the52 <envar>LFS</envar> variable must be bash to ensure that the 53 53 <filename>/root/.bash_profile</filename> file is incorporated as a part of 54 54 the login process.</para> … … 60 60 the <filename>.bashrc</filename> file for the user and 61 61 <systemitem class="username">root</systemitem>. In addition, 62 some distributions have instructions to not run the<filename>.bashrc</filename>63 instructions in a non-interactive bash invocation. Be sure to addthe64 export command beforethe test for non-interactive use.</para>62 some distributions use an "if" test, and do not run the remaining <filename>.bashrc</filename> 63 instructions for a non-interactive bash invocation. Be sure to place the 64 export command ahead of the test for non-interactive use.</para> 65 65 66 66 </note> -
chapter02/creatingfilesystem.xml
r54eb9b7 r7344a7f 13 13 <para>A partition is just a range of sectors on a disk drive, delimited by 14 14 boundaries set in a partition table. Before the operating system can use 15 a blank partition, the partition must be formatted to contain a file15 a partition to store any files, the partition must be formatted to contain a file 16 16 system, typically consisting of a label, directory blocks, data blocks, and 17 17 an indexing scheme to locate a particular file on demand. The file system -
chapter02/mounting.xml
r54eb9b7 r7344a7f 48 48 your computer throughout the LFS process. If you shut down your system, 49 49 you will either need to remount the LFS partition each time you restart 50 the build process, or modify the host system's /etc/fstabfile to automatically50 the build process, or modify the host system's &fstab; file to automatically 51 51 remount it when you reboot. For example, you might add this line to your 52 /etc/fstabfile:52 &fstab; file: 53 53 54 54 <screen role="nodump">/dev/<replaceable><xxx></replaceable> /mnt/lfs ext4 defaults 1 1</screen> -
chapter03/packages.xml
r54eb9b7 r7344a7f 16 16 package should be used to avoid security vulnerabilities.</para> 17 17 18 <para>The upstream s may remove old releases, especially when these18 <para>The upstream sources may remove old releases, especially when those 19 19 releases contain a security vulnerability. If one URL below is not 20 20 reachable, you should read the security advisories first to figure out … … 22 22 not, try to download the removed package from a mirror. Although it's 23 23 possible to download an old release from a mirror even if this release 24 has been removed because of a vulnerability, it's not recommendedto25 use a release known to be vulnerable forbuilding your system.</para>24 has been removed because of a vulnerability, it's not a good idea to 25 use a release known to be vulnerable when building your system.</para> 26 26 </note> 27 27 … … 454 454 455 455 <note> 456 <para>The Linux kernel is updated relatively often, many times due to456 <para>The Linux kernel is updated quite frequently, many times due to 457 457 discoveries of security vulnerabilities. The latest available 458 458 <!--&linux-major-version;.&linux-minor-version;.x--> stable kernel -
chapter04/creatingminlayout.xml
r54eb9b7 r7344a7f 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 … … 28 28 29 29 <para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled 30 with a cross-compiler (more details in section <xref31 linkend="ch-tools-toolchaintechnotes"/>). In order to separate this32 cross-compiler from the other programs, it will be installed in a special33 directory. Create this directory with:</para>30 with a cross-compiler (more details can be found in section <xref 31 linkend="ch-tools-toolchaintechnotes"/>). This cross-compiler will be installed 32 in a special directory, to separate it from the other programs. Still acting as 33 &root;, create that directory with this command:</para> 34 34 35 35 <screen><userinput>mkdir -pv $LFS/tools</userinput></screen> -
chapter04/introduction.xml
r54eb9b7 r7344a7f 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 -
chapter08/libelf.xml
r54eb9b7 r7344a7f 59 59 <screen><userinput remap="test">make check</userinput></screen> 60 60 61 <!-- <para>One test, run-elfclassify.sh, is known to fail.</para>--> 61 <para>One test named <filename>run-low_high_pc.sh</filename> is known to 62 fail on 32-bit x86 system.</para> 62 63 63 64 <para>Install only Libelf:</para> -
general.ent
r54eb9b7 r7344a7f 122 122 <!ENTITY root "<systemitem class='username'>root</systemitem>"> 123 123 <!ENTITY lfs-user "<systemitem class='username'>lfs</systemitem>"> 124 <!ENTITY fstab "<filename>/etc/fstab</filename>"> 124 125 125 126 <!ENTITY % packages-entities SYSTEM "packages.ent">
Note:
See TracChangeset
for help on using the changeset viewer.