[lfs] 01/01: Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

"Git Owner" ([email protected] via lfs-book Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.book
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch xry111/clfs-ng
in repository lfs.

commit 8392e57ae4126fd060dbef27516fc1b7aefac2fe
Merge: 82220a58c a9138980a
Author: Xi Ruoyao <[email protected]>
AuthorDate: Tue Apr 29 22:53:57 2025 +0800

    Merge remote-tracking branch 'origin/trunk' into xry111/clfs-ng

 appendices/dependencies.xml                | 109 +++---
 chapter01/changelog.xml                    | 595 +++++------------------------
 chapter01/whatsnew.xml                     | 149 ++++----
 chapter02/aboutlfs.xml                     |  55 ++-
 chapter02/mounting.xml                     |   9 +
 chapter03/introduction.xml                 |   5 +-
 chapter03/packages.xml                     |  18 +-
 chapter03/patches.xml                      |   6 +-
 chapter04/aboutsbus.xml                    |   2 +-
 chapter04/addinguser.xml                   |  10 +-
 chapter04/settingenviron.xml               |   7 +-
 chapter05/glibc.xml                        | 117 ++++--
 chapter06/bash.xml                         |   3 +-
 chapter06/binutils-pass2.xml               |   2 +-
 chapter06/diffutils.xml                    |  28 ++
 chapter06/make.xml                         |  14 -
 chapter06/ncurses.xml                      |  29 +-
 chapter07/changingowner.xml                |   4 +-
 chapter07/createfiles.xml                  |   4 +-
 chapter08/acl.xml                          |  11 +-
 chapter08/bash.xml                         |   1 -
 chapter08/binutils.xml                     |  33 +-
 chapter08/bison.xml                        |   2 +-
 chapter08/chapter08.xml                    |   4 +-
 chapter08/check.xml                        | 109 ------
 chapter08/coreutils.xml                    |  29 +-
 chapter08/dbus.xml                         |  56 +--
 chapter08/e2fsprogs.xml                    |   9 +-
 chapter08/flex.xml                         |   2 +-
 chapter08/flit-core.xml                    |   4 +-
 chapter08/gawk.xml                         |   3 +-
 chapter08/gcc.xml                          |  34 +-
 chapter08/gettext.xml                      |  11 +-
 chapter08/glibc.xml                        |  27 +-
 chapter08/gperf.xml                        |   6 +-
 chapter08/grub.xml                         |   5 +-
 chapter08/inetutils.xml                    |   2 +-
 chapter08/iproute2.xml                     |   5 +-
 chapter08/jinja2.xml                       |   4 +-
 chapter08/kmod.xml                         |  52 +--
 chapter08/libffi.xml                       |   7 +-
 chapter08/libtool.xml                      |  10 +-
 chapter08/man-pages.xml                    |  27 +-
 chapter08/markupsafe.xml                   |   2 +-
 chapter08/ninja.xml                        |  14 +-
 chapter08/packaging.xml                    |  75 ++++
 chapter08/perl.xml                         |   7 +-
 chapter08/pkgmgt.xml                       |  33 +-
 chapter08/procps.xml                       |  19 +-
 chapter08/python.xml                       |  17 +-
 chapter08/readline.xml                     |   6 +-
 chapter08/setuptools.xml                   |   2 +-
 chapter08/shadow.xml                       |  37 +-
 chapter08/stripping.xml                    |  19 +-
 chapter08/sysklogd.xml                     |   4 +-
 chapter08/systemd.xml                      |  11 +-
 chapter08/tcl.xml                          |   4 +-
 chapter08/udev.xml                         |  10 +-
 chapter08/util-linux.xml                   |   5 +
 chapter08/vim.xml                          |   6 +-
 chapter08/wheel.xml                        |   2 +-
 chapter09/network.xml                      |   6 +-
 chapter10/fstab.xml                        |   4 +-
 chapter10/grub.xml                         |   9 +
 chapter10/kernel.xml                       | 100 ++++-
 chapter10/kernel/kernel.version            |   2 +-
 chapter10/kernel/systemd.toml              |  16 +-
 chapter10/kernel/systemd.xml               |  14 +-
 chapter10/kernel/sysv.toml                 |  16 +-
 chapter10/kernel/sysv.xml                  |  15 +-
 chapter11/afterlfs.xml                     |   2 +-
 chapter11/theend.xml                       |   1 +
 gen-changelog.py                           |   2 +-
 general.ent                                |  21 +-
 lfs-latest-git.php                         |  41 +-
 packages.ent                               | 521 +++++++++++++------------
 part3intro/toolchaintechnotes.xml          | 194 +++++++---
 patches.ent                                |  13 +-
 prologue/standards.xml                     |  78 +++-
 stylesheets/lfs-xsl/chunk-master.xsl       |   8 +-
 stylesheets/lfs-xsl/pdf/lfs-mixed.xsl      |  10 +
 stylesheets/lfs-xsl/xhtml/lfs-mixed.xsl    |  10 +
 stylesheets/lfs-xsl/xhtml/lfs-sections.xsl |   2 +-
 83 files changed, 1434 insertions(+), 1543 deletions(-)

diff --cc chapter02/aboutlfs.xml
index 82c59188a,4eba82366..b065fcfb1
--- a/chapter02/aboutlfs.xml
+++ b/chapter02/aboutlfs.xml
@@@ -26,15 -28,24 +26,31 @@@
    <quote>/mnt/lfs</quote> (or whatever value the variable was set to) when it
    processes the command line.</para>
  
 +  <para>Create the directory:</para>
 +
 +<screen role="nodump"><userinput>mkdir -pv $LFS</userinput></screen>
 +
 +  <para>If you don't have much space in the partition holding the directory,
 +  you can mount another partition on it.</para>
 +
+   <para>Now set the file mode creation mask (umask) to
+   <literal>022</literal> in case the host distro uses a different
+   default:</para>
+ 
+ <screen role="nodump"><userinput>umask 022</userinput></screen>
+ 
+   <para>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 <ulink role='man' url='&man;open.2'>open(2)</ulink> 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.</para>
+ 
    <caution>
-   <para>Do not forget to check that <envar>LFS</envar> is set whenever
+   <para>Do not forget to check that <envar>LFS</envar> is set and the
+   umask is set to <literal>022</literal> whenever
    you leave and reenter the current working environment (such as when doing a
    <command>su</command> to <systemitem class="username">root</systemitem> or
    another user). Check that the <envar>LFS</envar> variable is set up
diff --cc chapter04/addinguser.xml
index 0200338bf,4b4ec7fd5..bd4a71b1b
--- a/chapter04/addinguser.xml
+++ b/chapter04/addinguser.xml
@@@ -80,7 -80,10 +80,7 @@@ useradd -s /bin/bash -g &lfs-groupname
    all the directories under <filename class="directory">$LFS</filename> by making
    <systemitem class="username">lfs</systemitem> the owner:</para>
  
- <screen><userinput>chown -v lfs $LFS/{usr{,/*},lib*,boot,var,etc,bin,sbin,tools}</userinput></screen>
 -<screen><userinput>chown -v &lfs-username; $LFS/{usr{,/*},var,etc,tools}
 -case $(uname -m) in
 -  x86_64) chown -v &lfs-username; $LFS/lib64 ;;
 -esac</userinput></screen>
++<screen><userinput>chown -v lfs $LFS/{usr{,/*},lib64,boot,var,etc,tools}</userinput></screen>
  
  <note><para>In some host systems, the following <command>su</command> command does not complete
    properly and suspends the login for the &lfs-user; user to the background.
diff --cc chapter05/glibc.xml
index 6e1db70e8,11d4cfce4..49291daa3
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@@ -92,8 -90,7 +92,7 @@@ cd       build</userinput></screen
        --prefix=/usr                      \
        --host=$LFS_TGT                    \
        --build=$(../scripts/config.guess) \
 -      --enable-kernel=&min-kernel;               \
 +      --enable-kernel=&linux-major-version;.&linux-minor-version;                \
-       --with-headers=$LFS/usr/include    \
        --disable-nscd                     \
        libc_cv_slibdir=/usr/lib</userinput></screen>
  
diff --cc chapter10/grub.xml
index bd6bcabbf,00be1d6c0..807097c62
--- a/chapter10/grub.xml
+++ b/chapter10/grub.xml
@@@ -120,9 -135,10 +120,10 @@@ set timeout=
  insmod part_gpt
  insmod ext2
  set root=(hd0,2)
+ set gfxpayload=1024x768x32
  
  menuentry "GNU/Linux, Linux &linux-version;-lfs-&version;" {
 -        linux   /boot/vmlinuz-&linux-version;-lfs-&version; root=/dev/sda2 ro
 +        linux   /vmlinuz-&linux-version;-lfs-&version; root=/dev/sda3 ro
  }</literal>
  EOF</userinput></screen>
  
diff --cc packages.ent
index af6b77d74,38982675a..23676107a
--- a/packages.ent
+++ b/packages.ent
@@@ -306,13 -298,11 +298,13 @@@
  <!ENTITY grub-home "&gnu-software;grub/">
  <!ENTITY grub-fin-du "166 MB">
  <!ENTITY grub-fin-sbu "0.3 SBU">
 +<!ENTITY grub-tmp-du "161 MB">
 +<!ENTITY grub-tmp-sbu "0.3 SBU">
  
- <!ENTITY gzip-version "1.13">
- <!ENTITY gzip-size "819 KB">
+ <!ENTITY gzip-version "1.14">
+ <!ENTITY gzip-size "865 KB">
  <!ENTITY gzip-url "&gnu;gzip/gzip-&gzip-version;.tar.xz">
- <!ENTITY gzip-md5 "d5c9fc9441288817a4a0be2da0249e29">
+ <!ENTITY gzip-md5 "4bf5a10f287501ee8e8ebe00ef62b2c2">
  <!ENTITY gzip-home "&gnu-software;gzip/">
  <!ENTITY gzip-tmp-du "11 MB">
  <!ENTITY gzip-tmp-sbu "0.1 SBU">
@@@ -350,13 -340,11 +342,13 @@@
  <!ENTITY iproute2-home "&kernel;linux/utils/net/iproute2/">
  <!ENTITY iproute2-fin-du "17 MB">
  <!ENTITY iproute2-fin-sbu "0.1 SBU">
 +<!ENTITY iproute2-tmp-du "15 MB">
 +<!ENTITY iproute2-tmp-sbu "less than 0.1 SBU">
  
- <!ENTITY jinja2-version "3.1.4">
- <!ENTITY jinja2-size "235 KB">
+ <!ENTITY jinja2-version "3.1.6">
+ <!ENTITY jinja2-size "240 KB">
  <!ENTITY jinja2-url "&pypi-src;/J/Jinja2/jinja2-&jinja2-version;.tar.gz">
- <!ENTITY jinja2-md5 "02ca9a6364c92e83d14b037bef4732bc">
+ <!ENTITY jinja2-md5 "66d4c25ff43d1deaf9637ccda523dec8">
  <!ENTITY jinja2-home "https://jinja.palletsprojects.com/en/3.1.x/">
  <!ENTITY jinja2-fin-du "2.5 MB">
  <!ENTITY jinja2-fin-sbu "less than 0.1 SBU">
@@@ -741,25 -730,24 +738,27 @@@
  <!ENTITY udev-lfs-url     "&anduin-sources;/&udev-lfs-version;.tar.xz">
  <!ENTITY udev-lfs-md5     "acd4360d8a5c3ef320b9db88d275dae6">
  <!ENTITY udev-lfs-home    " ">
+ <!ENTITY udev-fin-du "161 MB">
+ <!ENTITY udev-fin-sbu "0.3 SBU">
  
- <!ENTITY util-linux-minor "2.40">
- <!ENTITY util-linux-version "2.40.2"> <!-- 2.33.x -->
- <!ENTITY util-linux-size "8,648 KB">
+ <!ENTITY util-linux-minor "2.41">
+ <!ENTITY util-linux-version "2.41"> <!-- 2.33.x -->
+ <!ENTITY util-linux-size "9,313 KB">
  <!ENTITY util-linux-url "&kernel;linux/utils/util-linux/v&util-linux-minor;/util-linux-&util-linux-version;.tar.xz">
- <!ENTITY util-linux-md5 "88faefc8fefced097e58142077a3d14e">
+ <!ENTITY util-linux-md5 "e666a34b03554c18a1073347b16661ce">
  <!ENTITY util-linux-home "https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/">
- <!ENTITY util-linux-tmp-du "180 MB">
+ <!ENTITY util-linux-tmp-du "182 MB">
  <!ENTITY util-linux-tmp-sbu "0.2 SBU">
- <!ENTITY util-linux-fin-du "315 MB">
+ <!ENTITY util-linux-fin-du "316 MB">
  <!ENTITY util-linux-fin-sbu "0.5 SBU">
  
 +<!ENTITY mount-setsid-du "85 MB">
 +<!ENTITY mount-setsid-sbu "less than 0.1 SBU">
 +
- <!ENTITY vim-version "9.1.0660">
+ <!ENTITY vim-version "9.1.1263">
  <!-- <!ENTITY vim-majmin "90"> -->
  <!ENTITY vim-docdir "vim/vim91">
- <!ENTITY vim-size "17,629 KB">
+ <!ENTITY vim-size "18,260 KB">
  <!ENTITY vim-url "https://github.com/vim/vim/archive/v&vim-version;/vim-&vim-version;.tar.gz">
  <!-- N.B. LFS 9.0 uses
       https://github.com/vim/vim/archive/v8.1.1846/vim-8.1.1846.tar.gz

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.