From af6ea195fe729eb18c5362fbc2b0641d8c01ea83 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 18 Oct 2022 14:32:33 +0800 Subject: [PATCH 1/9] prologue/standards: rewrite LSB description Well, somehow this paragraph has become too imprecise. 1. We don't support IA64. Both Intel and AMD uses x86_64 now, which is referred as "AMD64" because it's first proposed by AMD. Intel attempted to use IA64 (which is a VLIW architecture completely different with x86_64) to compete with AMD64, but failed. Then Intel adapted x86_64. 2. The architecture specific part belongs to Core and Desktop. 3. LFS cannot conform to both AMD64 and IA32 because we don't support multilib. It's "or", not "and". --- prologue/standards.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/prologue/standards.xml b/prologue/standards.xml index 6d29f8676..6ab757a07 100644 --- a/prologue/standards.xml +++ b/prologue/standards.xml @@ -31,11 +31,11 @@ Linux Standard Base (LSB) Version 5.0 (2015) - The LSB has four separate standards: Core, Desktop, - Runtime Languages, and Imaging. There are generic requirements, - and also architecture specific requirements. There are also two - trial standards: Gtk3 and Graphics. LFS attempts to conform to the - LASB standards for the IA32 / IA64 (Intel) and AMD64 (AMD) + The LSB has four separate specifications: Core, Desktop, + Runtime Languages, and Imaging. Some parts of Core and Desktop + specifications are architecture specific. There are also two trial + specifications: Gtk3 and Graphics. LFS attempts to conform to the LSB + specifications for the IA32 (32-bit x86) or AMD64 (x86_64) architectures discussed in the previous section. Many people do not agree with these requirements. From d114dd3530e46860719b68d13b1ef19f71846c06 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 18 Oct 2022 15:22:51 +0800 Subject: [PATCH 2/9] prologue/why: another "device" -> "device nodes" change You can't throw a NVIDIA GTX 690 into /dev. --- prologue/why.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prologue/why.xml b/prologue/why.xml index 4a002484e..1f8737c9b 100644 --- a/prologue/why.xml +++ b/prologue/why.xml @@ -141,7 +141,7 @@ Eudev This package is a device manager. It dynamically controls the ownership, - permissions, names, and symbolic links of devices in the /dev directory when + permissions, names, and symbolic links of device nodes in the /dev directory when devices are added to or removed from the system. From a1cf444e9f052a5fc716c79a54d14f1da586384f Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 18 Oct 2022 15:32:11 +0800 Subject: [PATCH 3/9] prologue/why: mention that less is used by many packages Why remove "used by man-db"? Now some user may think "I don't use this thing, I'll just use vim" and skip it :(. --- prologue/why.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prologue/why.xml b/prologue/why.xml index 1f8737c9b..f2b4a5d18 100644 --- a/prologue/why.xml +++ b/prologue/why.xml @@ -319,8 +319,8 @@ Less This package contains a very nice text file viewer that - allows scrolling up or down when viewing a file. It is also used - when viewing manpages. + allows scrolling up or down when viewing a file. + Many packages use it for paging the output. From 72523a13db0b6428b42136b437bf7667280e9fdd Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 18 Oct 2022 15:47:08 +0800 Subject: [PATCH 4/9] prologue/why: paramaterize "eudev" with revision attribute --- prologue/why.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/prologue/why.xml b/prologue/why.xml index f2b4a5d18..fac1e1559 100644 --- a/prologue/why.xml +++ b/prologue/why.xml @@ -232,7 +232,9 @@ Gperf This package produces a program that generates a perfect hash - function from a set of keys. It is required by Eudev. + function from a set of keys. It is required by + Eudev + Systemd. From e15831967aed80014a0446b6d5492616bb3e22ae Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 18 Oct 2022 16:10:36 +0800 Subject: [PATCH 5/9] resources: remove bad usage of RFC 3986: URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] hier-part = "//" authority path-abempty / path-absolute / path-rootless / path-empty So "linuxfromscratch.org" is not a URI, nor "irc.libera.chat". --- chapter01/resources.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/chapter01/resources.xml b/chapter01/resources.xml index da86d4609..ad20950b2 100644 --- a/chapter01/resources.xml +++ b/chapter01/resources.xml @@ -23,7 +23,8 @@ Mailing Lists - The linuxfromscratch.org server hosts a number of mailing + The linuxfromscratch.org + server hosts a number of mailing lists used for the development of the LFS project. These lists include the main development and support lists, among others. If the FAQ do not solve the problem you are having, the next step would be to search the mailing @@ -56,7 +57,8 @@ Several members of the LFS community offer assistance via Internet Relay Chat (IRC). Before using this support, please make sure your question is not already answered in the LFS FAQ or the mailing list - archives. You can find the IRC network at irc.libera.chat. + archives. You can find the IRC network at + irc.libera.chat. The support channel is named #lfs-support. From 0f9c02a9bfe70b119c5456f8a9019f9fb725e58c Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 18 Oct 2022 16:19:02 +0800 Subject: [PATCH 6/9] chapter01/how: small fix I guess a "chroot environment" don't know how to use the tools? --- chapter01/how.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter01/how.xml b/chapter01/how.xml index 84cb0a98d..a8fdddddd 100644 --- a/chapter01/how.xml +++ b/chapter01/how.xml @@ -54,7 +54,7 @@ cross-compile basic utilities using the just built cross-toolchain. then enters a - "chroot" environment, which uses the new tools to build all + "chroot" environment, where we use the new tools to build all the rest of the tools needed to create the LFS system. This effort to isolate the new system from the host distribution may From b00c7d9905aaf0ae3a6cc2cb19f2bc02057e640f Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Tue, 18 Oct 2022 09:59:00 +0200 Subject: [PATCH 7/9] Clarify why pie might be disabled Just reading a textbook and LFS does not imply anything for compilation... --- chapter01/whatsnew.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index b36765261..5d246c861 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -14,10 +14,10 @@ In the 11.3 release, --enable-default-pie and --enable-default-ssp are enabled for GCC. These techniques can mitigate some malicious attacks, but they do not provide - perfect security. If you are reading LFS and a programming textbook, + perfect security. Note that some textbooks assume these options are + disabled, so that if you run examples from such a textbook on an LFS system, you may need to disable PIE and SSP with the GCC options - -fno-pie -no-pie -fno-stack-protection, - because some textbooks assume these options are disabled by default. + -fno-pie -no-pie -fno-stack-protection. Here is a list of the packages updated since the previous release of LFS. From 6c172931d1ce4d996b6cc71510875620d7257643 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Tue, 18 Oct 2022 10:10:14 +0200 Subject: [PATCH 8/9] Use FAQ page instead of just FAQ so that whether FAQ is plural or singular is not important :) --- chapter01/resources.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chapter01/resources.xml b/chapter01/resources.xml index ad20950b2..d3bc7860e 100644 --- a/chapter01/resources.xml +++ b/chapter01/resources.xml @@ -26,9 +26,9 @@ The linuxfromscratch.org server hosts a number of mailing lists used for the development of the LFS project. These lists include the - main development and support lists, among others. If the FAQ do not solve - the problem you are having, the next step would be to search the mailing - lists at . + main development and support lists, among others. If you cannot find an + answer to your problem on the FAQ page, the next step would be to search + the mailing lists at . For information on the different lists, how to subscribe, archive locations, and additional information, visit From 347bbda9c10cb821d0369e173f8a3e33ea4cd1e2 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Tue, 18 Oct 2022 17:14:41 +0800 Subject: [PATCH 9/9] man-pages: update the number of provided pages for 6.00 $ find -name '*.[0-9]' | wc -l 2438 --- chapter08/man-pages.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter08/man-pages.xml b/chapter08/man-pages.xml index d571eefc9..9d7c86bd9 100644 --- a/chapter08/man-pages.xml +++ b/chapter08/man-pages.xml @@ -23,7 +23,7 @@ - <para>The Man-pages package contains over 2,200 man pages.</para> + <para>The Man-pages package contains over 2,400 man pages.</para> <segmentedlist> <segtitle>&buildtime;</segtitle>