From 763a00a98d076ab170073db1134244888bf35f12 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Tue, 24 Aug 2021 13:02:18 +0200 Subject: [PATCH 01/17] Fix spacing of backslashes in binutils-pass1 --- chapter05/binutils-pass1.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index 807080812..e17c2fc92 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -70,10 +70,10 @@ cd build Now prepare Binutils for compilation: -../configure --prefix=$LFS/tools \ - --with-sysroot=$LFS \ - --target=$LFS_TGT \ - --disable-nls \ + ../configure --prefix=$LFS/tools \ + --with-sysroot=$LFS \ + --target=$LFS_TGT \ + --disable-nls \ --disable-werror From efbd8873aca1b0bb2a6091bf47a99bb3ad0553c6 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Wed, 25 Aug 2021 13:11:02 +0800 Subject: [PATCH 02/17] chapter07: tcl/expect/dejagnu are now in chapter08 --- chapter07/introduction.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml index 1d53f6987..2e57af238 100644 --- a/chapter07/introduction.xml +++ b/chapter07/introduction.xml @@ -11,8 +11,8 @@ Introduction This chapter shows how to build the last missing bits of the temporary - system: first, the tools needed by the build machinery of various packages, - then three packages needed to run tests. Now that all circular dependencies + system: the tools needed by the build machinery of various packages. + Now that all circular dependencies have been resolved, we can use a chroot environment, completely isolated the host operating system used for the build, except for the running kernel. From a4e4addb5a4ab9babe03935b454b8fa57be22913 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 26 Aug 2021 01:13:29 +0800 Subject: [PATCH 03/17] update to openssl-1.1.1k (#4911) --- chapter01/changelog.xml | 10 ++++++++++ packages.ent | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index ceeae7902..59f30f69a 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,16 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2021-08-25 + + + [xry111] - Update to openssl-1.1.1l (security fixes). Fixes + #4911. + + + + 2021-08-20 diff --git a/packages.ent b/packages.ent index fd4385650..4595b4a41 100644 --- a/packages.ent +++ b/packages.ent @@ -533,10 +533,10 @@ - - + + - + From 35ad6631746c316d169e3a2673cfdd0c635867b7 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 26 Aug 2021 05:12:34 +0800 Subject: [PATCH 04/17] grub: remove --sbindir (merged /usr) --- chapter08/grub.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/chapter08/grub.xml b/chapter08/grub.xml index 69e098daa..07be0e851 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -53,7 +53,6 @@ Prepare GRUB for compilation: ./configure --prefix=/usr \ - --sbindir=/sbin \ --sysconfdir=/etc \ --disable-efiemu \ --disable-werror From 49170b0a844cd67a78b0ec76af867a7cf34d559f Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 25 Aug 2021 18:51:16 -0500 Subject: [PATCH 05/17] Package updates for lfs-11.0-rc3 LFS-11.0-rc3 released. Update to e2fsprogs-1.46.4. Update to meson-0.59.1. Update to util-linux 2.37.2. Update to linux-5.13.12. Update to libcap-2.53. --- chapter01/changelog.xml | 23 +++++++++++++++++++++++ chapter08/e2fsprogs.xml | 2 ++ packages.ent | 30 +++++++++++++++--------------- 3 files changed, 40 insertions(+), 15 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 59f30f69a..2073f79bf 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -45,6 +45,29 @@ 2021-08-25 + + [bdubbs] - LFS-11.0-rc3 released. + + + [bdubbs] - Update to e2fsprogs-1.46.4. Fixes + #4910. + + + [bdubbs] - Update to meson-0.59.1. Fixes + #4909. + + + [bdubbs] - Update to util-linux 2.37.2. Fixes + #4908. + + + [bdubbs] - Update to linux-5.13.12. Fixes + #4907. + + + [bdubbs] - Update to libcap-2.53. Fixes + #4906. + [xry111] - Update to openssl-1.1.1l (security fixes). Fixes #4911. diff --git a/chapter08/e2fsprogs.xml b/chapter08/e2fsprogs.xml index 4144cd205..79fdc5f1f 100644 --- a/chapter08/e2fsprogs.xml +++ b/chapter08/e2fsprogs.xml @@ -93,6 +93,8 @@ cd build make check + One test, u_direct_io, is known to fail on some systems. + - + - + - + + - + From c92c9ab312cf517e7cf0c4457c5ca3a4d53c8b90 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Fri, 27 Aug 2021 02:55:49 +0800 Subject: [PATCH 06/17] temp texinfo: remove outdated note about TestXS_la-TestXS.lo --- chapter07/texinfo.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/chapter07/texinfo.xml b/chapter07/texinfo.xml index b67d0ab46..8f769c064 100644 --- a/chapter07/texinfo.xml +++ b/chapter07/texinfo.xml @@ -52,12 +52,6 @@ ./configure --prefix=/usr - - As part of the configure process, a test is made that indicates an - error for TestXS_la-TestXS.lo. This is not relevant for LFS and should be - ignored. - - Compile the package: make From 3dc82263cf386caed52e2dbd13e22b4e7237ef01 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 29 Aug 2021 08:34:35 -0500 Subject: [PATCH 07/17] Update openssl test failure explanation. --- chapter08/openssl.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/chapter08/openssl.xml b/chapter08/openssl.xml index d1690efc6..cece1904f 100644 --- a/chapter08/openssl.xml +++ b/chapter08/openssl.xml @@ -59,9 +59,10 @@ make test - One test 30-test_afalg.t is known to fail on some kernel - configurations (it apparently assumes certain unspecified crypto - options have been selected). + One test, 30-test_afalg.t, is known to fail on some kernel + configurations (depending on inconsistent values of + CONFIG_CRYPTO_USER_API* settings.) If it fails, it can safely be + ignored. Install the package: From ae3f78a38237bbdd7937f5a770d2c9582fa242ed Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 29 Aug 2021 22:08:49 +0800 Subject: [PATCH 08/17] gdbm: document gdbmtool tests fail, add -k --- chapter08/gdbm.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/chapter08/gdbm.xml b/chapter08/gdbm.xml index 431987f52..93e1f6a11 100644 --- a/chapter08/gdbm.xml +++ b/chapter08/gdbm.xml @@ -73,12 +73,14 @@ To test the results, issue: -make check - + Install the package: make install From b0439bc6c4dc58d0d18e3f474ed511f6629f8594 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 29 Aug 2021 23:36:29 +0800 Subject: [PATCH 09/17] update to man-pages-5.13 (#4915) --- chapter01/changelog.xml | 10 ++++++++++ packages.ent | 6 +++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 2073f79bf..e5645c6fb 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,6 +42,16 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2021-08-25 + + + [xry111] - Update to man-pages-5.13. Fixes + #4915. + + + + 2021-08-25 diff --git a/packages.ent b/packages.ent index d381c67c5..7d08cf9b1 100644 --- a/packages.ent +++ b/packages.ent @@ -475,10 +475,10 @@ - - + + - + From 78b97ceed4343b39e0a8538c1952e411a06b614d Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Tue, 31 Aug 2021 23:05:37 -0500 Subject: [PATCH 10/17] Point Section 11,4 to right version of BLFS When we point to BLFS, we need to point to the right version: sysV or systemd. That's done with and some symlinks on rivendell. --- chapter11/whatnow.xml | 5 ++++- general.ent | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/chapter11/whatnow.xml b/chapter11/whatnow.xml index 9e6062cf7..0a0fd1556 100644 --- a/chapter11/whatnow.xml +++ b/chapter11/whatnow.xml @@ -57,7 +57,10 @@ The Beyond Linux From Scratch book covers installation procedures for a wide range of software beyond the scope of the LFS - Book. The BLFS project is located at . + Book. The BLFS project is located at + . + . + diff --git a/general.ent b/general.ent index 9431cf046..4c7e25795 100644 --- a/general.ent +++ b/general.ent @@ -17,12 +17,13 @@ Change to x.y for release but not -rc releases --> - + + From 3443abb60a3ad31e0c3058f9ad55e859d6f25cab Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Wed, 1 Sep 2021 08:33:34 +0200 Subject: [PATCH 11/17] Add revision attributes to ulink in chapter 11 The systemd book needs to point to blfs systemd. So change the ulinks accordingly, and use a revision attribute. No need to use phrase tag. --- chapter11/reboot.xml | 38 +++++++++++++++++++++++--------------- chapter11/whatnow.xml | 5 ++--- 2 files changed, 25 insertions(+), 18 deletions(-) diff --git a/chapter11/reboot.xml b/chapter11/reboot.xml index bce0e6ea9..3a4616e63 100644 --- a/chapter11/reboot.xml +++ b/chapter11/reboot.xml @@ -20,19 +20,22 @@ - A text mode browser such as Lynx + A text mode browser such as LynxLynx will allow you to easily view the BLFS book in one virtual terminal, while building packages in another. - The - make-ca package + The make-camake-ca package will allow you to set up local trusted anchor certificates, allowing the system to verify SSL certificates provided by remote servers (for example, a website using HTTPS). - The GPM package will allow + The GPMGPM package will allow you to perform copy/paste actions in your virtual terminals. @@ -44,27 +47,32 @@ url='&blfs-book;basicnet/dhcp.html'>dhcp may be useful. - Installing sudo may be useful for + Installing sudosudo may be useful for building packages as a non-root user and easily installing the resulting - packages in your new system. + packages in your new system. If you want to access your new system from a remote system - within a comfortable GUI environment, install openssh. + within a comfortable GUI environment, install opensshopenssh. To make fetching files over the internet easier, install - wget. + wget + wget. To connect to a wireless access point for networking, - install - wpa_supplicant. + install wpa_supplicantwpa_supplicant. Finally, a review of the following configuration files - is also appropriate at this point. + is also appropriate at this point. /etc/bashrc diff --git a/chapter11/whatnow.xml b/chapter11/whatnow.xml index 0a0fd1556..e72f4ca5e 100644 --- a/chapter11/whatnow.xml +++ b/chapter11/whatnow.xml @@ -57,9 +57,8 @@ The Beyond Linux From Scratch book covers installation procedures for a wide range of software beyond the scope of the LFS - Book. The BLFS project is located at - . - . + Book. The BLFS project is located at . From 6711c42299a00d1a909f787550447ccb3a3b6271 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Wed, 1 Sep 2021 12:01:03 +0200 Subject: [PATCH 12/17] Fix a spurious space in reboot.xml --- chapter11/reboot.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chapter11/reboot.xml b/chapter11/reboot.xml index 3a4616e63..b059564cd 100644 --- a/chapter11/reboot.xml +++ b/chapter11/reboot.xml @@ -60,8 +60,9 @@ To make fetching files over the internet easier, install - wget - wget. + wgetwget. To connect to a wireless access point for networking, From f411d2d231437424fcd2b3733a60d54c7d99060b Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 1 Sep 2021 20:38:16 -0500 Subject: [PATCH 13/17] Trunk post 11.0 release cleanup --- chapter01/changelog.xml | 825 +--------------------------------------- chapter01/whatsnew.xml | 159 ++++---- 2 files changed, 82 insertions(+), 902 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index e5645c6fb..603b92eae 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,835 +42,14 @@ or as appropriate for the entry or if needed the entire day's listitem. --> - - 2021-08-25 - - - [xry111] - Update to man-pages-5.13. Fixes - #4915. - - - - 2021-08-25 + 2021-09-01 - [bdubbs] - LFS-11.0-rc3 released. - - - [bdubbs] - Update to e2fsprogs-1.46.4. Fixes - #4910. - - - [bdubbs] - Update to meson-0.59.1. Fixes - #4909. - - - [bdubbs] - Update to util-linux 2.37.2. Fixes - #4908. - - - [bdubbs] - Update to linux-5.13.12. Fixes - #4907. - - - [bdubbs] - Update to libcap-2.53. Fixes - #4906. - - - [xry111] - Update to openssl-1.1.1l (security fixes). Fixes - #4911. + [bdubbs] - LFS-11.0 released. - - - 2021-08-20 - - - [bdubbs] - Add a sed to glibc in Chapter 8 to fix a - critical security issue. - - - - - - 2021-08-18 - - - [bdubbs] - Eliminate an instruction to remove a test - in bunutils that no longer fails. - - - - - - 2021-08-16 - - - [dj] - add p11-kit to dependencies list for systemd. - - - - - - 2021-08-15 - - - [renodr] - LFS-11.0-rc1 released. - - - - - - 2021-08-14 - - - [bdubbs] - Update to grep-3.7. Fixes - #4901. - - - - - - 2021-08-13 - - - [bdubbs] - Update to linux-5.13.10. Fixes - #4904. - - - [bdubbs] - Update to bc-5.0.0. Fixes - #4903. - - - [bdubbs] - Update to vim-8.2.3337. Addresses - #4521. - - - [bdubbs] - Add binutils-2.37 upstream patch. - - - - - - 2021-08-08 - - - [bdubbs] - Update to linux-5.13.9. Fixes - #4900. - - - [bdubbs] - Update to libffi-3.4.2. Fixes - #4902. - - - - - - 2021-08-06 - - - [xry111] - Fix - libasan.a building - GCC with Glibc-2.34. Addresses - - BLFS #15350. - - - - - - 2021-08-02 - - - [bdubbs] - Update to glibc-2.34. Fixes - #4897. - - - [bdubbs] - Update to diffutils-3.8. Fixes - #4898. - - - [bdubbs] - Update to libcap-2.52. Fixes - #4899. - - - - - - 2021-08-01 - - - [bdubbs] - Remove unneeded sed commands from automake and - coreutils. Fixes - #4895. - - - [bdubbs] - Update to linux-5.13.7. Fixes - #4893. - - - [bdubbs] - Update to e2fsprogs-1.46.3. Fixes - #4896. - - - - - - 2021-07-27 - - - [xry111] - Update to GCC-11.2.0. Fixes - #4883. - - - [xry111] - Update to inetutils-2.1. Fixes - #4892. - - - [xry111] - Update to automake-1.16.4. Fixes - #4894. - - - [xry111] - Always use --strip-unneeded for stripping. - - - - - - 2021-07-27 - - - [xry111] - Use workaround for Glibc NSS modules during - stripping, to prevent bash from crash. - - - - - - 2021-07-26 - - - [thomas] - Fix a programming error in shadow-4.9 - - - - - - 2021-07-25 - - - [xry111] - (Hopefully) complete stripping workaround. - - - - - - 2021-07-25 - - - [bdubbs] - Add workaround to strip libraries - correctly. - - - [xry111] - Add workaround to install Binutils-2.37 man pages - correctly. - - - [bdubbs] - Update to shadow-4.9. Fixes - #4891. - - - [bdubbs] - Update to util-linux 2.37.1. Fixes - #4890. - - - - - - 2021-07-23 - - - [renodr] - Guard systemd against CVE-2021-33910. Fixes - #4889. - - - [renodr] - Update to meson-0.59.0. Fixes - #4888. - - - [renodr] - Update to binutils-2.37. Fixes - #4887. - - - [renodr] - Update to less-590. Fixes - #4884. - - - - - - 2021-07-22 - - - [dj] - Correct page IDs in Chapter 08 dejagnu, expect, and - tcl. - - - [dj] - Ensure that glibc installs ldconfig and sln to - /usr/sbin. - - - - - - 2021-07-20 - - - [ken] - Update to linux-5.13.4 (security fix). Fixes - #4886. - - - [xry111] - Use a fixed, non-zero UID for - tester user, and spawn a - new pseudoterminal to satisfy bash testsuite. - - - - - - 2021-07-19 - - - [renodr] - Add text about security advisories to the - Errata page. - - - - - - 2021-07-17 - - - [ken] - Fix test failures in perl-5.34.0 by building less before - perl and by patching perl for a problem highlighted by gdbm-1.20. Fixes - #4885. - - - - - - 2021-07-15 - - - [bdubbs] - Remove modifications to m4 that are no longer needed. - - - - - - 2021-07-08 - - - [renodr] - Added Jinja2-3.0.1. - - - [renodr] - Added MarkupSafe-2.0.1. - - - [renodr] - Update to texinfo-6.8. Fixes - #4880. - - - [renodr] - Update to iproute2-5.13.0. Fixes - #4879. - - - [renodr] - Update to Python-3.9.6 (Security Update). Fixes - #4878. - - - [renodr] - Update to systemd-249 (Security Update). Fixes - #4882. - - - [renodr] - Update to Linux-5.13.1. Fixes - #4873. - - - - - - 2021-07-01 - - - [ken] - Patch gcc to fix some regressions (will be - needed to build firefox-91ESR in BLFS) and to allow it to - build against linux-5.13.0 kernel headers. Fixes - #4875. - - - - - - 2021-06-28 - - - [ken] - If installing individual locales, add 9 more - used by libstdc++-v3 tests. Fixes - #4877. - - - - - - 2021-06-27 - - - [bdubbs] - Update to bash-5.1.8. Fixes - #4869. - - - [bdubbs] - Update to dejagnu-1.6.3. Fixes - #4871. - - - [bdubbs] - Update to gdbm-1.20. Fixes - #4872. - - - [bdubbs] - Update to libcap-2.51. Fixes - #4874. - - - [bdubbs] - Update to man-pages-5.1. Fixes - #4876. - - - - - - 2021-06-18 - - - [bdubbs] - Ensure libcap installs capsh. - - - - - - 2021-06-15 - - - [bdubbs] - Update to iana-etc-20210611. Addresses - #4722. - - - [bdubbs] - Update to vim-8.2.3001. Addresses - #4500. - - - [bdubbs] - Update to util-linux-2.37. Fixes - #4865. - - - [bdubbs] - Update to meson-0.58.1. Fixes - #4867. - - - [bdubbs] - Update to linux-5.12.10. Fixes - #4866. - - - [bdubbs] - Update to m4-1.4.19. Fixes - #4864. - - - [bdubbs] - Update to grub-2.06. Fixes - #4868. - - - - - - 2021-06-09 - - - [ken] - For consistency, make the cpp link in /usr/lib. - - - - [ken] - Install iproute2 programs in /usr/sbin for - consistency. - - - - - - 2021-06-08 - - - [bdubbs] - Make shutting down the netwrok more robust. - - - - - - 2021-06-02 - - - [thomas] - Tweak sendsignal bootscript to avoid - killing mdmod (if active). - - - - - - 2021-05-31 - - - [ken] - Update to linux-5.12.8 (security fix). Fixes - #4863. - - - - - - 2021-05-28 - - - [bdubbs] - Update to iana-etc-20210526. Addresses - #4722. - - - [bdubbs] - Update to vim-8.2.2890. Addresses - #4500. - - - [bdubbs] - Update to zstd-1.5.0. Fixes - #4858. - - - [bdubbs] - Update to perl-5.34.0. Fixes - #4860. - - - [bdubbs] - Update to linux-5.12.7. Fixes - #4857. - - - [bdubbs] - Update to libcap-2.50. Fixes - #4862. - - - [bdubbs] - Update to kmod-29. Fixes - #4859. - - - [bdubbs] - Update to expat-2.4.1. Fixes - #4861. - - - [bdubbs] - Update to elfutils-0.185. Fixes - #4855. - - - [bdubbs] - Update to bc-4.0.2. Fixes - #4855. - - - - - - 2021-05-26 - - - [thomas] - Remove obsolete DOCDIR option from iproute2 install command. - - - - - - 2021-05-17 - - - [bdubbs] - Tweak install directories for eudev and e2fsprogs. - Thanks to Ryan Marsaw for the report. - - - - - - 2021-05-14 - - - [ken] - Add a Note about upgrading in OpenSSL. - - - - - - 2021-05-12 - - - [bdubbs] - Removed instructions for running tests - in Python due to an indefinite hang in the partial - LFS envrionment. - - - [renodr] - Moved LFS to a merged-/usr configuration. Thanks - goes to Xi Ruoyao for doing almost all of the work. Fixes - #4848. - - - [renodr] - Update to gcc-11.1.0. Fixes - #4847. - - - [renodr] - Fix a FTBFS when building glibc-2.33 with - gcc-11.1.0. - - - [renodr] - Update to systemd-248. Fixes - #4841. - - - [renodr] - Update to iproute2-5.12.0. Fixes - #4852. - - - [renodr] - Update to Python-3.9.5. Fixes - #4854. - - - [renodr] - Update to meson-0.58.0. Fixes - #4853. - - - [renodr] - Update to linux-5.12.2. Fixes - #4840. - - - - - - 2021-04-28 - - - [renodr] - Fix building systemd with Linux-API-Headers 5.11.14 - and higher, as well as with meson-0.57.2. Fixes - #4851. - - - [bdubbs] - Add manual locales needed for tests - if using alternate locale installation instructions. Fixes - #4844. - - - [bdubbs] - Minor changes to boot scripts. Fixes - #4842. - Thanks to Scott Andrews for the report. - - - - - - 2021-04-26 - - - [bdubbs] - Update to vim-8.2.2812. Addresses - #4500. - - - [bdubbs] - Update to iana-etc-20210407. Addresses - #4722. - - - [bdubbs] - Update to Python3-3.9.4. Fixes - #4843. - - - [bdubbs] - Update to meson-0.57.2. Fixes - #4846. - - - [bdubbs] - Update to linux-5.11.16. Addresses - #4840. - - - [bdubbs] - Update to less-581. Fixes - #4849. - - - [bdubbs] - Update to file-5.40. Fixes - #4839. - - - [bdubbs] - Update to bc-4.0.1. Fixes - #4845. - - - - - - 2021-04-22 - - - [xry111] - Revert 2772bb9c, as the proposed fix in it is - rejected by Python maintainers explicitly. - - - - - - 2021-04-06 - - - The XML source code of this book is migrated from SVN - to Git. - - - - - - 2021-03-26 - - - [renodr] - Update to openssl-1.1.1k (Security Update). Fixes - #4838. - - - [renodr] - Update to attr-2.5.1. Fixes - #4833. - - - [renodr] - Update to linux-5.11.10. Fixes - #4834. - - - [renodr] - Update to bc-3.3.4. Fixes - #4835. - - - [renodr] - Update to man-pages-5.11. Fixes - #4836. - - - [renodr] - Update to expat-2.3.0. Fixes - #4837. - - - [renodr] - Update to acl-2.3.1. Fixes - #4832. - - - - - - 2021-03-17 - - - [xry111] - Use for Binutils - installation. Thanks report from Hans Meier. - - - - - - 2021-03-15 - - - [bdubbs] - Update to vim-8.2.2604. Addreses - #4500. - - - [bdubbs] - Update to iana-etc-20210304. Addreses - #4722. - - - [bdubbs] - Update to zstd-1.4.9. Fixes - #4827. - - - [bdubbs] - Update to sysvinit-2.99. Fixes - #4822. - - - [bdubbs] - Update to linux-5.11.6. Fixes - #4824. - - - [bdubbs] - Update to libcap-2.49. Fixes - #4831. - - - [bdubbs] - Update to iproute2-5.11.0. Fixes - #4823. - - - [bdubbs] - Update to e2fsprogs-1.46.2. Fixes - #4826. - - - [bdubbs] - Update to bison-3.7.6. Fixes - #4828. - - - [bdubbs] - Update to bc-3.3.3. Fixes - #4825. - - - [bdubbs] - Update to attr-2.5.0. Fixes - #4830. - - - [bdubbs] - Update to acl-2.3.0. Fixes - #4829. - - - - - - 2021-03-05 - - - [xry111] - Simplify the installation of systemd man pages. - - - - - - - 2021-03-04 - - - [renodr] - Patch systemd-247 so that it will function with - Linux-5.11 API headers. - - - - - - 2021-03-02 - - - [pierre] - Fix a header file for python, so that - #include <python&python-minor;/Python.h> - works. - - - - - - 2021-03-01 - - - [bdubbs] - LFS-10.1 released. - - - - diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index a8584a71f..f4f4be90c 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -30,30 +30,30 @@ - + + - + + + + + @@ -63,30 +63,30 @@ - + - + + - + - + @@ -96,99 +96,99 @@ - + + - + - + - + - + - + - + + - + + + - + + - + - + @@ -201,15 +201,15 @@ - + - + @@ -219,45 +219,45 @@ - + - + + + + - + - + + @@ -267,9 +267,9 @@ - + + From 305c97068fd4b0a15bc50e8d8f6db16c24c91a8a Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 3 Sep 2021 19:43:45 -0500 Subject: [PATCH 14/17] Minor text changes --- chapter07/introduction.xml | 9 ++++----- prologue/why.xml | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml index 2e57af238..2b0030d7b 100644 --- a/chapter07/introduction.xml +++ b/chapter07/introduction.xml @@ -11,11 +11,10 @@ Introduction This chapter shows how to build the last missing bits of the temporary - system: the tools needed by the build machinery of various packages. - Now that all circular dependencies - have been resolved, we can use a chroot environment, - completely isolated the host operating system used for the build, except - for the running kernel. + system: the tools needed by the build machinery of various packages. Now + that all circular dependencies have been resolved, a chroot + environment, completely isolated from the host operating system (except for + the running kernel), can be used for the build. For proper operation of the isolated environment, some communication with the running kernel must be established. This is done through the diff --git a/prologue/why.xml b/prologue/why.xml index 24b792e45..2d469d212 100644 --- a/prologue/why.xml +++ b/prologue/why.xml @@ -626,7 +626,7 @@ Zstd This package contains compression and decompression routines - used by some programs. It provide high compression ratios and a very + used by some programs. It provides high compression ratios and a very wide range of compression / speed trade-offs. From 6851fc8b2f9a2c681619c9cec630f6b75c1df248 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sat, 4 Sep 2021 10:48:46 -0500 Subject: [PATCH 15/17] Spacing --- chapter06/coreutils.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml index af75e60cf..27ae2a04d 100644 --- a/chapter06/coreutils.xml +++ b/chapter06/coreutils.xml @@ -83,10 +83,10 @@ not necessary in this temporary environment, we must do so because some programs harcode executable locations: -mv -v $LFS/usr/bin/chroot $LFS/usr/sbin +mv -v $LFS/usr/bin/chroot $LFS/usr/sbin mkdir -pv $LFS/usr/share/man/man8 -mv -v $LFS/usr/share/man/man1/chroot.1 $LFS/usr/share/man/man8/chroot.8 -sed -i 's/"1"/"8"/' $LFS/usr/share/man/man8/chroot.8 +mv -v $LFS/usr/share/man/man1/chroot.1 $LFS/usr/share/man/man8/chroot.8 +sed -i 's/"1"/"8"/' $LFS/usr/share/man/man8/chroot.8 From beb80e291d09a6ca6f1855b42ae3178514b0a848 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 6 Sep 2021 09:32:47 -0500 Subject: [PATCH 16/17] Update text in Chapter 7 Backup/Restore sections Patch by Kevin Buckley. Also made minor clarification to umount commands. --- chapter01/changelog.xml | 10 +++++ chapter07/cleanup.xml | 90 ++++++++++++++++++++++------------------- 2 files changed, 59 insertions(+), 41 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 603b92eae..3e7a37aa8 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -43,6 +43,16 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2021-09-06 + + + [bdubbs] - Text clarifications in the backup/restore section + o fChapter 7. Thanks to Kevin Buckley for the patch. + + + + 2021-09-01 diff --git a/chapter07/cleanup.xml b/chapter07/cleanup.xml index 36af2cfaa..8e80bdc40 100644 --- a/chapter07/cleanup.xml +++ b/chapter07/cleanup.xml @@ -20,7 +20,7 @@ Second, the libtool .la files are only useful when linking with static libraries. They are unneeded and potentially harmful when using dynamic - shared libraries, specially when using non-autotools build systems. + shared libraries, especially when using non-autotools build systems. While still in chroot, remove those files now: find /usr/{lib,libexec} -name \*.la -delete @@ -37,6 +37,17 @@ Backup + + At this point the essential programs and libraries have been created + and your current LFS system is in a good state. Your system can now be + backed up for later reuse. In case of fatal failures in the subsequent + chapters, it often turns out that removing everything and starting over + (more carefully) is the best option to recover. Unfortunately, all the + temporary files will be removed, too. To avoid spending extra time to + redo something which has been built successfully, creating a backup of + the current LFS system may prove useful. + + All the remaining steps in this section are optional. Nevertheless, as soon as you begin installing packages in - - All of the following instructions are executed by - root. Take extra - care about the commands you're going to run as mistakes - here can modify your host system. Be aware that the - environment variable LFS - is set for user lfs by default - but may not be set for - root. Whenever - commands are to be executed by root, - make sure you have set LFS. - This has been discussed in . - - - - Now, if you are making a backup, leave the chroot environment: + If you have decided to make a backup, leave the chroot environment: exit - - At this point the essential programs and libraries have been created - and your current system is in a good state. Your system can now be - backed up for later reuse. In case of fatal failures in the subsequent - chapters, it often turns out that removing everything and starting over - (more carefully) is the best option to recover. Unfortunately, all the - temporary files will be removed, too. To avoid spending extra time to - redo something which has been built successfully, prepare a backup. - + + + All of the following instructions are executed by + root on your host system. + Take extra care about the commands you're going to run as mistakes + here can modify your host system. Be aware that the + environment variable LFS + is set for user lfs by default + but may not be set for + root. + + + Whenever commands are to be executed by root, + make sure you have set LFS. + + + This has been discussed in . + + + + Before making a backup, unmount the virtual file systems: + +umount $LFS/dev/pts +umount $LFS/{sys,proc,run,dev} Make sure you have at least 1 GB free disk space (the source tarballs - will be included in the backup archive) in the home directory of user - root. + will be included in the backup archive) on the filesystem containing + directory where you create the backup archive. - Before we make a backup, unmount the virtual file systems: + + Note that the instructions below specify the home directory of the host + system's root user, which is + typically found on the root filesystem. + -umount $LFS/dev{/pts,} -umount $LFS/{sys,proc,run} + + Replace $HOME by a directory of your choice if you + do not want to have the backup stored in root's home directory. + Create the backup archive by running the following command: @@ -107,11 +125,6 @@ umount $LFS/{sys,proc,run} Because the backup archive is compressed, it takes a relatively long time (over 10 minutes) even on a resonably fast system. - - - Also, ensure the LFS environment variable is set - for the root user. - cd $LFS @@ -120,11 +133,6 @@ tar -cJpf $HOME/lfs-temp-tools-&version;.tar.xz . cd $LFS tar -cJpf $HOME/lfs-temp-tools-&versiond;.tar.xz . - - Replace $HOME by a directory of your choice if you - do not want to have the backup stored in root's home directory. - From 8e6babecd0d75542a01eedfde32556879733f842 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Mon, 6 Sep 2021 09:43:46 -0500 Subject: [PATCH 17/17] Typo --- chapter01/changelog.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3e7a37aa8..ac6a2eb73 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -48,7 +48,7 @@ [bdubbs] - Text clarifications in the backup/restore section - o fChapter 7. Thanks to Kevin Buckley for the patch. + of Chapter 7. Thanks to Kevin Buckley for the patch.