Changeset 353b104


Ignore:
Timestamp:
10/17/2022 10:30:11 PM (19 months ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
multilib
Children:
a8af0c8
Parents:
87f8108 (diff), 294ea05 (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:

Automatic merge of trunk into multilib

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r87f8108 r353b104  
    4141    -->
    4242    <listitem>
     43      <para>2022-10-17</para>
     44      <itemizedlist>
     45        <listitem>
     46          <para>[bdubbs] - Update to linux-6.0.2 (Security update). Fixes
     47          <ulink url="&lfs-ticket-root;5138">#5138</ulink>.</para>
     48        </listitem>
     49      </itemizedlist>
     50    </listitem>
     51
     52    <listitem>
    4353      <para>2022-10-15</para>
    4454      <itemizedlist>
  • chapter01/how.xml

    r87f8108 r353b104  
    1616  provide necessary programs, including a compiler, linker, and shell,
    1717  to build the new system. Select the <quote>development</quote> option
    18   during the distribution installation to be able to access these
     18  during the distribution installation to include these
    1919  tools.</para>
    2020
    21   <para>As an alternative to installing a separate distribution onto your
     21  <para>As an alternative to installing a separate distribution on your
    2222  machine, you may wish to use <!-- the Linux From Scratch LiveCD or --> a LiveCD from a
    2323  commercial distribution. <!-- The LFS LiveCD works well as a host system,
     
    3737
    3838  <para><xref linkend="chapter-partitioning"/> of this book describes how
    39   to create a new Linux native partition and file system. This is the place
     39  to create a new Linux native partition and file system,
    4040  where the new LFS system will be compiled and installed. <xref
    4141  linkend="chapter-getting-materials"/> explains which packages and
    42   patches need to be downloaded to build an LFS system and how to store
     42  patches must be downloaded to build an LFS system, and how to store
    4343  them on the new file system. <xref linkend="chapter-final-preps"/>
    4444  discusses the setup of an appropriate working environment. Please read
    4545  <xref linkend="chapter-final-preps"/> carefully as it explains several
    46   important issues you need be aware of before beginning to
     46  important issues you should be aware of before you begin to
    4747  work your way through <xref linkend="chapter-cross-tools"/> and beyond.</para>
    4848
    4949  <para><xref linkend="chapter-cross-tools"/>  explains the installation of
    50   the initial tool chain, (binutils, gcc, and glibc) using cross compilation
     50  the initial tool chain, (binutils, gcc, and glibc) using cross-compilation
    5151  techniques to isolate the new tools from the host system.</para>
    5252
     
    5555
    5656  <para><xref linkend="chapter-chroot-temporary-tools"/> then enters a
    57   "chroot" environment and uses the previously built tools to build
    58   the additional tools needed to build and test the final system.</para>
     57  "chroot" environment, which uses the new tools to build all
     58  the rest of the tools needed to create the LFS system.</para>
    5959
    6060  <para>This effort to isolate the new system from the host distribution may
     
    6363
    6464  <para>In <xref linkend="chapter-building-system"/> the
    65   full LFS system is built. Another advantage provided by the chroot
     65  full-blown LFS system is built. Another advantage provided by the chroot
    6666  environment is that it allows you to continue using the host system
    6767  while LFS is being built. While waiting for package compilations to
    68   complete, you can continue using your computer as normal.</para>
     68  complete, you can continue using your computer as usual.</para>
    6969
    7070  <para>To finish the installation, the basic system configuration is set up in
    71   <xref linkend="chapter-config"/>, and the kernel and boot loader are set
    72   up in <xref linkend="chapter-bootable"/>. <xref linkend="chapter-finalizing"/>
     71  <xref linkend="chapter-config"/>, and the kernel and boot loader are created
     72  in <xref linkend="chapter-bootable"/>. <xref linkend="chapter-finalizing"/>
    7373  contains information on continuing the LFS experience beyond this book.
    74   After the steps in this book have been implemented, the computer will be
    75   ready to reboot into the new LFS system.</para>
     74  After the steps in this chapter have been implemented, the computer is
     75  ready to boot into the new LFS system.</para>
    7676
    7777  <para>This is the process in a nutshell. Detailed information on each
    78   step is discussed in the following chapters and package descriptions.
    79   Items that may seem complicated will be clarified, and everything will
    80   fall into place as you embark on the LFS adventure.</para>
     78  step is presented in the following chapters.
     79  Items that seem complicated now will be clarified, and everything will
     80  fall into place as you commence your LFS adventure.</para>
    8181
    8282</sect1>
  • chapter01/resources.xml

    r87f8108 r353b104  
    1616    <para>If during the building of the LFS system you encounter any
    1717    errors, have any questions, or think there is a typo in the book,
    18     please start by consulting the Frequently Asked Questions (FAQ)
    19     that is located at <ulink url="&faq-root;"/>.</para>
     18    please start by consulting the list of Frequently Asked Questions (FAQ),
     19    located at <ulink url="&faq-root;"/>.</para>
    2020
    2121  </sect2>
     
    2626    <para>The <uri>linuxfromscratch.org</uri> server hosts a number of mailing
    2727    lists used for the development of the LFS project. These lists include the
    28     main development and support lists, among others. If the FAQ does not solve
     28    main development and support lists, among others. If the FAQ do not solve
    2929    the problem you are having, the next step would be to search the mailing
    3030    lists at <ulink url="&lfs-root;search.html"/>.</para>
     
    5454    <title>IRC</title>
    5555
    56     <para>Several members of the LFS community offer assistance on Internet
    57     Relay Chat (IRC). Before using this support, please make sure that your
     56    <para>Several members of the LFS community offer assistance via Internet
     57    Relay Chat (IRC). Before using this support, please make sure your
    5858    question is not already answered in the LFS FAQ or the mailing list
    5959    archives. You can find the IRC network at <uri>irc.libera.chat</uri>.
  • chapter01/whatsnew.xml

    r87f8108 r353b104  
    1212  <title>What's new since the last release</title>
    1313
    14   <para>In 11.3 release, <parameter>--enable-default-pie</parameter>
     14  <para>In the 11.3 release, <parameter>--enable-default-pie</parameter>
    1515  and <parameter>--enable-default-ssp</parameter> are enabled for GCC.
    16   They can mitigate some type of malicious attacks but they cannot provide
    17   a full protection.  In case if you are reading a programming textbook,
    18   you may need to disable PIE and SSP with GCC options
    19   <parameter>-fno-pie -no-pie -fno-stack-protection</parameter>
    20   because some textbooks assume they were disabled by default.</para>
    21 
    22   <para>Below is a list of package updates made since the previous
    23   release of the book.</para>
     16  These techniques can mitigate some malicious attacks, but they do not provide
     17  perfect security.  If you are reading LFS and a programming textbook,
     18  you may need to disable PIE and SSP with the GCC options
     19  <parameter>-fno-pie -no-pie -fno-stack-protection</parameter>,
     20  because some textbooks assume these options are disabled by default.</para>
     21
     22  <para>Here is a list of the packages updated since the previous
     23  release of LFS.</para>
    2424
    2525  <!--
  • chapter02/hostreqs.xml

    r87f8108 r353b104  
    8484
    8585      <para>If the host kernel is earlier than &min-kernel; you will need to replace
    86       the kernel with a more up to date version. There are two ways
     86      the kernel with a more up-to-date version. There are two ways
    8787      you can go about this. First, see if your Linux vendor provides a &min-kernel;
    8888      or later kernel package. If so, you may wish to install it. If your
     
    149149
    150150  <para >To see whether your host system has all the appropriate versions, and
    151   the ability to compile programs, run the following:</para>
     151  the ability to compile programs, run the following commands:</para>
    152152
    153153<screen role="nodump"><userinput>cat &gt; version-check.sh &lt;&lt; "EOF"
  • chapter02/stages.xml

    r87f8108 r353b104  
    1313  <para>LFS is designed to be built in one session.  That is, the
    1414  instructions assume that the system will not be shut down
    15   during the process.  That does not mean that the system has to
    16   be done in one sitting.  The issue is that certain procedures
    17   have to be re-accomplished after a reboot if resuming LFS at
     15  during the process.  This does not mean that the system has to
     16  be built in one sitting.  The issue is that certain procedures
     17  must be repeated after a reboot when resuming LFS at
    1818  different points.</para>
    1919
     
    2121  <title>Chapters&nbsp;1&ndash;4</title>
    2222
    23     <para>These chapters are accomplished on the host system.  When
    24     restarting, be careful of the following:</para>
     23    <para>These chapters run commands on the host system.  When
     24    restarting, be certain of one thing:</para>
    2525
    2626    <itemizedlist>
    2727      <listitem>
    28         <para>Procedures done as the
     28        <para>Procedures performed as the
    2929        <systemitem class="username">root</systemitem> user after Section
    30         2.4 need to have the LFS environment variable set
     30        2.4 must have the LFS environment variable set
    3131        <emphasis>FOR THE ROOT USER</emphasis>.</para>
    3232      </listitem>
     
    4545        <para>These two chapters <emphasis>must</emphasis> be done as user
    4646        <systemitem class="username">lfs</systemitem>.
    47         A <command>su - lfs</command> command must be issued before any task in these
     47        A <command>su - lfs</command> command must be issued before performing any task in these
    4848        chapters. If you don't do that, you are at risk of installing packages to the
    4949        host, and potentially rendering it unusable.</para>
     
    5353         <para>The procedures in <xref linkend='ch-tools-generalinstructions'/>
    5454         are critical.  If there is any
    55          doubt about installing a package, ensure any previously expanded
    56          tarballs are removed, then re-extract the package files, and complete all
     55         doubt a package has been installed correctly, ensure the previously expanded
     56         tarball has been removed, then re-extract the package, and complete all
    5757         the instructions in that section.</para>
    5858      </listitem>
     
    7878         <para> When entering chroot, the LFS environment variable must be set
    7979         for <systemitem class="username">root</systemitem>. The LFS
    80          variable is not used after entering the chroot environment.</para>
     80         variable is not used after the chroot environment has been entered.</para>
    8181      </listitem>
    8282
  • packages.ent

    r87f8108 r353b104  
    434434<!ENTITY linux-major-version "6">
    435435<!ENTITY linux-minor-version "0">
    436 <!ENTITY linux-patch-version "1">
     436<!ENTITY linux-patch-version "2">
    437437<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    438438<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    439 <!ENTITY linux-size "130,737 KB">
     439<!ENTITY linux-size "130,712 KB">
    440440<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    441 <!ENTITY linux-md5 "514d7aafe8964474b14f8fe6c69e6895">
     441<!ENTITY linux-md5 "5a7ea40f0ec23b0800e8b52cb44ed04c">
    442442<!ENTITY linux-home "https://www.kernel.org/">
    443443<!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
Note: See TracChangeset for help on using the changeset viewer.