Changeset 353b104
- Timestamp:
- 10/17/2022 10:30:11 PM (19 months ago)
- 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. - Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r87f8108 r353b104 41 41 --> 42 42 <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> 43 53 <para>2022-10-15</para> 44 54 <itemizedlist> -
chapter01/how.xml
r87f8108 r353b104 16 16 provide necessary programs, including a compiler, linker, and shell, 17 17 to build the new system. Select the <quote>development</quote> option 18 during the distribution installation to be able to accessthese18 during the distribution installation to include these 19 19 tools.</para> 20 20 21 <para>As an alternative to installing a separate distribution on toyour21 <para>As an alternative to installing a separate distribution on your 22 22 machine, you may wish to use <!-- the Linux From Scratch LiveCD or --> a LiveCD from a 23 23 commercial distribution. <!-- The LFS LiveCD works well as a host system, … … 37 37 38 38 <para><xref linkend="chapter-partitioning"/> of this book describes how 39 to create a new Linux native partition and file system . This is the place39 to create a new Linux native partition and file system, 40 40 where the new LFS system will be compiled and installed. <xref 41 41 linkend="chapter-getting-materials"/> explains which packages and 42 patches need to be downloaded to build an LFS systemand how to store42 patches must be downloaded to build an LFS system, and how to store 43 43 them on the new file system. <xref linkend="chapter-final-preps"/> 44 44 discusses the setup of an appropriate working environment. Please read 45 45 <xref linkend="chapter-final-preps"/> carefully as it explains several 46 important issues you need be aware of before beginningto46 important issues you should be aware of before you begin to 47 47 work your way through <xref linkend="chapter-cross-tools"/> and beyond.</para> 48 48 49 49 <para><xref linkend="chapter-cross-tools"/> explains the installation of 50 the initial tool chain, (binutils, gcc, and glibc) using cross 50 the initial tool chain, (binutils, gcc, and glibc) using cross-compilation 51 51 techniques to isolate the new tools from the host system.</para> 52 52 … … 55 55 56 56 <para><xref linkend="chapter-chroot-temporary-tools"/> then enters a 57 "chroot" environment and uses the previously built tools to build58 the additional tools needed to build and test the finalsystem.</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> 59 59 60 60 <para>This effort to isolate the new system from the host distribution may … … 63 63 64 64 <para>In <xref linkend="chapter-building-system"/> the 65 full LFS system is built. Another advantage provided by the chroot65 full-blown LFS system is built. Another advantage provided by the chroot 66 66 environment is that it allows you to continue using the host system 67 67 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> 69 69 70 70 <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 set72 upin <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"/> 73 73 contains information on continuing the LFS experience beyond this book. 74 After the steps in this book have been implemented, the computer will be75 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> 76 76 77 77 <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 complicatedwill be clarified, and everything will80 fall into place as you embark on theLFS 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> 81 81 82 82 </sect1> -
chapter01/resources.xml
r87f8108 r353b104 16 16 <para>If during the building of the LFS system you encounter any 17 17 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 islocated 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> 20 20 21 21 </sect2> … … 26 26 <para>The <uri>linuxfromscratch.org</uri> server hosts a number of mailing 27 27 lists used for the development of the LFS project. These lists include the 28 main development and support lists, among others. If the FAQ do esnot solve28 main development and support lists, among others. If the FAQ do not solve 29 29 the problem you are having, the next step would be to search the mailing 30 30 lists at <ulink url="&lfs-root;search.html"/>.</para> … … 54 54 <title>IRC</title> 55 55 56 <para>Several members of the LFS community offer assistance onInternet57 Relay Chat (IRC). Before using this support, please make sure thatyour56 <para>Several members of the LFS community offer assistance via Internet 57 Relay Chat (IRC). Before using this support, please make sure your 58 58 question is not already answered in the LFS FAQ or the mailing list 59 59 archives. You can find the IRC network at <uri>irc.libera.chat</uri>. -
chapter01/whatsnew.xml
r87f8108 r353b104 12 12 <title>What's new since the last release</title> 13 13 14 <para>In 11.3 release, <parameter>--enable-default-pie</parameter>14 <para>In the 11.3 release, <parameter>--enable-default-pie</parameter> 15 15 and <parameter>--enable-default-ssp</parameter> are enabled for GCC. 16 The y can mitigate some type of malicious attacks but they cannot provide17 a full protection. In case if you are readinga programming textbook,18 you may need to disable PIE and SSP with GCC options19 <parameter>-fno-pie -no-pie -fno-stack-protection</parameter> 20 because some textbooks assume the y were disabled by default.</para>21 22 <para> Below is a list of package updates madesince the previous23 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> 24 24 25 25 <!-- -
chapter02/hostreqs.xml
r87f8108 r353b104 84 84 85 85 <para>If the host kernel is earlier than &min-kernel; you will need to replace 86 the kernel with a more up todate version. There are two ways86 the kernel with a more up-to-date version. There are two ways 87 87 you can go about this. First, see if your Linux vendor provides a &min-kernel; 88 88 or later kernel package. If so, you may wish to install it. If your … … 149 149 150 150 <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> 152 152 153 153 <screen role="nodump"><userinput>cat > version-check.sh << "EOF" -
chapter02/stages.xml
r87f8108 r353b104 13 13 <para>LFS is designed to be built in one session. That is, the 14 14 instructions assume that the system will not be shut down 15 during the process. Th atdoes not mean that the system has to16 be donein one sitting. The issue is that certain procedures17 have to be re-accomplished after a reboot ifresuming LFS at15 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 18 18 different points.</para> 19 19 … … 21 21 <title>Chapters 1–4</title> 22 22 23 <para>These chapters are accomplishedon the host system. When24 restarting, be c areful of the following:</para>23 <para>These chapters run commands on the host system. When 24 restarting, be certain of one thing:</para> 25 25 26 26 <itemizedlist> 27 27 <listitem> 28 <para>Procedures doneas the28 <para>Procedures performed as the 29 29 <systemitem class="username">root</systemitem> user after Section 30 2.4 need tohave the LFS environment variable set30 2.4 must have the LFS environment variable set 31 31 <emphasis>FOR THE ROOT USER</emphasis>.</para> 32 32 </listitem> … … 45 45 <para>These two chapters <emphasis>must</emphasis> be done as user 46 46 <systemitem class="username">lfs</systemitem>. 47 A <command>su - lfs</command> command must be issued before any task in these47 A <command>su - lfs</command> command must be issued before performing any task in these 48 48 chapters. If you don't do that, you are at risk of installing packages to the 49 49 host, and potentially rendering it unusable.</para> … … 53 53 <para>The procedures in <xref linkend='ch-tools-generalinstructions'/> 54 54 are critical. If there is any 55 doubt a bout installing a package, ensure anypreviously expanded56 tarball s are removed, then re-extract the package files, and complete all55 doubt a package has been installed correctly, ensure the previously expanded 56 tarball has been removed, then re-extract the package, and complete all 57 57 the instructions in that section.</para> 58 58 </listitem> … … 78 78 <para> When entering chroot, the LFS environment variable must be set 79 79 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> 81 81 </listitem> 82 82 -
packages.ent
r87f8108 r353b104 434 434 <!ENTITY linux-major-version "6"> 435 435 <!ENTITY linux-minor-version "0"> 436 <!ENTITY linux-patch-version " 1">436 <!ENTITY linux-patch-version "2"> 437 437 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 438 438 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 439 <!ENTITY linux-size "130,7 37KB">439 <!ENTITY linux-size "130,712 KB"> 440 440 <!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz"> 441 <!ENTITY linux-md5 "5 14d7aafe8964474b14f8fe6c69e6895">441 <!ENTITY linux-md5 "5a7ea40f0ec23b0800e8b52cb44ed04c"> 442 442 <!ENTITY linux-home "https://www.kernel.org/"> 443 443 <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
Note:
See TracChangeset
for help on using the changeset viewer.