Changeset 73d91ac for chapter07


Ignore:
Timestamp:
12/05/2023 05:12:55 AM (7 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
00de269
Parents:
6b6a1b9 (diff), dc8572f (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:
4 edited

Legend:

Unmodified
Added
Removed
  • chapter07/chroot.xml

    r6b6a1b9 r73d91ac  
    2424    PS1='(lfs chroot) \u:\w\$ ' \
    2525    PATH=/usr/bin:/usr/sbin     \
     26    MAKEFLAGS="-j<replaceable>$(nproc)</replaceable>"      \
     27    TESTSUITEFLAGS="-j<replaceable>$(nproc)</replaceable>" \
    2628    /bin/bash --login</userinput></screen>
     29
     30  <para>
     31    If you don't want to use all available logical cores, replace
     32    <replaceable>$(nproc)</replaceable> with the number of logical cores you
     33    want to use for building packages in this chapter and the following
     34    chapters.  The test suites of some packages (notably Autoconf, Libtool,
     35    and Tar) in &ch-final; are not affected by <envar>MAKEFLAGS</envar>, they
     36    use a <envar>TESTSUITEFLAGS</envar> environment variable instead. We
     37    set that here as well for running these test suites with multiple cores.
     38  </para>
    2739
    2840  <para>The <parameter>-i</parameter> option given to the <command>env</command>
     
    4860  used.</para>
    4961
    50   <para>Note that the <command>bash</command> prompt will say
     62  <para>Also note that the <command>bash</command> prompt will say
    5163  <computeroutput>I have no name!</computeroutput> This is normal because the
    5264  <filename>/etc/passwd</filename> file has not been created yet.</para>
  • chapter07/createfiles.xml

    r6b6a1b9 r73d91ac  
    216216  the bad login attempts.</para>
    217217
    218   <note><para>The <filename>/run/utmp</filename> file records the users that
    219   are currently logged in.  This file is created dynamically in the boot
    220   scripts.</para></note>
     218  <!-- systemd no longer creates this -->
     219  <note revision='sysv'><para>The <filename>/run/utmp</filename> file
     220  records the users that are currently logged in.  This file is created
     221  dynamically in the boot scripts.</para></note>
     222
     223  <!-- AFAIK they are not vital for system function, users requiring such
     224       info should rely on systemd-logind or elogind or some custom PAM
     225       module.  Maybe we can stop to create them at all.  -->
     226  <note>
     227    <para>
     228      The <phrase revision='sysv'><filename>utmp</filename>,
     229      </phrase><filename>wtmp</filename>, <filename>btmp</filename>, and
     230      <filename>lastlog</filename> files use 32-bit integers for timestamps
     231      and they'll be fundamentally broken after year 2038.  Many packages
     232      have stopped using them and other packages are going to stop using
     233      them.  It is probably best to consider them deprecated.
     234    </para>
     235  </note>
    221236
    222237</sect1>
  • chapter07/kernfs.xml

    r6b6a1b9 r73d91ac  
    108108
    109109<screen><userinput>if [ -h $LFS/dev/shm ]; then
    110   mkdir -pv $LFS/$(readlink $LFS/dev/shm)
     110  (cd $LFS/dev; mkdir $(readlink shm))
    111111else
    112   mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
     112  mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm
    113113fi</userinput></screen>
    114114
  • chapter07/perl.xml

    r6b6a1b9 r73d91ac  
    5858
    5959    <variablelist>
    60       <title>The meaning of the new Configure options:</title>
     60      <title>The meaning of the Configure options:</title>
     61
    6162      <varlistentry>
    6263        <term><parameter>-des</parameter></term>
     
    6566          all items; -e ensures completion of all tasks; -s silences
    6667          non-essential output.</para>
     68        </listitem>
     69      </varlistentry>
     70
     71      <varlistentry>
     72        <term><parameter>-Dvendorprefix=/usr</parameter></term>
     73        <listitem>
     74          <para>This ensures <command>perl</command> knows how to
     75          tell packages where they should install their Perl modules.</para>
     76        </listitem>
     77      </varlistentry>
     78
     79      <varlistentry>
     80        <term><parameter>-Duseshrplib</parameter></term>
     81        <listitem>
     82          <para>Build <systemitem class='library'>libperl</systemitem>
     83          needed by some Perl modules as a shared library, instead of
     84          a static library.</para>
     85        </listitem>
     86      </varlistentry>
     87
     88      <varlistentry>
     89        <term><parameter>-Dprivlib,-Darchlib,-Dsitelib,...</parameter></term>
     90        <listitem>
     91          <para>These settings define where Perl looks for installed
     92          modules. The LFS editors chose to put them in a directory structure
     93          based on the MAJOR.MINOR version of Perl (&perl-version-min;) which
     94          allows upgrading Perl to newer patch levels (the patch level is
     95          the last dot separated part in the full version string like
     96          &perl-version;) without reinstalling all of the modules.</para>
    6797        </listitem>
    6898      </varlistentry>
Note: See TracChangeset for help on using the changeset viewer.