Changeset 328eb6f for chapter07


Ignore:
Timestamp:
02/27/2024 03:52:31 PM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
e4e7ffb
Parents:
648f145 (diff), 23f4367 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/arm64

Location:
chapter07
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter07/creatingdirs.xml

    r648f145 r328eb6f  
    5555  class="directory">/var/tmp</filename> directories, but cannot remove
    5656  another user's files from them. The latter is prohibited by the so-called
    57   <quote>sticky bit</quote>, the highest bit (1) in the 1777 bit mask.</para>
     57  <quote>sticky bit,</quote> the highest bit (1) in the 1777 bit mask.</para>
    5858
    5959  <sect2>
  • chapter07/kernfs.xml

    r648f145 r328eb6f  
    6464      <para>Now mount the remaining virtual kernel file systems:</para>
    6565
    66 <screen><userinput>mount -v --bind /dev/pts $LFS/dev/pts
     66      <!-- Do not put any option after $LFS/${mountpoint} or jhalfs cannot
     67           handle it! -->
     68
     69<screen><userinput>mount -vt devpts devpts -o gid=5,mode=0620 $LFS/dev/pts
    6770mount -vt proc proc $LFS/proc
    6871mount -vt sysfs sysfs $LFS/sys
    6972mount -vt tmpfs tmpfs $LFS/run</userinput></screen>
    70 <!--
     73
    7174    <variablelist>
    7275      <title>The meaning of the mount options for devpts:</title>
     
    9699
    97100    </variablelist>
    98 -->
     101
    99102      <para>In some host systems, <filename>/dev/shm</filename> is a
    100       symbolic link to <filename class="directory">/run/shm</filename>.
     103      symbolic link to a directory, typically
     104      <filename class="directory">/run/shm</filename>.
    101105      The /run tmpfs was mounted above so in this case only a
    102       directory needs to be created.</para>
     106      directory needs to be created with the correct permissions.</para>
    103107
    104108      <para>In other host systems <filename>/dev/shm</filename> is a mount point
     
    108112
    109113<screen><userinput>if [ -h $LFS/dev/shm ]; then
    110   (cd $LFS/dev; mkdir $(readlink shm))
     114  install -v -d -m 1777 $LFS$(realpath /dev/shm)
    111115else
    112116  mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
  • chapter07/python.xml

    r648f145 r328eb6f  
    4545
    4646    <note>
    47       <para>There are two package files whose name starts with
    48       <quote>python</quote>. The one to extract from is
     47      <para>There are two package files whose name starts with the
     48      <quote>python</quote> prefix. The one to extract from is
    4949      <filename>Python-&python-version;.tar.xz</filename> (notice the
    5050      uppercase first letter).</para>
     
    8484      <para>
    8585        Some Python 3 modules can't be built now because the dependencies
    86         are not installed yet. The building system still attempts to build
    87         them however, so the compilation of some files will fail and the
    88         compiler message may seem to indicate <quote>fatal error</quote>.
     86        are not installed yet. For the <filename>ssl</filename> module,
     87        a message <computeroutput>Python requires a OpenSSL 1.1.1 or
     88        newer</computeroutput> is outputted.
    8989        The message should be ignored.  Just make sure the toplevel
    9090        <command>make</command> command has not failed.  The optional
Note: See TracChangeset for help on using the changeset viewer.