From 2a2b22823cb6299a50d3f9a070943acb25f6eb10 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 26 Sep 2024 01:01:15 +0800 Subject: [PATCH 1/2] network: Fix the /etc/hosts line for local machine Since r10520-gcba2d4e6 the IP address of the local machine is assumed 192.168.1.2 (instead of 192.168.1.1) but the hosts line isn't updated. --- chapter09/network.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chapter09/network.xml b/chapter09/network.xml index a443ada2c..4c6caafc5 100644 --- a/chapter09/network.xml +++ b/chapter09/network.xml @@ -198,7 +198,7 @@ EOF x can be any number in the range 16-31. y can be any number in the range 0-255. - A valid private IP address could be 192.168.1.1. + A valid private IP address could be 192.168.1.2. If the computer is to be visible to the Internet, a valid FQDN can be the domain name itself, or a string resulted by concatenating a @@ -218,7 +218,7 @@ EOF 127.0.0.1 localhost.localdomain localhost 127.0.1.1 <FQDN> <HOSTNAME> -<192.168.1.1> <FQDN> <HOSTNAME> [alias1] [alias2 ...] +<192.168.1.2> <FQDN> <HOSTNAME> [alias1] [alias2 ...] ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters @@ -226,7 +226,7 @@ ff02::2 ip6-allrouters # End /etc/hosts EOF - The <192.168.1.1>, + The <192.168.1.2>, <FQDN>, and <HOSTNAME> values need to be changed for specific uses or requirements (if assigned an IP address by a From d77b09e5d0fc9fba18cf287ebe167c6d90ad8023 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 26 Sep 2024 02:58:38 +0800 Subject: [PATCH 2/2] standards: Fix it up to date The info has been severly outdated. And some info is even incorrect from day one, for example even Glibc and GCC are not listed for LSB core (they provide libc.so.6, libstdc++.so.6, etc.). --- prologue/standards.xml | 78 +++++++++++++++++++++++++++++++----------- 1 file changed, 58 insertions(+), 20 deletions(-) diff --git a/prologue/standards.xml b/prologue/standards.xml index 187264812..3cf6fbff2 100644 --- a/prologue/standards.xml +++ b/prologue/standards.xml @@ -32,7 +32,7 @@ Standard Base (LSB) Version 5.0 (2015) The LSB has four separate specifications: Core, Desktop, - Runtime Languages, and Imaging. Some parts of Core and Desktop + 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) @@ -50,7 +50,7 @@ While it is possible to create a complete system that will pass the LSB certification tests from scratch, this can't be done without many additional packages - that are beyond the scope of the LFS book. Installation instructions for these + that are beyond the scope of the LFS book. Installation instructions for some of these additional packages can be found in BLFS. @@ -62,9 +62,12 @@ LSB Core: - Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk, - Grep, Gzip, M4, Man-DB, Ncurses, Procps, Psmisc, Sed, - Shadow, Tar, Util-linux, Zlib + + Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk, + GCC, Gettext, Glibc, Grep, Gzip, M4, Man-DB, Procps, Psmisc, + Sed, Shadow, SysVinitSystemd, Tar, Util-linux, Zlib + @@ -76,9 +79,9 @@ - LSB Runtime Languages: + LSB Languages: - Perl, Python + Perl @@ -107,8 +110,9 @@ LSB Core: - At, Batch (a part of At), Cpio, Ed, Fcrontab, LSB-Tools, NSPR, - NSS, PAM, Pax, Sendmail (or Postfix or Exim), time + At, Batch (a part of At), BLFS Bash Startup Files, Cpio, Ed, + Fcrontab, LSB-Tools, NSPR, NSS, Linux-PAM, Pax, Sendmail + (or Postfix or Exim), Time @@ -117,15 +121,15 @@ LSB Desktop: Alsa, ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig, - Gdk-pixbuf, Glib2, GTK+2, Icon-naming-utils, Libjpeg-turbo, Libpng, Libtiff, - Libxml2, MesaLib, Pango, Xdg-utils, Xorg + Gdk-pixbuf, Glib2, GLU, Icon-naming-utils, Libjpeg-turbo, + Libxml2, Mesa, Pango, Xdg-utils, Xorg - LSB Runtime Languages: + LSB Languages: - Libxml2, Libxslt + Libxml2, Libxslt @@ -146,29 +150,59 @@ - Packages not supplied by LFS or BLFS - needed to satisfy the LSB Requirements + Components not supplied or optionally + supplied by LFS or BLFS needed to satisfy the LSB + Requirements LSB Core: - None + + install_initd, + libcrypt.so.1 + (can be provided with optional instructions for the LFS + Libxcrypt package), + libncurses.so.5 + (can be provided with optional instructions for the LFS + Ncurses package), + libncursesw.so.5 + (but libncursesw.so.6 + is provided by the LFS Ncurses package) + LSB Desktop: - Qt4 (but Qt5 is provided) + + libgdk-x11-2.0 + (but libgdk-3.so + is provided by the BLFS GTK+-3 package), + libgtk-x11-2.0 + (but libgtk-3.so + and libgtk-4.so + are provided by the BLFS GTK+-3 and GTK-4 packages), + libpng12.so + (but libpng16.so + is provided by the BLFS Libpng package), + libQt*.so.4 + (but libQt6*.so.6 + are provided by the BLFS Qt6 package), + libtiff.so.4 + (but libtiff.so.6 + is provided by the BLFS Libtiff package) + - LSB Runtime Languages: + LSB Languages: - None + /usr/bin/python (LSB requires Python2 but + LFS and BLFS only provide Python3) @@ -182,7 +216,11 @@ LSB Gtk3 and LSB Graphics (Trial Use): - None + + libpng15.so + (but libpng16.so + is provided by the BLFS Libpng package) +