[lfs] 01/01: Merge at Thu Jan 2 23:45:01 GMT 2025

"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 multilib
in repository lfs.

commit 159f0d8a7d209c15a27a854ff337766e3200a2be
Merge: 1dde883c6 6528f7572
Author: Thomas Trepl <[email protected]>
AuthorDate: Thu Jan 2 23:45:01 2025 +0000

    Merge at Thu Jan  2 23:45:01 GMT 2025

 chapter01/changelog.xml     |  4 ++--
 chapter04/addinguser.xml    | 12 ++++++------
 chapter07/changingowner.xml |  4 ++--
 general.ent                 |  2 ++
 packages.ent                |  6 +++---
 5 files changed, 15 insertions(+), 13 deletions(-)

diff --cc chapter04/addinguser.xml
index 3f4d07645,e1d130b95..1a2068680
--- a/chapter04/addinguser.xml
+++ b/chapter04/addinguser.xml
@@@ -80,13 -80,10 +80,13 @@@ 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,var,etc,bin,sbin,tools}
+ <screen><userinput>chown -v &lfs-username; $LFS/{usr{,/*},lib,var,etc,bin,sbin,tools}
  case $(uname -m) in
-   x86_64) chown -v lfs $LFS/lib64 ;;
+   x86_64) chown -v &lfs-username; $LFS/lib64 ;;
  esac</userinput></screen>
 +<screen arch="ml_32"  ><userinput>chown -v lfs $LFS/lib32</userinput></screen>
 +<screen arch="ml_x32" ><userinput>chown -v lfs $LFS/libx32</userinput></screen>
 +<screen arch="ml_all" ><userinput>chown -v lfs $LFS/{lib32,libx32}</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 chapter07/changingowner.xml
index 38f9d9db1,178c7836e..838532025
--- a/chapter07/changingowner.xml
+++ b/chapter07/changingowner.xml
@@@ -33,14 -33,9 +33,14 @@@
    user <systemitem class="username">root</systemitem> by running the following
    command:</para>
  
- <screen><userinput>chown --from lfs -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}
+ <screen><userinput>chown --from &lfs-username; -R root:root $LFS/{usr,lib,var,etc,bin,sbin,tools}
  case $(uname -m) in
-   x86_64) chown --from lfs -R root:root $LFS/lib64 ;;
+   x86_64) chown --from &lfs-username; -R root:root $LFS/lib64 ;;
  esac</userinput></screen>
  
 +  <para arch="ml_32,ml_x32,ml_all">Some more directories exists for
 +  multilib support. Change their ownership, too:</para>
 +<screen arch="ml_32,ml_x32,ml_all"><userinput arch="ml_32,ml_all">chown -R root:root $LFS/lib32</userinput>
 +<userinput arch="ml_x32,ml_all">chown -R root:root $LFS/libx32</userinput></screen>
 +  
  </sect1>

-- 
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.