diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index cce1eb603..72cebc79e 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -40,6 +40,21 @@ appropriate for the entry or if needed the entire day's listitem. --> + + 2022-03-05 + + + [xry111] - Stop changing the owner of + $LFS/source to + lfs. Fixes + #5018. + + + [xry111] - Add zstd-1.5.2 upstream fixes patch. + + + + 2022-03-02 diff --git a/chapter01/whatsnew.xml b/chapter01/whatsnew.xml index fe9b3b278..e009291ca 100644 --- a/chapter01/whatsnew.xml +++ b/chapter01/whatsnew.xml @@ -280,14 +280,9 @@ Added: - diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 1a6e52338..4b24fad1f 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -141,6 +141,13 @@ + + Zstd Upstream Fixes Patch - &zstd-upstream-fixes-patch-size;: + + Download: + MD5 sum: &zstd-upstream-fixes-patch-md5; + + Total size of these patches: about diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml index 5c558b301..5f5ee844d 100644 --- a/chapter04/addinguser.xml +++ b/chapter04/addinguser.xml @@ -82,12 +82,6 @@ useradd -s /bin/bash -g lfs -m -k /dev/null lfs chown -v lfs $LFS/{usr{,/*},lib*,boot,var,etc,bin,sbin,tools} - If a separate working directory was created as suggested, give - user lfs ownership of this - directory: - -chown -v lfs $LFS/sources - In some host systems, the following command does not complete properly and suspends the login to the lfs user to the background. If the prompt "lfs:~$" does not appear immediately, entering the diff --git a/chapter08/gcc.xml b/chapter08/gcc.xml index 9c6f22394..3a859346a 100644 --- a/chapter08/gcc.xml +++ b/chapter08/gcc.xml @@ -172,7 +172,7 @@ rm -rf /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include-fixed/bits/root user and group: chown -v -R root:root \ - /usr/lib/gcc/*linux-gnu/&gcc-version;/include{,-fixed} + /usr/lib/gcc/$(gcc -dumpmachine)/&gcc-version;/include{,-fixed} Create a symlink required by the FHS diff --git a/chapter08/zstd.xml b/chapter08/zstd.xml index 881aba286..cde0b9231 100644 --- a/chapter08/zstd.xml +++ b/chapter08/zstd.xml @@ -42,6 +42,10 @@ Installation of Zstd + Apply a patch to fix some issues identified by upstream: + +patch -Np1 -i ../&zstd-upstream-fixes-patch; + Compile the package: make diff --git a/packages.ent b/packages.ent index 0e4e31b01..6432df56d 100644 --- a/packages.ent +++ b/packages.ent @@ -502,7 +502,7 @@ - + diff --git a/patches.ent b/patches.ent index cd2fb93e8..7e43f7e0a 100644 --- a/patches.ent +++ b/patches.ent @@ -87,3 +87,7 @@ + + + +