diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index fdd1f0f05..d9c44641c 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -1276,7 +1276,7 @@ &runtime; - Bash, GCC, Gettext, Glibc, Xz, and Sed. + Bash, GCC, Gettext, Glibc, Xz, and Sed diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 69860723f..0dc02ab0f 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,615 +40,99 @@ appropriate for the entry or if needed the entire day's listitem. --> - - 2024-08-23 - - - [xry111] - Update to lfs-bootscripts-20240825. Only trivial - non-functional changes. - - - - - - 2024-08-23 - - - [xry111] - Update to lfs-bootscripts-20240823, to fix an - issue causing VT 2-6 not affected by the FONT= setting in - /etc/sysconfig/console. - - - - - 2024-08-17 + 2024-09-20 - [bdubbs] - Update to setuptools-72.2.0. Fixes - #5542. - - - [bdubbs] - Update to kmod-33. Fixes - #5540. - - - [bdubbs] - Update to binutils-2.43.1. Fixes - #5543. - - - [bdubbs] - Update to linux-6.10.5. Fixes - #5541. - - - - - - 2024-08-15 - - - [bdubbs] - Update to iana-etc-20240806. Addresses - #5006. - - - [bdubbs] - Update to pkgconf-2.3.0. Fixes - #5537. - - - [bdubbs] - Update to python3-3.12.5. Fixes - #5538. - - - [bdubbs] - Update to linux-6.10.4. Fixes - #5539. - - - - - - 2024-08-05 - - - [bdubbs] - Update to bash-5.2.32. Fixes - #5532. - - - [bdubbs] - Update to iana-etc-20240801. Addresses - #5006. - - - [bdubbs] - Update to vim-9.1.0660. Addresses + [bdubbs] - Update to vim-9.1.0738. Addresses #4500. - [bdubbs] - Update to binutils-2.43. Fixes - #5535. + [bdubbs] - Update to texinfo-7.1.1. Fixes + #5558. - [bdubbs] - Update to linux-6.10.3. Fixes - #5534. + [bdubbs] - Update to tcl8.6.15. Fixes + #5562. + + + [bdubbs] - Update to sysklogd-2.6.2. Fixes + #5557. - [bdubbs] - Update to readline-8.2.13. Fixes - #5533. + [bdubbs] - Update to setuptools-75.1.0. Fixes + #5560. - [bdubbs] - Update to wheel-0.44.0. Fixes - #5536. - - - - - - 2024-08-01 - - - [bdubbs] - Update to gcc-14.2.0. Fixes - #5530. + [bdubbs] - Update to meson-1.5.2. Fixes + #5566. - [bdubbs] - Update to iana-etc-20240723. Addresses + [bdubbs] - Update to iana-etc-20240912. Addresses #5006. - [bdubbs] - Update to glibc-2.40. Fixes - #5529. + [bdubbs] - Update to gawk-5.3.1. Fixes + #5564. - [bdubbs] - Update to iproute2-6.10.0. Fixes - #5523. - - - [bdubbs] - Update to linux-6.10.2. Fixes - #5521. - - - [bdubbs] - Update to lz4-1.10.0. Fixes - #5526. - - - [bdubbs] - Update to meson-1.5.1. Fixes - #5527. - - - [bdubbs] - Update to setuptools-72.1.0. Fixes - #5531. - - - [bdubbs] - Update to sysklogd-2.6.1. Fixes - #5522. - - - [bdubbs] - Update to systemd-256.4. Fixes - #5518. - - - [bdubbs] - Update to sysvinit-3.10. Fixes - #5528. + [bdubbs] - Update to bc-7.0.2. Fixes + #5563. - 2024-07-15 + 2024-09-07 - [bdubbs] - Update to iana-etc-20240701. Addresses - #5006. + [bdubbs] - Update to tzdata-2024b. Fixes + #5554. - [bdubbs] - Update to vim-9.1.0580. Addresses - #4500. + [bdubbs] - Update to systemd-256.5. Fixes + #5551. - [bdubbs] - Update to automake-1.17. Fixes - #5520. + [bdubbs] - Update to setuptools-74.1.2. Fixes + #5546. - [bdubbs] - Update to gdbm-1.24. Fixes - #5515. + [bdubbs] - Update to python3-3.12.6. Fixes + #5555. - [bdubbs] - Update to linux-6.9.9. Fixes - #5517. + [bdubbs] - Update to openssl-3.3.2. Fixes + #5552. - [bdubbs] - Update to less-661. Fixes - #5513. + [bdubbs] - Update to man-db-2.13.0. Fixes + #5550. - [bdubbs] - Update to meson-1.5.0. Fixes - #5519. + [bdubbs] - Update to linux-6.10.8. Fixes + #5545. - [bdubbs] - Update to setuptools-70.3.0. Fixes - #5514. + [bdubbs] - Update to libpipeline-1.5.8. Fixes + #5548. - [bdubbs] - Update to util-linux-2.40.2. Fixes - #5516. + [bdubbs] - Update to expat-2.6.3. Fixes + #5553. - - - - - 2024-07-01 - - [bdubbs] - Update lfs-bootscripts to only output - escape sequences to a terminal. + [bdubbs] - Update to bc-7.0.1. Fixes + #5547. - 2024-07-01 + 2024-09-01 - [bdubbs] - Update to iana-etc-20240612. Addresses - #5006. - - - [bdubbs] - Update to bc-6.7.6. Fixes - #5506. - - - [bdubbs] - Update to man-pages-6.9.1. Fixes - #5507. - - - [bdubbs] - Update to linux-6.9.7. Fixes - #5508. - - - [bdubbs] - Update to sysklogd-2.5.2. Fixes - #5509. - - - [bdubbs] - Update to shadow-4.16.0. Fixes - #5510. - - - [bdubbs] - Update to systemd-256.1. Fixes - #5511. - - - [bdubbs] - Update to setuptools-70.1.1. Fixes - #5512. - - - - - - 2024-06-15 - - - [bdubbs] - Update to vim-9.1.0478. Addresses - #4500. - - - [bdubbs] - Update to iana-etc-20240607. Addresses - #5006. - - - [bdubbs] - Update to systemd-256. Fixes - #5504. - - - [bdubbs] - Update to python3-3.12.4. Fixes - #5502. - - - [bdubbs] - Update to perl-5.40.0. Fixes - #5503. - - - [bdubbs] - Update to openssl-3.3.1 (Security fix). Fixes - #5500. - - - [bdubbs] - Update to linux-6.9.4. Fixes - #5505. - - - [bdubbs] - Update to findutils-4.10.0. Fixes - #5499. - - - - - - 2024-05-31 - - - [bdubbs] - Update to meson-1.4.1. Fixes - #5498. - - - [bdubbs] - Update to xz-5.6.2. Fixes - #5471. - - - [bdubbs] - Add linux-6.9.x compatibility instructions to - systemd - udev. - Fixes #5496. - - - [bdubbs] - Update to setuptools-70.0.0 (python module). Fixes - #5491. - - - [bdubbs] - Update to ninja-1.12.1. Fixes - #5489. - - - [bdubbs] - Update to man-pages-6.8. Fixes - #5494. - - - [bdubbs] - Update to linux-6.9.3. Fixes - #5491. - - - [bdubbs] - Update to libcap-2.70. Fixes - #5493. - - - [bdubbs] - Update to iproute2-6.9.0. Fixes - #5492. - - - [bdubbs] - Update to e2fsprogs-1.47.1. Fixes - #5495. - - - - - - 2024-05-13 - - - [xry111] - Synchronize coreutils i18n patch from Fedora - to fix a build failure on 32-bit x86 and an alarming compiler - warning on both 32-bit x86 and x86_64 with GCC 14.1 or - later. - - - - - - 2024-05-11 - - - [bdubbs] - Update to vim-9.1.0405. Addresses - #4500. - - - [bdubbs] - Update to util-linux-2.40.1. Fixes - #5482. - - - [bdubbs] - Update to linux-6.8.9. Fixes - #5484. - - - [bdubbs] - Update to jinja2-3.1.4 (Python module). Fixes - #5485. - - - [bdubbs] - Update to iana-etc-20240502. Addresses - #5006. - - - [bdubbs] - Update to gcc-14.1.0. Fixes - #5486. - - - - - - 2024-05-01 - - - [bdubbs] - Add security fix to glibc. Fixes - #5481. - - - [bdubbs] - Update to linux-6.8.8. Fixes - #5480. - - - [bdubbs] - Update to ncurses-6.5. Fixes - #5483. - - - - - - 2024-04-16 - - - [bdubbs] - Make minor change to ifup script output text. - - - - - - 2024-04-15 - - - [bdubbs] - Update to setuptools-69.5.1. Fixes - #5478. - - - [bdubbs] - Update to python3-3.12.3. Fixes - #5476. - - - [bdubbs] - Update to openssl-3.3.0. Fixes - #5475. - - - [bdubbs] - Update to ninja-1.12.0. Fixes - #5477. - - - [bdubbs] - Update to man-db-2.12.1. Fixes - #5474. - - - [bdubbs] - Update to linux-6.8.6. Fixes - #5472. - - - [bdubbs] - Update to iana-etc-20240412. Addresses - #5006. - - - [bdubbs] - Update to vim-9.1.0330. Addresses - #4500. - - - - - - 2024-03-31 - - - [bdubbs] - Update to iana-etc-20240318. Addresses - #5006. - - - [bdubbs] - Update to zstd-1.5.6. Fixes - #5468. - - - [bdubbs] - Update to util-linux-2.40. Fixes - #5430. - - - [bdubbs] - Update to shadow-4.15.1. Fixes - #5465. - - - [bdubbs] - Update to pkgconf-2.2.0. Fixes - #5469. - - - [bdubbs] - Update to linux-6.8.2. Fixes - #5467. - - - [bdubbs] - Update to coreutils-9.5. Fixes - #5470. - - - - - - 2024-03-29 - - - [bdubbs] - Revert to xz-5.4.6 due to upstream - compromise. - - - - - - 2024-03-25 - - - [timtas] - Update to sysvinit-3.09. Fixes - #5466. - - - - - - 2024-03-19 - - - [renodr] - Update to iproute2-6.8.0. Fixes - #5458. - - - [renodr] - Update to man-pages-6.7. Fixes - #5464. - - - [renodr] - Update to Linux-6.8.1. Fixes - #5453. - - - [renodr] - Added LZ4 to the book. Fixes - #5463. - - - - - - 2024-03-15 - - - [bdubbs] - Update to wheel-0.43.0. Fixes - #5459. - - - [bdubbs] - Update to setuptools-69.2.0 (Python module). Fixes - #5462. - - - [bdubbs] - Update to meson-1.4.0. Fixes - #5460. - - - [bdubbs] - Update to expat-2.6.2 (Security fix). Fixes - #5461. - - - [bdubbs] - Update to iana-etc-20240305. Addresses - #5006. - - - [bdubbs] - Update to vim-9.1.0161. Addresses - #4500. - - - [bdubbs] - Update to xz-5.6.1. Fixes - #5457. - - - [bdubbs] - Update to shadow-4.15.0. Fixes - #5456. - - - [bdubbs] - Update to psmisc-23.7. Fixes - #5454. - - - [bdubbs] - Update to kmod-32. Fixes - #5455. - - - [bdubbs] - Update to elfutils-0.191. Fixes - #5451. - - - - - - 2024-03-02 - - - [bdubbs] - Update to iana-etc-20240222. Addresses - #5006. - - - [bdubbs] - Update to vim-9.1.0145. Addresses - #4500. - - - [bdubbs] - Update to xz-5.6.0. Fixes - #5447. - - - [bdubbs] - Update to tcl-8.6.14. Fixes - #5448. - - - [bdubbs] - Update to shadow-4.14.6. Fixes - #5450. - - - [bdubbs] - Update to setuptools-69.1.1. Fixes - #5446. - - - [bdubbs] - Update to linux-6.7.7. Fixes - #5444. - - - [bdubbs] - Update to libffi-3.4.6. Fixes - #5443. - - - [bdubbs] - Update to gettext-0.22.5. Fixes - #5445. - - - [bdubbs] - Update to expat-2.6.1. Fixes - #5449. - - - - - - 2024-03-01 - - - [bdubbs] - LFS-12.1 released. + [bdubbs] - LFS-12.2 released. diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index c807fa15d..dd1bf7bad 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -35,18 +35,18 @@ - + + Bc-&bc-version; - + @@ -56,9 +56,9 @@ - + @@ -68,9 +68,9 @@ - + Expat-&expat-version; @@ -80,30 +80,30 @@ - + - - + + + + + @@ -131,45 +131,45 @@ - + + - + + - - Libcap-&libcap-version; - - - Libelf from Elfutils-&elfutils-version; - - - Libffi-&libffi-version; - + + + + Libpipeline-&libpipeline-version; + Linux-&linux-version; - + @@ -179,9 +179,9 @@ Man-DB-&man-db-version; - + @@ -194,90 +194,90 @@ - + + OpenSSL-&openssl-version; - + + - + Python-&python-version; - + Setuptools-&setuptools-version; - + Sysklogd-&sysklogd-version; Systemd-&systemd-version; - + Tcl-&tcl-version; - - + Udev from Systemd-&systemd-version; - + Vim-&vim-version; - + - + - + + Removed: - + + + diff --git a/chapter04/aboutsbus.xml b/chapter04/aboutsbus.xml index a442c20ab..2fd61a7cf 100644 --- a/chapter04/aboutsbus.xml +++ b/chapter04/aboutsbus.xml @@ -36,7 +36,7 @@ to give an estimate of how long it might take to install a package, but the numbers can vary by as much as dozens of minutes in some cases. - On some newer systems, the motherboard is capable of contolling + On some newer systems, the motherboard is capable of controlling the system clock speed. This can be controlled with a command such as powerprofilesctl. This is not available in LFS, but may be available on the host distro. After LFS is complete, it can be diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 29d406b57..2d2baf7dc 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -43,16 +43,12 @@ Installation of Ncurses - First, ensure that gawk is found first during configuration: - -sed -i s/mawk// configure - - Then, run the following commands to build the tic + First, run the following commands to build the tic program on the build host: mkdir build pushd build - ../configure + ../configure AWK=gawk make -C include make -C progs tic popd @@ -69,7 +65,8 @@ popd --with-cxx-shared \ --without-debug \ --without-ada \ - --disable-stripping + --disable-stripping \ + AWK=gawk The meaning of the new configure options: @@ -131,21 +128,17 @@ popd Using host tools on cross-compiled programs can cause failure. - versions of mawk can + cause this package to fail to build. ---> Compile the package: diff --git a/chapter08/grub.xml b/chapter08/grub.xml index a12e72363..54209e674 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -115,7 +115,8 @@ the tests depend on packages that are not available in the limited LFS environment. To run the tests anyway, run make check. - Install the package: + Install the package, and move the Bash completion support file to + the location recommended by the Bash completion maintainers: make install mv -v /etc/bash_completion.d/grub /usr/share/bash-completion/completions diff --git a/chapter08/tcl.xml b/chapter08/tcl.xml index bfb23c3a8..28eac584b 100644 --- a/chapter08/tcl.xml +++ b/chapter08/tcl.xml @@ -3,8 +3,8 @@ "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ %general-entities; - - + + ]> 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 diff --git a/packages.ent b/packages.ent index e8108cfbd..afe8f0fc4 100644 --- a/packages.ent +++ b/packages.ent @@ -57,10 +57,10 @@ - - + + - + @@ -156,10 +156,10 @@ - - + + - + @@ -208,10 +208,10 @@ - - + + - + @@ -317,10 +317,10 @@ - + - + @@ -405,10 +405,10 @@ - - + + - + @@ -431,12 +431,12 @@ - + - + - + - + - + - + - - + + @@ -637,10 +637,10 @@ - - + + - + @@ -653,29 +653,29 @@ - - + + - + - + - + - + - - + + - + @@ -697,32 +697,32 @@ - + - + - + - - + + - - + + - + - - + + - + @@ -745,10 +745,10 @@ - + - + - + diff --git a/prologue/standards.xml b/prologue/standards.xml index abb805988..9872f309e 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 generic specifications. The architecture specific part of LSB does @@ -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) +