diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index d5bb8b75c..17b5684cc 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -44,20 +44,84 @@
or as
appropriate for the entry or if needed the entire day's listitem.
-->
+
- 2019-06-24
+ 2019-07-21
- [renodr] - Fixed issue with installing Check's documentation
- in a verisoned directory. Thanks goes to Ryan Marsaw for the report.
- This was fixed be removing the unrecognized/unused --docdir
- and replacing it with a "docdir=" in the make install command.
+ [bdubbs] - Update to linux-5.2.2. Fixes
+ #4504.
+
+
+ [bdubbs] - Update to bc-2.1.1. Fixes
+ #4503.
+
+
+ [bdubbs] - Update to kbd-2.1.0. Fixes
+ #4502.
+
+
+ [bdubbs] - Update to e2fsprogs-1.45.3. Fixes
+ #4501.
- 2019-06-16
+ 2019-07-14
+
+
+ [bdubbs] - Fix testing of binutils-2.32 gold linker. Fixes
+ #4498.
+
+
+ [bdubbs] - Update to tzdata-2019b. Fixes
+ #4492.
+
+
+ [bdubbs] - Update to python3-3.7.4. Fixes
+ #4496.
+
+
+ [bdubbs] - Update to meson-0.51.1. Fixes
+ #4497.
+
+
+ [bdubbs] - Update to iproute2-5.2.0. Fixes
+ #4495.
+
+
+ [bdubbs] - Update to grub-2.04. Fixes
+ #4494.
+
+
+ [bdubbs] - Update to linux-5.2.1. Fixes
+ #4493.
+
+
+ [bdubbs] - Update to bc-2.1.0. Fixes
+ #4436.
+
+
+ [bdubbs] - Update to bzip2-1.0.8. Fixes
+ #4499.
+
+
+
+
+
+ 2019-07-12
+
+
+ [renodr] - Fix an FTBFS for systemd and do minor text
+ and instructions improvements. Also, fix symlinks that were not
+ removed.
+
+
+
+
+
+ 2019-06-29
[bdubbs] - Properly initialize a data structure in
@@ -91,6 +155,18 @@
+
+ 2019-06-24
+
+
+ [renodr] - Fixed issue with installing Check's documentation
+ in a versioned directory. Thanks goes to Ryan Marsaw for the report.
+ This was fixed by removing the unrecognized/unused --docdir
+ and replacing it with a "docdir=" in the make install command.
+
+
+
+
2019-06-18
diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml
index 1cd1766b2..fdafee3ec 100644
--- a/chapter01/whatsnew.xml
+++ b/chapter01/whatsnew.xml
@@ -41,9 +41,9 @@
-
+
@@ -116,9 +116,9 @@
-
+
@@ -134,9 +134,9 @@
IPRoute2-&iproute2-version;
-
+
diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml
index d612fb90f..a7facb496 100644
--- a/chapter02/creatingpartition.xml
+++ b/chapter02/creatingpartition.xml
@@ -52,8 +52,8 @@
Start a disk partitioning program such as cfdisk
or fdisk with a command line option naming the hard
disk on which the new partition will be created—for example
- /dev/sda for the primary Integrated
- Drive Electronics (IDE) disk. Create a Linux native partition and a
+ /dev/sda for the primary
+ disk drive. Create a Linux native partition and a
swap partition, if needed. Please
refer to cfdisk(8) or fdisk(8) if
you do not yet know how to use the programs.
diff --git a/chapter06/bc.xml b/chapter06/bc.xml
index 48ea215fb..f78bd270e 100644
--- a/chapter06/bc.xml
+++ b/chapter06/bc.xml
@@ -40,7 +40,7 @@
Installation of Bc
-
+
Prepare Bc for compilation:
-
-./configure --prefix=/usr \
- --with-readline \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info
+
+PREFIX=/usr CC=gcc CFLAGS="-std=c99" ./configure.sh -G -O3
The meaning of the configure options:
-
+
+
+ CC=gcc CFLAGS="-std=c99"
+
+ These parameters specify the compiler and C standard to use.
+
+
+
+ -O3
+
+ Specify the optimization to use.
+
+
+
+
+ -G
+
+ Omit parts of the test suite that won't work
+ without a GNU bc present.
+
+
Compile the package:
make
-
+
+
+ To test bc, run:
+
+make test
+
Install the package:
diff --git a/chapter06/binutils.xml b/chapter06/binutils.xml
index 95a263939..3d7f532e5 100644
--- a/chapter06/binutils.xml
+++ b/chapter06/binutils.xml
@@ -57,6 +57,11 @@
The system has no more ptys.
Ask your system administrator to create more.
+ Now remove one test that prevents the tests from running
+ to completion:
+
+sed -i '/@\tincremental_copy/d' gold/testsuite/Makefile.in
+
The Binutils documentation recommends building Binutils
in a dedicated build directory:
@@ -152,7 +157,8 @@ cd build
make -k check
- One test, debug_msg.sh, is known to fail.
+ The PC-relative offset test and
+ the debug_msg.sh test may fail in the LFS environment.
Install the package:
diff --git a/chapter06/eudev.xml b/chapter06/eudev.xml
index 99eb958d6..392461610 100644
--- a/chapter06/eudev.xml
+++ b/chapter06/eudev.xml
@@ -104,7 +104,7 @@ mkdir -pv /etc/udev/rules.d
Install some custom rules and support files useful in an LFS
environment:
-tar -xvf ../&udev-lfs-version;.tar.bz2
+tar -xvf ../&udev-lfs-version;.tar.xz
make -f &udev-lfs-version;/Makefile.lfs install
diff --git a/chapter06/ninja.xml b/chapter06/ninja.xml
index 5be498eb7..e998c64fb 100644
--- a/chapter06/ninja.xml
+++ b/chapter06/ninja.xml
@@ -88,8 +88,7 @@
To test the results, issue:
-python3 configure.py
-./ninja ninja_test
+./ninja ninja_test
./ninja_test --gtest_filter=-SubprocessTest.SetWithLots
Install the package:
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index ce6a559b4..e802ba9a6 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -39,11 +39,6 @@
Installation of systemd
-
Create a symlink to work around missing xsltproc:
@@ -70,13 +65,16 @@ done
sed -i 's/GROUP="render", //' rules/50-udev-default.rules.in
+
+
Prepare systemd for compilation:
- mkdir -p build
+mkdir -p build
cd build
PKG_CONFIG_PATH="/usr/lib/pkgconfig:/tools/lib/pkgconfig" \
LANG=en_US.UTF-8 \
+CFLAGS+="-Wno-format-overflow" \
meson --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -85,7 +83,6 @@ meson --prefix=/usr \
-Ddefault-dnssec=no \
-Dfirstboot=false \
-Dinstall-tests=false \
- -Dkill-path=/bin/kill \
-Dkmod-path=/bin/kmod \
-Dldconfig=false \
-Dmount-path=/bin/mount \
@@ -96,6 +93,7 @@ meson --prefix=/usr \
-Dsysusers=false \
-Dumount-path=/bin/umount \
-Db_lto=false \
+ -Drpmmacrosdir=no \
..
@@ -174,6 +172,13 @@ meson --prefix=/usr \
+
+ -Drpmmacrosdir=no
+
+ This switch disables installation of RPM Macros
+ for use with systemd because LFS does not support RPM.
+
+
Compile the package:
@@ -188,16 +193,19 @@ meson --prefix=/usr \
LANG=en_US.UTF-8 ninja install
- Remove an unnecessary directory and file:
+ Remove an unnecessary symbolic link:
-rm -rfv /usr/lib/rpm
-rm -f /usr/bin/xsltproc
+rm -f /usr/bin/xsltproc
Create the /etc/machine-id file needed by
systemd-journald:
systemd-machine-id-setup
+ Remove symbolic links to Util-Linux libraries:
+
+rm -fv /usr/lib/lib{blkid,uuid,mount}.so*
+
Prevent systemd from creating /run/nologin
to allow unprivileged user logins without
systemd-logind:
diff --git a/chapter09/reboot.xml b/chapter09/reboot.xml
index 2718c0ef3..c6a857dbd 100644
--- a/chapter09/reboot.xml
+++ b/chapter09/reboot.xml
@@ -71,7 +71,6 @@
/etc/vimrc
/root/.bash_profile
/root/.bashrc
- /etc/sysconfig/network
/etc/sysconfig/ifconfig.eth0
diff --git a/general.ent b/general.ent
index 8fd1345d4..925f64462 100644
--- a/general.ent
+++ b/general.ent
@@ -1,16 +1,16 @@
-
+
-
+
-
+
-
+
diff --git a/lfs-bootscripts-20190524.tar.xz b/lfs-bootscripts-20190524.tar.xz
deleted file mode 100644
index 0315fce62..000000000
Binary files a/lfs-bootscripts-20190524.tar.xz and /dev/null differ
diff --git a/lfs-latest.php b/lfs-latest.php
index b9b8f7630..504e28648 100644
--- a/lfs-latest.php
+++ b/lfs-latest.php
@@ -106,6 +106,7 @@ function get_packages( $package, $dirpath )
//if ( $package != "vim" ) return 0; // Debug
+if ( $package == "bc" ) $dirpath = "https://github.com/gavinhoward/bc/releases";
if ( $package == "check" ) $dirpath = "https://github.com/libcheck/check/releases";
if ( $package == "e2fsprogs" ) $dirpath = "http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs";
if ( $package == "expat" ) $dirpath = "http://sourceforge.net/projects/expat/files";
diff --git a/packages.ent b/packages.ent
index 3aeb2fd5f..ec684cc55 100644
--- a/packages.ent
+++ b/packages.ent
@@ -50,10 +50,10 @@
-
-
-
-
+
+
+
+
@@ -62,8 +62,7 @@
-
-
+
@@ -80,10 +79,10 @@
-
-
+
+
-
+
@@ -144,10 +143,10 @@
-
-
+
+
-
+
@@ -307,10 +306,10 @@
-
-
+
+
-
+
@@ -349,10 +348,10 @@
-
-
+
+
-
+
@@ -365,10 +364,10 @@
-
-
+
+
-
+
@@ -430,13 +429,13 @@
-
-
+
+
-
+
-
+
-
+
-
+
-
+
-
-
+
+
@@ -691,10 +690,10 @@
-
-
+
+
-
+
diff --git a/prologue/bookinfo.xml b/prologue/bookinfo.xml
index ba22dbf54..61b845b17 100644
--- a/prologue/bookinfo.xml
+++ b/prologue/bookinfo.xml
@@ -11,6 +11,7 @@
Version &versiond;
Version &version;-multilib
Version &versiond;-multilib
+ Published &releasedate;