diff --git a/bootscripts/ChangeLog b/bootscripts/ChangeLog index 5a809d1b8..6017bb965 100644 --- a/bootscripts/ChangeLog +++ b/bootscripts/ChangeLog @@ -1,3 +1,6 @@ +2019-09-02 DJ Lucas + * Update facilities in LSB headers + 2015-06-24 Bruce Dubbs * Unmount network file systems before bringing down the network * Spell out some mount/umount options diff --git a/bootscripts/lfs/init.d/checkfs b/bootscripts/lfs/init.d/checkfs index 2ab1bf119..42fce219a 100644 --- a/bootscripts/lfs/init.d/checkfs +++ b/bootscripts/lfs/init.d/checkfs @@ -27,7 +27,7 @@ ### BEGIN INIT INFO # Provides: checkfs -# Required-Start: udev swap $time +# Required-Start: udev swap # Should-Start: # Required-Stop: # Should-Stop: diff --git a/bootscripts/lfs/init.d/console b/bootscripts/lfs/init.d/console index 1a4921005..3d3b5e0b1 100644 --- a/bootscripts/lfs/init.d/console +++ b/bootscripts/lfs/init.d/console @@ -15,8 +15,8 @@ ### BEGIN INIT INFO # Provides: console -# Required-Start: -# Should-Start: $local_fs +# Required-Start: $local_fs +# Should-Start: udev_retry # Required-Stop: # Should-Stop: # Default-Start: S diff --git a/bootscripts/lfs/init.d/localnet b/bootscripts/lfs/init.d/localnet index 4b85a987f..83d63a075 100644 --- a/bootscripts/lfs/init.d/localnet +++ b/bootscripts/lfs/init.d/localnet @@ -14,8 +14,8 @@ ### BEGIN INIT INFO # Provides: localnet -# Required-Start: $local_fs -# Should-Start: +# Required-Start: mountvirtfs +# Should-Start: modules # Required-Stop: # Should-Stop: # Default-Start: S diff --git a/bootscripts/lfs/init.d/modules b/bootscripts/lfs/init.d/modules index cab5cfadd..eabcde5a2 100644 --- a/bootscripts/lfs/init.d/modules +++ b/bootscripts/lfs/init.d/modules @@ -14,7 +14,7 @@ ### BEGIN INIT INFO # Provides: modules -# Required-Start: mountvirtfs sysctl +# Required-Start: mountvirtfs # Should-Start: # Required-Stop: # Should-Stop: diff --git a/bootscripts/lfs/init.d/mountfs b/bootscripts/lfs/init.d/mountfs index ee7dcf5f7..4cb37c61f 100644 --- a/bootscripts/lfs/init.d/mountfs +++ b/bootscripts/lfs/init.d/mountfs @@ -15,7 +15,7 @@ ### BEGIN INIT INFO # Provides: $local_fs # Required-Start: udev checkfs -# Should-Start: +# Should-Start: modules # Required-Stop: swap # Should-Stop: # Default-Start: S diff --git a/bootscripts/lfs/init.d/mountvirtfs b/bootscripts/lfs/init.d/mountvirtfs index 65b87b0f0..e642546df 100644 --- a/bootscripts/lfs/init.d/mountvirtfs +++ b/bootscripts/lfs/init.d/mountvirtfs @@ -14,7 +14,7 @@ ### BEGIN INIT INFO # Provides: mountvirtfs -# Required-Start: +# Required-Start: $first # Should-Start: # Required-Stop: # Should-Stop: diff --git a/bootscripts/lfs/init.d/network b/bootscripts/lfs/init.d/network index 7cf0c7017..46dd4b565 100644 --- a/bootscripts/lfs/init.d/network +++ b/bootscripts/lfs/init.d/network @@ -16,10 +16,10 @@ ### BEGIN INIT INFO # Provides: $network -# Required-Start: $local_fs swap localnet -# Should-Start: $syslog -# Required-Stop: $local_fs swap localnet -# Should-Stop: $syslog +# Required-Start: $local_fs $syslog localnet swap +# Should-Start: +# Required-Stop: $local_fs $syslog localnet swap +# Should-Stop: # Default-Start: 3 4 5 # Default-Stop: 0 1 2 6 # Short-Description: Starts and configures network interfaces. diff --git a/bootscripts/lfs/init.d/setclock b/bootscripts/lfs/init.d/setclock index 8bf3f402d..059ce585d 100644 --- a/bootscripts/lfs/init.d/setclock +++ b/bootscripts/lfs/init.d/setclock @@ -23,7 +23,7 @@ # Short-Description: Stores and restores time from the hardware clock # Description: On boot, system time is obtained from hwclock. The # hardware clock can also be set on shutdown. -# X-LFS-Provided-By: LFS BLFS +# X-LFS-Provided-By: LFS ### END INIT INFO . /lib/lsb/init-functions diff --git a/bootscripts/lfs/init.d/sysctl b/bootscripts/lfs/init.d/sysctl index 3c3722cd7..c90da9de2 100644 --- a/bootscripts/lfs/init.d/sysctl +++ b/bootscripts/lfs/init.d/sysctl @@ -17,7 +17,7 @@ ### BEGIN INIT INFO # Provides: sysctl # Required-Start: mountvirtfs -# Should-Start: +# Should-Start: console # Required-Stop: # Should-Stop: # Default-Start: S diff --git a/bootscripts/lfs/init.d/sysklogd b/bootscripts/lfs/init.d/sysklogd index 2c2a9dd06..8939e8a8a 100644 --- a/bootscripts/lfs/init.d/sysklogd +++ b/bootscripts/lfs/init.d/sysklogd @@ -14,12 +14,12 @@ ### BEGIN INIT INFO # Provides: $syslog -# Required-Start: localnet +# Required-Start: $first localnet # Should-Start: -# Required-Stop: $local_fs sendsignals +# Required-Stop: $local_fs # Should-Stop: -# Default-Start: 3 4 5 -# Default-Stop: 0 1 2 6 +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 # Short-Description: Starts kernel and system log daemons. # Description: Starts kernel and system log daemons. # /etc/fstab. diff --git a/bootscripts/lfs/init.d/udev b/bootscripts/lfs/init.d/udev index ba0f7c88f..1ec053623 100644 --- a/bootscripts/lfs/init.d/udev +++ b/bootscripts/lfs/init.d/udev @@ -14,7 +14,7 @@ ### BEGIN INIT INFO # Provides: udev $time -# Required-Start: +# Required-Start: localnet # Should-Start: modules # Required-Stop: # Should-Stop: diff --git a/bootscripts/lfs/init.d/udev_retry b/bootscripts/lfs/init.d/udev_retry index c921fc451..2253a3be2 100644 --- a/bootscripts/lfs/init.d/udev_retry +++ b/bootscripts/lfs/init.d/udev_retry @@ -16,7 +16,7 @@ ### BEGIN INIT INFO # Provides: udev_retry # Required-Start: udev -# Should-Start: $local_fs +# Should-Start: $local_fs cleanfs # Required-Stop: # Should-Stop: # Default-Start: S diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 3c952aee3..2cdd0396e 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -46,50 +46,40 @@ --> - 2019-09-01 + 2019-09-14 - [bdubbs] - LFS-9.0 released. + [bdubbs] - Update to expat-2.2.8. Fixes + #4527. + + + [bdubbs] - Update to bison-3.4.2. Fixes + #4526. + + + [bdubbs] - Update to linux-5.2.14. Fixes + #4522. + + + [bdubbs] - Update to openssl-1.1.1d. Fixes + #4523. + + + [bdubbs] - Update to sysvinit-2.96. Fixes + #4524. + + + [bdubbs] - Update to tzdata-2019c. Fixes + #4525. - 2019-08-14 + 2019-09-02 - [bdubbs] - Update to vim-8.1.1846. Fixes - #4500. - - - [bdubbs] - Update to elfutils-0.177. Fixes - #4516. - - - [bdubbs] - Update to gcc-9.2.0. Fixes - #4514. - - - [bdubbs] - Update to bc-2.1.3. Fixes - #4513. - - - [bdubbs] - Update to man-db-2.8.6.1. Fixes - #4512. - - - [bdubbs] - Update to linux-5.2.8. Fixes - #4511. - - - - - - 2019-08-04 - - - [bdubbs] - Fix a problem introduced by linux-5.2 by - adding an include file to a glibc header. + [dj] - Update to lfs-bootscripts-20190908. [thomas] - Upgrade to isl-0.21 @@ -101,500 +91,37 @@ - 2019-08-03 + 2019-09-02 - - [renodr] - Add a patch to systemd to fix issues with - networkd on kernel versions 5.2+, and to fix issues with AMD Ryzen - CPUs. Fixes #4506. + + [bdubbs] - Update to linux-5.2.11. Fixes + #4517. - [bdubbs] - Update to linux-5.2.5. Fixes - #4505. + [bdubbs] - Update to man-db-2.8.7. Fixes + #4518. - [bdubbs] - Update to kbd-2.2.0. Fixes - #4507. + [bdubbs] - Update to meson-0.51.2. Fixes + #4519. - [bdubbs] - Update to glibc-2.30. Fixes - #4508. + [bdubbs] - Update to findutils-4.7.0. Fixes + #4520. - [bdubbs] - Update to man-pages-5.02. Fixes - #4509. + [dj] - Update to LFS-Bootscripts-20190902 - correct LSB + dependency information in bootscripts and update standards page for + new LSB-Tools package. - 2019-07-21 + 2019-09-01 - [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-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 - OpenSSL to avoid valgrind uninitialized value errors. Fixes - #4491. - - - [bdubbs] - Update to meson-0.51.0. Fixes - #4483. - - - [bdubbs] - Update to gawk-5.0.1. Fixes - #4486. - - - [bdubbs] - Update to expat-2.2.7. Fixes - #4488. - - - [bdubbs] - Update to linux-5.1.15. Fixes - #4487. - - - [bdubbs] - Update to sysvinit-2.95. Fixes - #4484. - - - [bdubbs] - Update to bzip2-1.0.7. Fixes - #4490. - - - - - - 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 - - - [renodr] - Update to linux-5.1.11. Fixes the SOCK PANIC - issue. Fixes - #4485. - - - - - - 2019-06-16 - - - [bdubbs] - Update to vim-8.1.1535. Fixes - #4482. - - - [bdubbs] - Update to shadow-4.7. Fixes - #4481. - - - [bdubbs] - Update to linux-5.1.10. Fixes - #4478. - - - [bdubbs] - Update to less-551. Fixes - #4477. - - - [bdubbs] - Update to util-linux-2.34. Fixes - #4462. - - - [bdubbs] - Remove eudev instructions referring to /tools. Fixes - #4480. - - - - - - 2019-06-12 - - - [renodr] - Update to dbus-1.12.16. Fixes - #4470. - - - - - - 2019-06-08 - - - [renodr] - make it so that the instructions for removing - symlinks before building Util-Linux in Chapter 6 are only visible - in systemd. - - - - - - 2019-06-03 - - - [bdubbs] - Update to perl-5.30.0. Fixes - #4474. - - - [bdubbs] - Update to linux-5.1.6. Fixes - #4473. - - - [bdubbs] - Update to openssl-1.1.1c. Fixes - #4476. - - - [bdubbs] - Update to eudev-3.2.8. Fixes - #4472. - - - [bdubbs] - Update to bison-3.4.1. Fixes - #4471. - - - [bdubbs] - Update to e2fsprogs-1.45.2. Fixes - #4475. - - - - - - 2019-05-24 - - - [dj] - Cosmetic changes to LFS bootscripts. - - - - - - 2019-05-19 - - - [bdubbs] - Update to man-pages-5.01. Fixes - #4467. - - - [bdubbs] - Update to linux-5.1.3. Fixes - #4464. - - - [bdubbs] - Update to iproute2-5.1.0. Fixes - #4467. - - - [bdubbs] - Update to gettext-0.20.1. Fixes - #4465. - - - [bdubbs] - Update to file-5.37. Fixes - #4469. - - - [bdubbs] - Update to e2fsprogs-1.45.1. Fixes - #4468. - - - - - - 2019-05-11 - - - [pierre] - Fix a hardcoded path to /usr/bin/find in the - systemd unit of man-db. - - - - - - 2019-05-03 - - - [bdubbs] - Update to gcc-9.1.0. Fixes - #4463. - - - [bdubbs] - Update to linux-5.0.11. Fixes - #4461. - - - - - - 2019-04-23 - - - [bdubbs] - Apply a change to allow Perl to build correctly when - building with the latest versions of gcc. - - - - - - 2019-04-20 - - - [bdubbs] - Update to perl-5.28.2. Fixes - #4460. - - - [bdubbs] - Update to meson-0.50.1. Fixes - #4459. - - - [bdubbs] - Update to linux-5.0.9. Fixes - #4458. - - - [bdubbs] - Update to libcap-2.27. Fixes - #4457. - - - [renodr] - Fix the syntax used for configuring automatic file - creation and deletion. - - - - - - 2019-04-15 - - - [bdubbs] - Update bzip2 url. Fixes - #4450. - - - [bdubbs] - Update to util-linux-2.33.2. Fixes - #4454. - - - [bdubbs] - Update to linux-5.0.7. Fixes - #4449. - - - [bdubbs] - Update to gawk-5.0.0. Fixes - #4455. - - - - - - 2019-03-27 - - - [bdubbs] - Revert to meson-0.49.2. - - - - - - 2019-03-26 - - - [bdubbs] - Update to tzdata2019a. Fixes - #4448. - - - [bdubbs] - Update to Python-3.7.3. Fixes - #4447. - - - - - - 2019-03-25 - - - [bdubbs] - Update to iproute2-5.0.0. Fixes - #4446. - - - [bdubbs] - Update to linux-5.0.4. Fixes - #4444. - - - [xry111] - Use -ffile-prefix-map instead of -isystem and - symlinks in the Glibc build to simplify the instruction. - - - - - - 2019-03-13 - - - [xry111] - Update contents and short descriptions of - packages. Fixes - #4443. - - - - - - 2019-03-12 - - - [bdubbs] - Update to meson-0.50.0. Fixes - #4442. - - - [bdubbs] - Update to coreutils-8.31. Fixes - #4441. - - - [bdubbs] - Update to linux-5.0.1. Fixes - #4440. - - - [bdubbs] - Update to man-pages-5.00. Fixes - #4439. - - - [bdubbs] - Update to e2fsprogs-1.45.0. Fixes - #4438. - - - - - - 2019-03-08 - - - [renodr] - Update to systemd-241. Fixes - #4424. - - - - - - 2019-03-05 - - - [bdubbs] - Update to linux-5.0. Fixes - #4437. - - - - - - 2019-03-01 - - - [bdubbs] - Update to texinfo-6.6. Fixes - #4427. - - - [bdubbs] - Update to tar-1.32. Fixes - #4431. - - - [bdubbs] - Update to sysvinit-2.94. Fixes - #4432. - - - [bdubbs] - Update to openssl-1.1.1b. Fixes - #4435. - - - [bdubbs] - Update to gcc-8.3.0. Fixes - #4430. - - - [bdubbs] - Update to linux-4.20.13. Fixes - #4434. - - - - - - 2019-03-01 - - - [bdubbs] - LFS-8.4 released. + [bdubbs] - LFS-9.0 released. diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 4420da790..301c1182e 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -41,69 +41,69 @@ - + Bison-&bison-version; - + - + - + - + + Expat-&expat-version; - + + Findutils-&findutils-version; - --> + - + + - + + @@ -116,9 +116,9 @@ - + @@ -131,27 +131,27 @@ - + + - + + + + @@ -173,9 +173,9 @@ Man-DB-&man-db-version; - + Meson-&meson-version; @@ -197,9 +197,9 @@ - + @@ -209,45 +209,45 @@ - + - + - + SysVinit-&sysvinit-version; - + - + Tzdata-&tzdata-version; - + + diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml index 8b425c87c..bd84aa770 100644 --- a/chapter04/addinguser.xml +++ b/chapter04/addinguser.xml @@ -12,7 +12,7 @@ When logged in as user root, making a single mistake can damage or destroy a system. Therefore, we - recommend building the packages in this chapter as an unprivileged user. + recommend building the packages in the next chapter as an unprivileged user. You could use your own user name, but to make it easier to set up a clean working environment, create a new user called lfs as a member of a new group (also named diff --git a/chapter05/findutils.xml b/chapter05/findutils.xml index d9d1a7a74..064a9e848 100644 --- a/chapter05/findutils.xml +++ b/chapter05/findutils.xml @@ -42,13 +42,13 @@ Installation of Findutils - + Prepare Findutils for compilation: ./configure --prefix=/tools diff --git a/chapter05/m4.xml b/chapter05/m4.xml index a4ed71be8..0dcc6b774 100644 --- a/chapter05/m4.xml +++ b/chapter05/m4.xml @@ -43,7 +43,7 @@ Installation of M4 - First, make some fixes required by glibc-2.28: + First, make some fixes introduced by glibc-2.28: sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' lib/*.c echo "#define _IO_IN_BACKUP 0x100" >> lib/stdio-impl.h diff --git a/chapter05/perl.xml b/chapter05/perl.xml index 1e55d830a..2bb15453b 100644 --- a/chapter05/perl.xml +++ b/chapter05/perl.xml @@ -60,7 +60,10 @@ - -Uloclibpth amd -Ulocincpth + + -Uloclibpth and + -Ulocincpth + These entries undefine variables that cause the configuration to search for locally installed components that may exist on the diff --git a/chapter06/bison.xml b/chapter06/bison.xml index 05bf30cd4..00a4e78f7 100644 --- a/chapter06/bison.xml +++ b/chapter06/bison.xml @@ -42,7 +42,7 @@ First, fix a build problem with the current version: -sed -i '6855 s/mv/cp/' Makefile.in +sed -i '9327 s/mv/cp/' Makefile.in Prepare Bison for compilation: diff --git a/chapter06/findutils.xml b/chapter06/findutils.xml index 20da93a41..3b227eb46 100644 --- a/chapter06/findutils.xml +++ b/chapter06/findutils.xml @@ -43,19 +43,6 @@ Installation of Findutils - - First, suppress a test which on some machines can loop forever: - -sed -i 's/test-lock..EXEEXT.//' tests/Makefile.in - - Next, make some fixes required by glibc-2.28 and later: - -sed -i 's/IO_ftrylockfile/IO_EOF_SEEN/' gl/lib/*.c -sed -i '/unistd/a #include <sys/sysmacros.h>' gl/lib/mountlist.c -echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h - Prepare Findutils for compilation: ./configure --prefix=/usr --localstatedir=/var/lib/locate @@ -86,6 +73,9 @@ echo "#define _IO_IN_BACKUP 0x100" >> gl/lib/stdio-impl.h make install + Two tests are known to fail in the chroot environment: + sv-bug-54171.old-O3 and sv-bug-54171.new-O3. + Some of the scripts in the LFS-Bootscripts package depend on find. As /usr may not be available during the early diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index c7e09499c..2c8363816 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -166,7 +166,7 @@ cd build esac The symbolic link above is needed to run the tests at this - stage of building in the chroot envirnment. It will be overwritten + stage of building in the chroot environment. It will be overwritten in the install phase below. make check diff --git a/chapter06/openssl.xml b/chapter06/openssl.xml index 6d55a0552..291f5887b 100644 --- a/chapter06/openssl.xml +++ b/chapter06/openssl.xml @@ -42,12 +42,12 @@ Installation of OpenSSL - + Prepare OpenSSL for compilation: ./config --prefix=/usr \ @@ -63,10 +63,9 @@ To test the results, issue: make test - + + One subtest in the test 20-test_enc.t is known to fail. + Install the package: sed -i '/INSTALL_LIBS/s/libcrypto.a libssl.a//' Makefile diff --git a/general.ent b/general.ent index 466e9d3cd..c597e7369 100644 --- a/general.ent +++ b/general.ent @@ -1,13 +1,13 @@ - + - + - + diff --git a/packages.ent b/packages.ent index 4d6360dab..0ec68fb37 100644 --- a/packages.ent +++ b/packages.ent @@ -69,10 +69,10 @@ - - + + - + @@ -166,10 +166,10 @@ - - + + - + @@ -193,10 +193,10 @@ - - - - + + + + @@ -388,7 +388,7 @@ - + @@ -430,12 +430,12 @@ - + - + - +