From c03457342d6ce3d3dc92429d0b3a35e4428ac8d6 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 13 May 2021 01:43:09 +0800 Subject: [PATCH 1/3] typos fix --- chapter01/changelog.xml | 2 +- chapter08/shadow.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 7c2847310..6747277bf 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -55,7 +55,7 @@ #4847. - [renodr] - Fix a FTBFS when building glibc-2.30 with + [renodr] - Fix a FTBFS when building glibc-2.33 with gcc-11.1.0. diff --git a/chapter08/shadow.xml b/chapter08/shadow.xml index 3471b347b..b705ffbda 100644 --- a/chapter08/shadow.xml +++ b/chapter08/shadow.xml @@ -73,7 +73,7 @@ find man -name Makefile.in -exec sed -i 's/passwd\.5 / /' {} \; If /bin and/or - /sbin are prefereed to be + /sbin are preferred to be left over in PATH for some reason, modify PATH in .bashrc after LFS is built. From 871fd2f4a2928eeec32c2a0da75e5603c4656f08 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Thu, 13 May 2021 01:57:28 +0800 Subject: [PATCH 2/3] systemd: fix systemd-sysext description Technically it's not a daemon, copy the desc from man page. --- chapter08/systemd.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index c5df6bf78..ef1147b28 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -734,8 +734,7 @@ meson --prefix=/usr \ systemd-sysext - Creates, deletes, and manages system extensions through the - systemd-sysextd daemon + Activates system extension images systemd-sysext From 5ed37b354c07cafe913e7a4dba2b87c4e44dfe7b Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 12 May 2021 18:34:34 -0500 Subject: [PATCH 3/3] Remove python tests in Chapter 8 --- chapter01/changelog.xml | 6 ++++++ chapter08/python.xml | 31 ++++++++++++++++++------------- 2 files changed, 24 insertions(+), 13 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 7c2847310..b239a4384 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -42,9 +42,15 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + 2021-05-12 + + [bdubbs] - Removed instructions for running tests + in Python due to an idefinite 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 diff --git a/chapter08/python.xml b/chapter08/python.xml index 4a6fe1bd5..ddcaa17d2 100644 --- a/chapter08/python.xml +++ b/chapter08/python.xml @@ -44,11 +44,12 @@ Prepare Python for compilation: -./configure --prefix=/usr \ - --enable-shared \ - --with-system-expat \ - --with-system-ffi \ - --with-ensurepip=yes +./configure --prefix=/usr \ + --enable-shared \ + --with-system-expat \ + --with-system-ffi \ + --with-ensurepip=yes \ + --enable-optimizations The meaning of the configure options: @@ -77,20 +78,24 @@ + + --enable-optimizations + + This switch enables stable, but expensive, optimizations. + + + Compile the package: make - To test the results, issue: - -make test - - Some tests requiring a network connection or additional packages are - skipped. The tests test_unicodedata and test_curses tests are known to fail. For - more comprehensive results, the tests can be rerun when Python 3 is - reinstalled in BLFS. + Running the tests at this point is not recommended. The + tests are known to hang indefinitely in the partial LFS environment. + If desired, the tests can be rerun at the end of this chapter or + when Python 3 is reinstalled in BLFS. To run the tests anyway, + issue make test. Install the package: