Changeset 7344a7f


Ignore:
Timestamp:
09/25/2022 05:18:16 AM (19 months ago)
Author:
Xi Ruoyao <xry111@…>
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.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/arm64

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • chapter02/aboutlfs.xml

    r54eb9b7 r7344a7f  
    1515  throughout the LFS build process. It should be set to the name of the
    1616  directory where you will be building your LFS system - we will use
    17   <filename class="directory">/mnt/lfs</filename> as an example, but the
    18   directory choice is up to you. If you are building LFS on a separate
     17  <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
    1919  partition, this directory will be the mount point for the partition.
    2020  Choose a directory location and set the variable with the
     
    2626  <command>mkdir -v $LFS/tools</command> can be typed literally. The shell
    2727  will automatically replace <quote>$LFS</quote> with
    28   <quote>/mnt/lfs</quote> (or whatever the variable was set to) when it
     28  <quote>/mnt/lfs</quote> (or whatever value the variable was set to) when it
    2929  processes the command line.</para>
    3030
     
    5050  enter the export command above.  In addition, the shell specified in the
    5151  <filename>/etc/passwd</filename> file for all users that need the
    52   <envar>LFS</envar> variable needs to be bash to ensure that the
     52  <envar>LFS</envar> variable must be bash to ensure that the
    5353  <filename>/root/.bash_profile</filename> file is incorporated as a part of
    5454  the login process.</para>
     
    6060  the <filename>.bashrc</filename> file for the user and
    6161  <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 add the
    64   export command before the 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>
    6565
    6666  </note>
  • chapter02/creatingfilesystem.xml

    r54eb9b7 r7344a7f  
    1313  <para>A partition is just a range of sectors on a disk drive, delimited by
    1414  boundaries set in a partition table. Before the operating system can use
    15   a blank partition, the partition must be formatted to contain a file
     15  a partition to store any files, the partition must be formatted to contain a file
    1616  system, typically consisting of a label, directory blocks, data blocks, and
    1717  an indexing scheme to locate a particular file on demand. The file system
  • chapter02/mounting.xml

    r54eb9b7 r7344a7f  
    4848  your computer throughout the LFS process.  If you shut down your system,
    4949  you will either need to remount the LFS partition each time you restart
    50   the build process, or modify the host system's /etc/fstab file to automatically
     50  the build process, or modify the host system's &fstab; file to automatically
    5151  remount it when you reboot. For example, you might add this line to your
    52   /etc/fstab file:
     52  &fstab; file:
    5353
    5454<screen role="nodump">/dev/<replaceable>&lt;xxx&gt;</replaceable>  /mnt/lfs ext4   defaults      1     1</screen>
  • chapter03/packages.xml

    r54eb9b7 r7344a7f  
    1616    package should be used to avoid security vulnerabilities.</para>
    1717
    18     <para>The upstreams may remove old releases, especially when these
     18    <para>The upstream sources may remove old releases, especially when those
    1919    releases contain a security vulnerability.  If one URL below is not
    2020    reachable, you should read the security advisories first to figure out
     
    2222    not, try to download the removed package from a mirror.  Although it's
    2323    possible to download an old release from a mirror even if this release
    24     has been removed because of a vulnerability, it's not recommended to
    25     use a release known to be vulnerable for building 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>
    2626  </note>
    2727
     
    454454
    455455        <note>
    456           <para>The Linux kernel is updated relatively often, many times due to
     456          <para>The Linux kernel is updated quite frequently, many times due to
    457457          discoveries of security vulnerabilities.  The latest available
    458458          <!--&linux-major-version;.&linux-minor-version;.x--> stable kernel
  • chapter04/creatingminlayout.xml

    r54eb9b7 r7344a7f  
    1111  <title>Creating a limited directory layout in LFS filesystem</title>
    1212
    13   <para>The first task performed in the LFS partition is to create a limited
    14   directory hierarchy so that programs compiled in <xref
     13  <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
    1515  linkend="chapter-temporary-tools"/> (as well as glibc and libstdc++ in <xref
    16   linkend="chapter-cross-tools"/>) may be installed in their final
    17   location. This is needed so that those temporary programs be overwritten
    18   when rebuilding them in <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>
    1919
    20   <para>Create the required directory layout by running the following as
     20  <para>Create the required directory layout by issuing the following commands as
    2121  <systemitem class="username">root</systemitem>:</para>
    2222
     
    2828
    2929  <para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled
    30   with a cross-compiler (more details in section <xref
    31   linkend="ch-tools-toolchaintechnotes"/>). In order to separate this
    32   cross-compiler from the other programs, it will be installed in a special
    33   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>
    3434
    3535<screen><userinput>mkdir -pv $LFS/tools</userinput></screen>
  • chapter04/introduction.xml

    r54eb9b7 r7344a7f  
    1313  <para>In this chapter, we will perform a few additional tasks to prepare
    1414  for building the temporary system. We will create a set of directories in
    15   <filename class="directory">$LFS</filename> for the installation of the
    16   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,
    1717  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 to
    19   build, or <quote>SBUs</quote>, and give some information about package
     18  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
    2020  test suites.</para>
    2121
  • chapter08/libelf.xml

    r54eb9b7 r7344a7f  
    5959<screen><userinput remap="test">make check</userinput></screen>
    6060
    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>
    6263
    6364    <para>Install only Libelf:</para>
  • general.ent

    r54eb9b7 r7344a7f  
    122122<!ENTITY root            "<systemitem class='username'>root</systemitem>">
    123123<!ENTITY lfs-user        "<systemitem class='username'>lfs</systemitem>">
     124<!ENTITY fstab           "<filename>/etc/fstab</filename>">
    124125
    125126<!ENTITY % packages-entities SYSTEM "packages.ent">
Note: See TracChangeset for help on using the changeset viewer.