diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml
index d9c44641c..d93cc1f5e 100644
--- a/appendices/dependencies.xml
+++ b/appendices/dependencies.xml
@@ -4,8 +4,7 @@
%general-entities;
- Systemd
- Udev">
+ SystemdUdev">
Berkeley DB">
]>
@@ -45,7 +44,7 @@
&dependencies;
- Attr, Bash, Binutils, Coreutils, GCC, Gettext, Grep, M4, Make,
+ Attr, Bash, Binutils, Coreutils, GCC, Gettext, Grep, M4, Make,
Perl, Sed, and Texinfo
@@ -2571,9 +2570,10 @@
&before;Binutils,
- D-Bus, E2fsprogs,
- IProute2, Kmod, Man-DB, Procps-ng, Python,
- &systemd-udev;, and Util-linux
+ D-Bus,
+ E2fsprogs, IProute2, Kmod, Man-DB, Procps-ng, Python,
+ &systemd-udev;,
+ and Util-linux
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index f6ef99d3f..13865692e 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -40,6 +40,294 @@
appropriate for the entry or if needed the entire day's listitem.
-->
+
+ 2025-01-15
+
+
+ [bdubbs] - Update to vim-9.1.1016. Addresses
+ #4500.
+
+
+ [bdubbs] - Update to iana-etc-20250108. Addresses
+ #5006.
+
+
+ [bdubbs] - Update to util-linux-2.40.4. Fixes
+ #5624.
+
+
+ [bdubbs] - Update to sysvinit-3.13. Fixes
+ #5621.
+
+
+ [bdubbs] - Update to sysklogd-2.7.0. Fixes
+ #5623.
+
+
+ [bdubbs] - Update to shadow-4.17.2. Fixes
+ #5625.
+
+
+ [bdubbs] - Update to setuptools-75.8.0. Fixes
+ #5622.
+
+
+ [bdubbs] - Update to linux-6.12.9. Fixes
+ #5620.
+
+
+ [bdubbs] - Update to gettext-0.23.1. Fixes
+ #5619.
+
+
+
+
+
+ 2025-01-01
+
+
+ [renodr] - Update to libxcrypt-4.4.37. Fixes
+ #5618.
+
+
+ [renodr] - Update to dbus-1.16.0. Fixes
+ #5609.
+
+
+ [bdubbs] - Update to iana-etc-20241220. Addresses
+ #5006.
+
+
+ [bdubbs] - Update to texinfo-7.2. Fixes
+ #5616.
+
+
+ [bdubbs] - Update to sysvinit-3.12. Fixes
+ #5615.
+
+
+ [bdubbs] - Update to shadow-4.17.1. Fixes
+ #5617.
+
+
+ [bdubbs] - Update to procps-ng-4.0.5. Fixes
+ #5611.
+
+
+ [bdubbs] - Update to meson-1.6.1. Fixes
+ #5610.
+
+
+ [bdubbs] - Update to linux-6.12.7. Fixes
+ #5613.
+
+
+ [bdubbs] - Update to kbd-2.7.1. Fixes
+ #5608.
+
+
+ [bdubbs] - Update to jinja2-3.1.5 (Security Update). Fixes
+ #5614.
+
+
+
+
+
+ 2024-12-15
+
+
+ [bdubbs] - Update to vim-9.1.0927. Addresses
+ #4500.
+
+
+ [bdubbs] - Update to iana-etc-20241206. Addresses
+ #5006.
+
+
+ [bdubbs] - Update to systemd-257. Fixes
+ #5559.
+
+
+ [bdubbs] - Update to Python-3.13.1 (Security Update). Fixes
+ #5605.
+
+
+ [bdubbs] - Update to libcap-2.73. Fixes
+ #5604.
+
+
+ [bdubbs] - Update to linux-6.12.5. Fixes
+ #5607.
+
+
+ [bdubbs] - Update to kbd-2.7. Fixes
+ #5608.
+
+
+ [bdubbs] - Update to gettext-0.23. Fixes
+ #5603.
+
+
+
+
+
+ 2024-12-01
+
+
+ [bdubbs] - Update to iana-etc-20241122. Addresses
+ #5006.
+
+
+ [bdubbs] - Update to file-5.46. Fixes
+ #5601.
+
+
+ [bdubbs] - Update to iproute2-6.12.0. Fixes
+ #5597.
+
+
+ [bdubbs] - Update to libtool-2.5.4. Fixes
+ #5598.
+
+
+ [bdubbs] - Update to linux-6.12.1. Fixes
+ #5586.
+
+
+ [bdubbs] - Update to setuptools-75.6.0 (Python Module). Fixes
+ #5599.
+
+
+ [bdubbs] - Update to wheel-0.45.1 (Python Module). Fixes
+ #5600.
+
+
+
+
+
+ 2024-11-15
+
+
+ [bdubbs] - Update to vim-9.1.0866. Addresses
+ #4500.
+
+
+ [bdubbs] - Update to iana-etc-20241024. Addresses
+ #5006.
+
+
+ [bdubbs] - Update to wheel-0.45.0 (Python Module). Fixes
+ #5593.
+
+
+ [bdubbs] - Update to setuptools-75.5.0 (Python Module). Fixes
+ #5595.
+
+
+ [bdubbs] - Update to linux-6.11.8. Fixes
+ #5582.
+
+
+ [bdubbs] - Update to libcap-2.72. Fixes
+ #5594.
+
+
+
+
+
+ 2024-11-08
+
+
+ [bdubbs] - Added binutils-2.43.1-upstream_fix-1.patch. Fixes
+ #5591.
+
+
+ [bdubbs] - Update to flit_core-3.10.1. Fixes
+ #5589.
+
+
+ [bdubbs] - Update to expat-2.6.4. Fixes
+ #5590.
+
+
+
+
+
+ 2024-10-25
+
+
+ [bdubbs] - Update to linux-6.11.6. Fixes
+ #5588.
+
+
+ [bdubbs] - Update to libcap-2.71. Fixes
+ #5584.
+
+
+ [bdubbs] - Update to setuptools-75.3.0. Fixes
+ #5585.
+
+
+ [bdubbs] - Update to flit_core-3.10.0. Fixes
+ #5587.
+
+
+
+
+
+ 2024-10-25
+
+
+ [bdubbs] - Update to iana-etc-20241015. Addresses
+ #5006.
+
+
+ [bdubbs] - Update to vim-9.1.0813. Addresses
+ #4500.
+
+
+ [bdubbs] - Update to xz-5.6.3. Fixes
+ #5572.
+
+
+ [bdubbs] - Update to sysvinit-3.11. Fixes
+ #5581.
+
+
+ [bdubbs] - Update to setuptools-75.2.0. Fixes
+ #5577.
+
+
+ [bdubbs] - Update to Python3-3.13.0. Fixes
+ #5575.
+
+
+ [bdubbs] - Update to openssl-3.4.0. Fixes
+ #5582.
+
+
+ [bdubbs] - Update to meson-1.6.0. Fixes
+ #5580.
+
+
+ [bdubbs] - Update to markupsafe-3.0.2. Fixes
+ #5576.
+
+
+ [bdubbs] - Update to linux-6.11.5. Fixes
+ #5574.
+
+
+ [bdubbs] - Update to less-668. Fixes
+ #5578.
+
+
+ [bdubbs] - Update to elfutils-0.192. Fixes
+ #5579.
+
+
+
+
2024-10-03
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 2bd9ce999..269fd8ab7 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -62,9 +62,9 @@
-
+
@@ -77,18 +77,18 @@
-
+
-
+
Gawk-&gawk-version;
@@ -98,9 +98,9 @@
-
+
@@ -134,27 +134,27 @@
IPRoute2-&iproute2-version;
-
-
+
-
+
-
-
+
@@ -164,6 +164,9 @@
Libtool-&libtool-version;
+
+ Libxcrypt-&libxcrypt-version;
+ Linux-&linux-version;
@@ -182,9 +185,9 @@
-
+
Meson-&meson-version;
@@ -212,9 +215,9 @@
-
+
@@ -230,18 +233,18 @@
Setuptools-&setuptools-version;
-
+
Sysklogd-&sysklogd-version;Systemd-&systemd-version;
-
+
@@ -257,21 +260,21 @@
Udev from Systemd-&systemd-version;
-
+
Vim-&vim-version;
-
+
-
+
@@ -292,9 +295,9 @@
Added:
-
+
+ binutils-2.43.1-upstream_fix-1.patch
+
diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml
index 4f3f6ba46..4eba82366 100644
--- a/chapter02/aboutlfs.xml
+++ b/chapter02/aboutlfs.xml
@@ -8,7 +8,7 @@
- Setting The $LFS Variable
+ Setting the $LFS Variable and the UmaskThroughout this book, the environment variable LFS will
be used several times. You should ensure that this variable is always defined
@@ -28,8 +28,24 @@
/mnt/lfs (or whatever value the variable was set to) when it
processes the command line.
+ Now set the file mode creation mask (umask) to
+ 022 in case the host distro uses a different
+ default:
+
+umask 022
+
+ Setting the umask to 022 ensures that newly created files and
+ directories are only writable by their owner, but are readable and
+ searchable (only for directories) by anyone (assuming default modes are
+ used by the open(2) system
+ call, new files will end up with permission mode 644 and directories with
+ mode 755). An overly-permissive default can leave security holes in the
+ LFS system, and an overly-restrictive default can cause strange issues
+ building or using the LFS system.
+
- Do not forget to check that LFS is set whenever
+ Do not forget to check that LFS is set and the
+ umask is set to 022 whenever
you leave and reenter the current working environment (such as when doing a
su to root or
another user). Check that the LFS variable is set up
@@ -39,29 +55,40 @@
Make sure the output shows the path to your LFS system's build
location, which is /mnt/lfs if the
- provided example was followed. If the output is incorrect, use the command
- given earlier on this page to set $LFS to the correct
- directory name.
-
+ provided example was followed.
- One way to ensure that the LFS variable is always
- set is to edit the .bash_profile file in both your
- personal home directory and in /root/.bash_profile and
- enter the export command above. In addition, the shell specified in the
+ Check that the umask is set up properly with:
+
+ umask
+
+ The output may be 0022 or
+ 022 (the number of leading zeros depends
+ on the host distro).
+
+ If any output of these two commands is incorrect, use the command
+ given earlier on this page to set $LFS to the correct
+ directory name and set umask to 022.
+
+ One way to ensure that the LFS variable and the
+ umask are always set properly is to edit the
+ .bash_profile file in both your personal home
+ directory and in /root/.bash_profile and
+ enter the export and umask commands
+ above. In addition, the shell specified in the
/etc/passwd file for all users that need the
LFS variable must be bash to ensure that the
- /root/.bash_profile file is incorporated as a part of
+ .bash_profile file is incorporated as a part of
the login process.Another consideration is the method that is used to log into the
host system. If logging in through a graphical display manager, the
user's .bash_profile is not normally used when
- a virtual terminal is started. In this case, add the export command to
+ a virtual terminal is started. In this case, add the commands to
the .bashrc file for the user and
root. In addition,
some distributions use an "if" test, and do not run the remaining .bashrc
instructions for a non-interactive bash invocation. Be sure to place the
- export command ahead of the test for non-interactive use.
+ commands ahead of the test for non-interactive use.
diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml
index 7375ca327..29504f066 100644
--- a/chapter02/hostreqs.xml
+++ b/chapter02/hostreqs.xml
@@ -100,7 +100,7 @@
, so the workarounds for
older kernels are not enabled and the compiled
glibc is slightly faster and smaller.
- As at Feb 2024, &min-kernel; is the oldest kernel release still
+ As at Dec 2024, &min-kernel; is the oldest kernel release still
supported by the kernel developers. Some kernel releases older than
&min-kernel; may be still supported by third-party teams, but they
are not considered official upstream kernel releases; read
diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml
index 4db0f5bfc..244a3196b 100644
--- a/chapter02/mounting.xml
+++ b/chapter02/mounting.xml
@@ -42,6 +42,15 @@ mount -v -t ext4 /dev/<yyy> $LFS/home<yyy> with the appropriate partition
names.
+ Set the owner and permission mode of the
+ $LFS directory (i.e. the root
+ directory in the newly created file system for the LFS system) to
+ &root; and 755 in case the host distro has been
+ configured to use a different default for mkfs:
+
+chown root:root $LFS
+chmod 755 $LFS
+
Ensure that this new partition is not mounted with permissions that are
too restrictive (such as the or
options). Run the mount command
diff --git a/chapter02/stages.xml b/chapter02/stages.xml
index 287aa43f4..f3215035d 100644
--- a/chapter02/stages.xml
+++ b/chapter02/stages.xml
@@ -68,7 +68,8 @@
- A few operations, from Changing Ownership to
+ A few operations, from Preparing Virtual Kernel File
+ Systems to
Entering the Chroot Environment, must be done as the
root user, with the LFS
environment variable set for the &root; user.
diff --git a/chapter03/introduction.xml b/chapter03/introduction.xml
index 05488ecbc..645686311 100644
--- a/chapter03/introduction.xml
+++ b/chapter03/introduction.xml
@@ -22,8 +22,9 @@
For some packages, the release tarball and the (Git or SVN)
repository snapshot tarball for that release may be published with
- similar file names. A release tarball contains generated files (for
- example, a configure script generated by
+ similar or even identical file names. But the release tarball may contain
+ some files which are essential despite not stored in the repository
+ (for example, a configure script generated by
autoconf), in addition to the contents of the
corresponding repository snapshot. The book uses release tarballs
whenever possible. Using a repository snapshot instead of a release
diff --git a/chapter03/patches.xml b/chapter03/patches.xml
index ef00fbe5a..1956d39f5 100644
--- a/chapter03/patches.xml
+++ b/chapter03/patches.xml
@@ -35,15 +35,15 @@
-->
-
+
Bzip2 Documentation Patch - &bzip2-docs-patch-size;:
diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml
index 9903981db..5c6dbb76e 100644
--- a/chapter04/addinguser.xml
+++ b/chapter04/addinguser.xml
@@ -20,8 +20,8 @@
the installation process. As root,
issue the following commands to add the new user:
-groupadd lfs
-useradd -s /bin/bash -g lfs -m -k /dev/null lfs
+groupadd &lfs-groupname;
+useradd -s /bin/bash -g &lfs-groupname; -m -k /dev/null &lfs-username;This is what the command line options mean:
@@ -74,13 +74,13 @@ useradd -s /bin/bash -g lfs -m -k /dev/null lfs
have a password), you need to set a password for &lfs-user;. Issue the
following command as the &root; user to set the password:
-passwd lfs
+passwd &lfs-username;Grant lfs full access to
all the directories under $LFS by making
lfs the owner:
-chown -v lfs $LFS/{usr{,/*},lib*,var,etc,bin,sbin,tools}
+chown -v &lfs-username; $LFS/{usr{,/*},lib*,var,etc,bin,sbin,tools}In some host systems, the following su command does not complete
properly and suspends the login for the &lfs-user; user to the background.
@@ -91,7 +91,7 @@ useradd -s /bin/bash -g lfs -m -k /dev/null lfs
logging in as &lfs-user; on a virtual console, or with the following
substitute/switch user command:
-su - lfs
+su - &lfs-username;The - instructs
su to start a login shell as opposed to a non-login shell.
diff --git a/chapter04/settingenviron.xml b/chapter04/settingenviron.xml
index 053427a70..7121bb641 100644
--- a/chapter04/settingenviron.xml
+++ b/chapter04/settingenviron.xml
@@ -76,11 +76,8 @@ EOF
umask 022
- Setting the user file-creation mask (umask) to 022 ensures that newly
- created files and directories are only writable by their owner, but are
- readable and executable by anyone (assuming default modes are used by the
- open(2) system call, new files
- will end up with permission mode 644 and directories with mode 755).
+ Setting the umask as we've already explained in
+
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index cf4e209ac..e2b5b2d17 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -184,8 +184,8 @@ cd build
packages to define the location where the package should be
installed. If it is not set, it defaults to the root (/) directory. Here we specify that
- the package is installed in $LFS
- , which will become the root directory in
+ $LFS, which will become the root directory in .
diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index 66c6ef3fc..54fa6f444 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -48,8 +48,7 @@
./configure --prefix=/usr \
--build=$(sh support/config.guess) \
--host=$LFS_TGT \
- --without-bash-malloc \
- bash_cv_strtold_broken=no
+ --without-bash-malloc
The meaning of the configure options:
diff --git a/chapter07/changingowner.xml b/chapter07/changingowner.xml
index 4c83f40f6..8997d91f0 100644
--- a/chapter07/changingowner.xml
+++ b/chapter07/changingowner.xml
@@ -33,6 +33,6 @@
user root by running the following
command:
-chown --from lfs -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}
+chown --from &lfs-username; -R root:root $LFS/{usr,lib,lib64,var,etc,bin,sbin,tools}
diff --git a/chapter08/bash.xml b/chapter08/bash.xml
index 9dbcf7863..f07a692e7 100644
--- a/chapter08/bash.xml
+++ b/chapter08/bash.xml
@@ -45,7 +45,6 @@
./configure --prefix=/usr \
--without-bash-malloc \
--with-installed-readline \
- bash_cv_strtold_broken=no \
--docdir=/usr/share/doc/bash-&bash-version;
diff --git a/chapter08/binutils.xml b/chapter08/binutils.xml
index c7cd60c53..4eaac3a03 100644
--- a/chapter08/binutils.xml
+++ b/chapter08/binutils.xml
@@ -41,6 +41,12 @@
Installation of Binutils
+ First, apply a patch to prevent a bug that causing
+ unnecessary relinking with packages that depend on cmake-3.31.0
+ or newer:
+
+patch -Np1 -i ../&binutils-upstream-patch;
+
The Binutils documentation recommends building Binutils
in a dedicated build directory:
diff --git a/chapter08/dbus.xml b/chapter08/dbus.xml
index 36d5c55ca..086b30b93 100644
--- a/chapter08/dbus.xml
+++ b/chapter08/dbus.xml
@@ -48,41 +48,21 @@
Prepare D-Bus for compilation:
-./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --runstatedir=/run \
- --enable-user-session \
- --disable-static \
- --disable-doxygen-docs \
- --disable-xml-docs \
- --docdir=/usr/share/doc/dbus-&dbus-version; \
- --with-system-socket=/run/dbus/system_bus_socket
+mkdir build
+cd build
+
+meson setup --prefix=/usr --buildtype=release --wrap-mode=nofallback ..
- The meaning of the configure options:
+ The meaning of the meson options:
- --runstatedir=/run and
- --with-system-socket=/run/dbus/system_bus_socket
+ --wrap-mode=nofallback
- These cause the PID file and the system bus socket
- to be in /run, instead of
- the deprecated /var/run.
-
-
-
-
-
- --enable-user-session
-
-
- This ensures the D-Bus per-user service and socket unit
- files are installed for Systemd. They are not useful (but
- harmless) in a base LFS installation, however they can be used
- once systemd is rebuilt with PAM support in BLFS.
+ This switch prevents meson from attempting to download a copy
+ of the Glib package for the tests.
@@ -90,11 +70,11 @@
Compile the package:
-make
+ninjaTo test the results, issue:
-make check
+ninja testMany tests are disabled because they require additional
packages that are not included in LFS. Instructions for running the
@@ -103,7 +83,7 @@
Install the package:
-make install
+ninja installCreate a symlink so that D-Bus and systemd can use the same
machine-id file:
@@ -149,7 +129,7 @@
dbus-daemon
- Is the D-Bus message bus daemon
+ is the D-Bus message bus daemondbus-daemon
@@ -159,7 +139,7 @@
dbus-launch
- Starts dbus-daemon from a shell
+ starts dbus-daemon from a shell
scriptdbus-launch
@@ -170,7 +150,7 @@
dbus-monitor
- Monitors messages passing through a D-Bus message bus
+ monitors messages passing through a D-Bus message busdbus-monitor
@@ -180,7 +160,7 @@
dbus-run-session
- Starts a session bus instance of dbus-daemon
+ starts a session bus instance of dbus-daemon
from a shell script and starts a specified program in that
session
@@ -192,7 +172,7 @@
dbus-send
- Sends a message to a D-Bus message bus
+ sends a message to a D-Bus message busdbus-send
@@ -202,7 +182,7 @@
dbus-test-tool
- Is a tool to help packages test
+ is a tool to help packages test
D-Busdbus-test-tool
@@ -214,7 +194,7 @@
dbus-update-activation-environment
- Updates environment variables that will be set for
+ updates environment variables that will be set for
D-Bus session servicesdbus-update-activation-environment
diff --git a/chapter08/e2fsprogs.xml b/chapter08/e2fsprogs.xml
index c5718c191..d99922610 100644
--- a/chapter08/e2fsprogs.xml
+++ b/chapter08/e2fsprogs.xml
@@ -146,7 +146,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info
/etc/mke2fs.conf contains the default value of
various command line options of mke2fs. You may
- edit the file to make the default values suitable for your need.
+ edit the file to make the default values suitable for your needs.
For example, some utilities (not in LFS or BLFS) cannot recognize a
ext4 file system with
metadata_csum_seed feature enabled.
diff --git a/chapter08/flit-core.xml b/chapter08/flit-core.xml
index 419efc30f..55be940d4 100644
--- a/chapter08/flit-core.xml
+++ b/chapter08/flit-core.xml
@@ -42,11 +42,11 @@
Build the package:
-pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
+pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWDInstall the package:
-pip3 install --no-index --no-user --find-links dist flit_core
+pip3 install --no-index --find-links dist flit_coreThe meaning of the pip3 configuration options and commands:
diff --git a/chapter08/gawk.xml b/chapter08/gawk.xml
index bc19acaaf..bc3717653 100644
--- a/chapter08/gawk.xml
+++ b/chapter08/gawk.xml
@@ -84,8 +84,7 @@ make install
If desired, install the documentation:
-mkdir -pv /usr/share/doc/gawk-&gawk-version;
-cp -v doc/{awkforai.txt,*.{eps,pdf,jpg}} /usr/share/doc/gawk-&gawk-version;
+install -vDm644 doc/{awkforai.txt,*.{eps,pdf,jpg}} -t /usr/share/doc/gawk-&gawk-version;
diff --git a/chapter08/gettext.xml b/chapter08/gettext.xml
index f26d15536..c0829253a 100644
--- a/chapter08/gettext.xml
+++ b/chapter08/gettext.xml
@@ -42,7 +42,15 @@
Installation of Gettext
+
Prepare Gettext for compilation:./configure --prefix=/usr \
diff --git a/chapter08/glibc.xml b/chapter08/glibc.xml
index 4a495e9c1..faef99774 100644
--- a/chapter08/glibc.xml
+++ b/chapter08/glibc.xml
@@ -510,7 +510,7 @@ done
cp -v zone.tab zone1970.tab iso3166.tab $ZONEINFO
zic -d $ZONEINFO -p America/New_York
-unset ZONEINFO
+unset ZONEINFO tz
The meaning of the zic commands:
diff --git a/chapter08/iproute2.xml b/chapter08/iproute2.xml
index 8a6755f3d..bcf08858b 100644
--- a/chapter08/iproute2.xml
+++ b/chapter08/iproute2.xml
@@ -77,8 +77,7 @@ rm -fv man/man8/arpd.8
If desired, install the documentation:
-mkdir -pv /usr/share/doc/iproute2-&iproute2-version;
-cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version;
+install -vDm644 COPYING README* -t /usr/share/doc/iproute2-&iproute2-version;
@@ -278,7 +277,7 @@ cp -v COPYING README* /usr/share/doc/iproute2-&iproute2-version;
tc class allows users to set up classes based
- on the queuing discipline scheduling
+ on the queueing discipline scheduling
tc filter allows users to set up the QoS/CoS
packet filtering
diff --git a/chapter08/jinja2.xml b/chapter08/jinja2.xml
index c06da9139..0ddbf5ef5 100644
--- a/chapter08/jinja2.xml
+++ b/chapter08/jinja2.xml
@@ -42,11 +42,11 @@
Build the package:
-pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWD
+pip3 wheel -w dist --no-cache-dir --no-build-isolation --no-deps $PWDInstall the package:
-pip3 install --no-index --no-user --find-links dist Jinja2
+pip3 install --no-index --find-links dist Jinja2
diff --git a/chapter08/libtool.xml b/chapter08/libtool.xml
index cb550b5d6..be88fa169 100644
--- a/chapter08/libtool.xml
+++ b/chapter08/libtool.xml
@@ -52,13 +52,7 @@
To test the results, issue:
-make -k check
-
- Five tests are known to fail in the LFS build environment due
- to a circular dependency, but these tests pass if rechecked after
- automake has been installed. Additionally, with grep-3.8 or newer,
- two tests will trigger a warning for non-POSIX regular expressions and
- fail.
+make checkInstall the package:
diff --git a/chapter08/markupsafe.xml b/chapter08/markupsafe.xml
index 685b7b520..232cb317b 100644
--- a/chapter08/markupsafe.xml
+++ b/chapter08/markupsafe.xml
@@ -48,7 +48,7 @@
Install the package:
-pip3 install --no-index --no-user --find-links dist Markupsafe
+pip3 install --no-index --find-links dist Markupsafe
diff --git a/chapter08/procps.xml b/chapter08/procps.xml
index 8a4716ade..399d0cec7 100644
--- a/chapter08/procps.xml
+++ b/chapter08/procps.xml
@@ -67,8 +67,7 @@
Compile the package:
-make
-make src_w_LDADD='$(LDADD) -lsystemd'
+make
so don't do that
+ in the .bashrc file or anywhere else.
+
sed -e 's:#ENCRYPT_METHOD DES:ENCRYPT_METHOD YESCRYPT:' \
-e 's:/var/spool/mail:/var/mail:' \
-e '/PATH=/{s@/sbin:@@;s@/bin:@@}' \
-i etc/login.defs
-
- If you chose to build Shadow with Cracklib support, issue this command:
-
-sed -i 's:DICTPATH.*:DICTPATH\t/lib/cracklib/pw_dict:' etc/login.defs
-
+
]]>
+
]]>
+
]]>
-
-
+
+
-
+
+
-
+
-
-
+
+
-
+
@@ -172,10 +172,10 @@
-
-
+
+
-
+
@@ -200,10 +200,10 @@
-
-
+
+
-
+
@@ -245,10 +245,10 @@
-
-
+
+
-
+
@@ -317,10 +317,10 @@
-
-
+
+
-
+
@@ -341,26 +341,26 @@
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
@@ -373,10 +373,10 @@
-
-
+
+
-
+
@@ -389,10 +389,10 @@
-
-
+
+
-
+
@@ -413,30 +413,30 @@
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
+
-
-
-
+
+
+
-
+
-
-
+
+
@@ -637,52 +637,52 @@
-
-
+
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
-
-
+
+
-
+
@@ -709,10 +709,10 @@
-
-
+
+
-
+
@@ -735,20 +735,20 @@
-
-
+
+
-
+
-
+
-
+
-
+
-
-
+
+
-
+
@@ -783,10 +783,10 @@
-
-
+
+
-
+
diff --git a/part3intro/toolchaintechnotes.xml b/part3intro/toolchaintechnotes.xml
index 3714596fc..1dad94103 100644
--- a/part3intro/toolchaintechnotes.xml
+++ b/part3intro/toolchaintechnotes.xml
@@ -360,7 +360,7 @@ checking what linker to use... /mnt/lfs/tools/i686-lfs-linux-gnu/bin/ldNext comes glibc. The most important
considerations for building glibc are the compiler, binary tools, and
kernel headers. The compiler and binary tools are generally not an issue
- since glibc will always those relating to the --host
+ since glibc will always use those relating to the --host
parameter passed to its configure script; e.g., in our case, the compiler
will be $LFS_TGT-gcc and the readelf
tool will be $LFS_TGT-readelf. The kernel headers can
diff --git a/patches.ent b/patches.ent
index fbb773577..0c1b18d0c 100644
--- a/patches.ent
+++ b/patches.ent
@@ -7,6 +7,10 @@
-->
+
+
+
+
@@ -36,7 +40,7 @@
-->
-
+