From 1f201845a30b83f242a5f8ed35a80db17522752b Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 31 Oct 2021 14:00:21 -0500 Subject: Package updates Update to gawk-5.1.1. Update to meson-0.60.0. Update to libcap-2.60. Update to gdbm-1.22. Update to file-5.41. Update to linux-5.14.15. Update to iana-etc-20211025. Update to tzdata-2021e. Change /bin to /usr/bin in passwd, and revisedchroot. Fix systemd for new meson. --- chapter01/changelog.xml | 38 ++++++++++++++++++++++++++++ chapter01/whatsnew.xml | 60 ++++++++++++++++++++++----------------------- chapter03/patches.xml | 4 +-- chapter07/createfiles.xml | 46 +++++++++++++++++----------------- chapter08/bash.xml | 2 +- chapter08/file.xml | 4 --- chapter08/gcc.xml | 5 +++- chapter08/revisedchroot.xml | 2 +- chapter08/systemd.xml | 6 ++++- packages.ent | 46 +++++++++++++++++----------------- patches.ent | 2 ++ 11 files changed, 129 insertions(+), 86 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index b52723164..df2d03e0c 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -39,6 +39,44 @@ or as appropriate for the entry or if needed the entire day's listitem. --> + + 2021-11-01 + + + [bdubbs] - Update to gawk-5.1.1. Fixes + #4946. + + + [bdubbs] - Update to meson-0.60.0. Fixes + #4945. + + + [bdubbs] - Update to libcap-2.60. Fixes + #4944. + + + [bdubbs] - Update to gdbm-1.22. Fixes + #4943. + + + [bdubbs] - Update to file-5.41. Fixes + #4942. + + + [bdubbs] - Update to linux-5.14.15. Fixes + #4941. + + + [bdubbs] - Update to iana-etc-20211025. Fixes + #4940. + + + [bdubbs] - Update to tzdata-2021e. Fixes + #4939. + + + + 2021-10-15 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index 8ee6fae1d..e50392e46 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -84,28 +84,28 @@ - + - - - + GDBM-&gdbm-version; - - - Gzip-&gzip-version; - + IANA-Etc-&iana-etc-version; @@ -135,7 +135,7 @@ - + IPRoute2-&iproute2-version; @@ -144,22 +144,22 @@ - - - + Libcap-&libcap-version; - - - + Linux-&linux-version; - - - + Meson-&meson-version; - - - - - - + SysVinit-&sysvinit-version; - Tzdata-&tzdata-version; - - + Vim-&vim-version; - diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 8921684ce..3087d8ffa 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -59,7 +59,7 @@ MD5 sum: &coreutils-i18n-patch-md5; - + Glibc FHS Patch - &glibc-fhs-patch-size;: diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml index 79fdaaf97..85d24c6a6 100644 --- a/chapter07/createfiles.xml +++ b/chapter07/createfiles.xml @@ -61,30 +61,30 @@ EOF command: cat > /etc/passwd << "EOF" -root:x:0:0:root:/root:/bin/bash -bin:x:1:1:bin:/dev/null:/bin/false -daemon:x:6:6:Daemon User:/dev/null:/bin/false -messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/bin/false -uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/bin/false -nobody:x:99:99:Unprivileged User:/dev/null:/bin/false +root:x:0:0:root:/root:/usr/bin/bash +bin:x:1:1:bin:/dev/null:/usr/bin/false +daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false +messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/usr/bin/false +uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/usr/bin/false +nobody:x:99:99:Unprivileged User:/dev/null:/usr/bin/false EOF cat > /etc/passwd << "EOF" -root:x:0:0:root:/root:/bin/bash -bin:x:1:1:bin:/dev/null:/bin/false -daemon:x:6:6:Daemon User:/dev/null:/bin/false -messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/bin/false -systemd-bus-proxy:x:72:72:systemd Bus Proxy:/:/bin/false -systemd-journal-gateway:x:73:73:systemd Journal Gateway:/:/bin/false -systemd-journal-remote:x:74:74:systemd Journal Remote:/:/bin/false -systemd-journal-upload:x:75:75:systemd Journal Upload:/:/bin/false -systemd-network:x:76:76:systemd Network Management:/:/bin/false -systemd-resolve:x:77:77:systemd Resolver:/:/bin/false -systemd-timesync:x:78:78:systemd Time Synchronization:/:/bin/false -systemd-coredump:x:79:79:systemd Core Dumper:/:/bin/false -uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/bin/false -systemd-oom:x:81:81:systemd Out Of Memory Daemon:/:/bin/false -nobody:x:99:99:Unprivileged User:/dev/null:/bin/false +root:x:0:0:root:/root:/usr/bin/bash +bin:x:1:1:bin:/dev/null:/usr/bin/false +daemon:x:6:6:Daemon User:/dev/null:/usr/bin/false +messagebus:x:18:18:D-Bus Message Daemon User:/run/dbus:/usr/bin/false +systemd-bus-proxy:x:72:72:systemd Bus Proxy:/:/usr/bin/false +systemd-journal-gateway:x:73:73:systemd Journal Gateway:/:/usr/bin/false +systemd-journal-remote:x:74:74:systemd Journal Remote:/:/usr/bin/false +systemd-journal-upload:x:75:75:systemd Journal Upload:/:/usr/bin/false +systemd-network:x:76:76:systemd Network Management:/:/usr/bin/false +systemd-resolve:x:77:77:systemd Resolver:/:/usr/bin/false +systemd-timesync:x:78:78:systemd Time Synchronization:/:/usr/bin/false +systemd-coredump:x:79:79:systemd Core Dumper:/:/usr/bin/false +uuidd:x:80:80:UUID Generation Daemon User:/dev/null:/usr/bin/false +systemd-oom:x:81:81:systemd Out Of Memory Daemon:/:/usr/bin/false +nobody:x:99:99:Unprivileged User:/dev/null:/usr/bin/false EOF The actual password for root @@ -175,7 +175,7 @@ EOF user. We add this user here and delete this account at the end of that chapter. -echo "tester:x:101:101::/home/tester:/bin/bash" >> /etc/passwd +echo "tester:x:101:101::/home/tester:/usr/bin/bash" >> /etc/passwd echo "tester:x:101:" >> /etc/group install -o tester -d /home/tester @@ -185,7 +185,7 @@ install -o tester -d /home/tester files have been created, user name and group name resolution will now work: -exec /bin/bash --login +h +exec /usr/bin/bash --login +h Note the use of the +h directive. This tells bash not to use its internal path hashing. Without this diff --git a/chapter08/bash.xml b/chapter08/bash.xml index 699a24e43..36bbcf0d9 100644 --- a/chapter08/bash.xml +++ b/chapter08/bash.xml @@ -94,7 +94,7 @@ EOF Run the newly compiled bash program (replacing the one that is currently being executed): -exec /bin/bash --login +h + exec /usr/bin/bash --login +h The parameters used make the bash diff --git a/chapter08/file.xml b/chapter08/file.xml index 8baf349b1..eb9f41a2b 100644 --- a/chapter08/file.xml +++ b/chapter08/file.xml @@ -41,10 +41,6 @@ Installation of File - First, fix a few regressions in File: - -patch -Np1 -i ../file-&file-version;-upstream_fixes-1.patch - Prepare File for compilation: ./configure --prefix=/usr diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index fc8748fc3..a37e37774 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -105,7 +105,10 @@ cd build In this section, the test suite for GCC is considered - critical. Do not skip it under any circumstance. + important, but it takes a long time. First time builders are + encouraged to not skip it. The time to run the tests can be + reduced significantly by adding -jx to the make command below + where x is the number of cores on your system. One set of tests in the GCC test suite is known to exhaust the default diff --git a/chapter08/revisedchroot.xml b/chapter08/revisedchroot.xml index 3071240af..bc519d491 100644 --- a/chapter08/revisedchroot.xml +++ b/chapter08/revisedchroot.xml @@ -24,7 +24,7 @@ chroot "$LFS" /usr/bin/env -i \ HOME=/root TERM="$TERM" \ PS1='(lfs chroot) \u:\w\$ ' \ PATH=/usr/bin:/usr/sbin \ - /bin/bash --login + /usr/bin/bash --login Here the +h option is not used anymore, since all the previous programs have been replaced: hashing is therefore diff --git a/chapter08/systemd.xml b/chapter08/systemd.xml index f003a1c47..46719cc27 100644 --- a/chapter08/systemd.xml +++ b/chapter08/systemd.xml @@ -56,9 +56,13 @@ sgx, from the default udev rules: - sed -i -e 's/GROUP="render"/GROUP="video"/' \ + sed -i -e 's/GROUP="render"/GROUP="video"/' \ -e 's/GROUP="sgx", //' rules.d/50-udev-default.rules.in + Fix a mesaon problem: + + sed -i 's/+ want_libfuzzer.*$/and want_libfuzzer/' meson.build + Prepare systemd for compilation: mkdir -p build diff --git a/packages.ent b/packages.ent index 6140150c9..709c03663 100644 --- a/packages.ent +++ b/packages.ent @@ -180,10 +180,10 @@ - - + + - + @@ -208,10 +208,10 @@ - - + + - + @@ -240,10 +240,10 @@ - - + + - + @@ -321,10 +321,10 @@ - + - + @@ -394,10 +394,10 @@ - - + + - + @@ -428,12 +428,12 @@ - + - + - + + -- cgit v1.2.3-54-g00ecf