Changeset dfe9593


Ignore:
Timestamp:
11/22/2022 04:28:19 PM (2 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
a747ea2
Parents:
1ace465 (diff), 1dd37a1 (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

Files:
11 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r1ace465 rdfe9593  
    4040    appropriate for the entry or if needed the entire day's listitem.
    4141    -->
    42     <listitem revision="systemd">
     42    <listitem>
     43      <para>2022-11-22</para>
     44      <itemizedlist>
     45        <listitem>
     46          <para>[xry111] - Update to linux-6.0.9. Fixes
     47          <ulink url="&lfs-ticket-root;5162">#5162</ulink>.</para>
     48        </listitem>
     49        <listitem>
     50          <para>[xry111] - Update to libpipeline-1.5.7. Fixes
     51          <ulink url="&lfs-ticket-root;5163">#5163</ulink>.</para>
     52        </listitem>
     53        <listitem>
     54          <para>[xry111] - Update to xz-5.2.8. Fixes
     55          <ulink url="&lfs-ticket-root;5164">#5164</ulink>.</para>
     56        </listitem>
     57        <listitem>
     58          <para>[xry111] - Update to man-db-2.11.1. Fixes
     59          <ulink url="&lfs-ticket-root;5166">#5166</ulink>.</para>
     60        </listitem>
     61        <listitem>
     62          <para>[xry111] - Update to mpfr-4.1.1. Fixes
     63          <ulink url="&lfs-ticket-root;5167">#5167</ulink>.</para>
     64        </listitem>
     65        <listitem>
     66          <para>[xry111] - Stop disabling decimal float for temporary GCC,
     67          so mpfr will be built with decimal float support.</para>
     68        </listitem>
     69        <listitem>
     70          <para>[xry111] - Update instruction for wheel to avoid relying on
     71          deprecated Python features.</para>
     72        </listitem>
     73      </itemizedlist>
     74    </listitem>
     75
     76    <listitem>
    4377      <para>2022-11-10</para>
    4478      <itemizedlist>
  • chapter05/gcc-pass1.xml

    r1ace465 rdfe9593  
    8989    --disable-shared          \
    9090    --disable-multilib        \
    91     --disable-decimal-float   \
    9291    --disable-threads         \
    9392    --disable-libatomic       \
  • chapter06/gcc-pass2.xml

    r1ace465 rdfe9593  
    9191    --disable-nls                                  \
    9292    --disable-multilib                             \
    93     --disable-decimal-float                        \
    9493    --disable-libatomic                            \
    9594    --disable-libgomp                              \
  • chapter08/acl.xml

    r1ace465 rdfe9593  
    2525
    2626    <para>The Acl package contains utilities to administer Access Control Lists,
    27     which are used to define more fine-grained discretionary access rights for
     27    which are used to define fine-grained discretionary access rights for
    2828    files and directories.</para>
    2929
     
    5353<screen><userinput remap="make">make</userinput></screen>
    5454
    55     <para>The Acl tests need to be run on a filesystem that supports access
    56     controls after <application>Coreutils</application> has been built with the
    57     Acl libraries.  If desired, return to this package and run <command>make
    58     check</command> after <application>Coreutils</application> has been built
    59     later in this chapter.</para>
     55    <para>The Acl tests must be run on a filesystem that supports access
     56    controls, but not until the <application>Coreutils</application> package has been built,
     57    using the <application>Acl</application> libraries.  If desired, return to this package
     58    and run <command>make check</command> after the <application>Coreutils</application>
     59    package has been built.</para>
    6060
    6161    <para>Install the package:</para>
  • chapter08/attr.xml

    r1ace465 rdfe9593  
    2424    <title/>
    2525
    26     <para>The attr package contains utilities to administer the extended
    27     attributes on filesystem objects.</para>
     26    <para>The Attr package contains utilities to administer the extended
     27    attributes of filesystem objects.</para>
    2828
    2929    <segmentedlist>
     
    5353<screen><userinput remap="make">make</userinput></screen>
    5454
    55     <para>The tests need to be run on a filesystem that supports extended
     55    <para>The tests must be run on a filesystem that supports extended
    5656    attributes such as the ext2, ext3, or ext4 filesystems.
    5757    To test the results, issue:</para>
  • chapter08/coreutils.xml

    r1ace465 rdfe9593  
    129129<screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen>
    130130
    131 <!-- test-getlogin is now skipped
    132     <para>The test-getlogin test is known to fail in the LFS chroot environment.</para>
    133 -->
    134 <!-- should be fixed at next release, coreutils-9.2 -->
    135     <para>The sort-NaN-infloop test is known to fail with GCC-12.</para>
     131<!-- Sometimes skipped, but if not it may fail.
     132     Please DO NOT remove or comment out this unless we can fully
     133     understand it!  -->
     134    <para>The test-getlogin test may fail in the LFS chroot environment.</para>
    136135
    137136    <para>Remove the temporary group:</para>
  • chapter08/libcap.xml

    r1ace465 rdfe9593  
    2424    <title/>
    2525
    26     <para>The Libcap package implements the user-space interfaces to the POSIX
    27     1003.1e capabilities available in Linux kernels. These capabilities are a
    28     partitioning of the all powerful root privilege into a set of distinct
     26    <para>The Libcap package implements the user-space interface to the POSIX
     27    1003.1e capabilities available in Linux kernels. These capabilities
     28    partition the all-powerful root privilege into a set of distinct
    2929    privileges.</para>
    3030
     
    116116        <term><command>getpcaps</command></term>
    117117        <listitem>
    118           <para>Displays the capabilities on the queried process(es)</para>
     118          <para>Displays the capabilities of the queried process(es)</para>
    119119          <indexterm zone="ch-system-libcap getpcaps">
    120120            <primary sortas="b-getpcaps">getpcaps</primary>
  • chapter08/mpfr.xml

    r1ace465 rdfe9593  
    5959    </important>
    6060
    61     <para>Test the results and ensure that all tests passed:</para>
     61    <para>Test the results and ensure that all 183 tests passed:</para>
    6262
    6363<screen><userinput remap="test">make check</userinput></screen>
  • chapter08/shadow.xml

    r1ace465 rdfe9593  
    6767    for user mailboxes that Shadow uses by default to the <filename
    6868    class="directory">/var/mail</filename> location used currently. And,
    69     get rid of <filename class="directory">/bin</filename> and
    70     <filename class="directory">/sbin</filename> from <envar>PATH</envar>,
    71     since they are simply symlinks to their counterpart in
     69    remove <filename class="directory">/bin</filename> and
     70    <filename class="directory">/sbin</filename> from the <envar>PATH</envar>,
     71    since they are simply symlinks to their counterparts in
    7272    <filename class="directory">/usr</filename>.</para>
    7373
    7474    <note>
    75       <para>If <filename class="directory">/bin</filename> and/or
    76       <filename class="directory">/sbin</filename> are preferred to be
    77       left over in <envar>PATH</envar> for some reason, modify
    78       <envar>PATH</envar> in <filename>.bashrc</filename> after LFS is
     75      <para>If you wish to include <filename class="directory">/bin</filename>
     76      and/or <filename class="directory">/sbin</filename> in the <envar>PATH</envar>
     77      for some reason, modify the
     78      <envar>PATH</envar> in <filename>.bashrc</filename> after LFS has been
    7979      built.</para>
    8080    </note>
     
    8686
    8787    <note>
    88       <para>If you chose to build Shadow with Cracklib support, run the following:</para>
     88      <para>If you chose to build Shadow with Cracklib support, issue this command:</para>
    8989
    9090<screen role="nodump"><userinput>sed -i 's:DICTPATH.*:DICTPATH\t/lib/cracklib/pw_dict:' etc/login.defs</userinput></screen>
     
    109109
    110110    <variablelist>
    111       <title>The meaning of the configure option:</title>
     111      <title>The meaning of the new configuration options:</title>
    112112
    113113      <varlistentry>
     
    115115        <listitem>
    116116          <para>The file <filename>/usr/bin/passwd</filename> needs
    117           to exist because its location is hardcoded in some programs, and
    118           if it does not exist, the default location is not right.</para>
     117          to exist because its location is hardcoded in some programs;
     118          if it does not already exist, the installation script will
     119          create it in the wrong place.</para>
    119120        </listitem>
    120121      </varlistentry>
     
    122123        <term><parameter>--with-group-name-max-length=32</parameter></term>
    123124        <listitem>
    124           <para>The maximum user name is 32 characters.  Make the maximum
    125           group name the same.</para>
     125          <para>The longest permissible user name is 32 characters.  Make the maximum
     126          length of a group name the same.</para>
    126127        </listitem>
    127128      </varlistentry>
     
    154155    tasks. For a full explanation of what <emphasis>password shadowing</emphasis>
    155156    means, see the <filename>doc/HOWTO</filename> file within the unpacked
    156     source tree. If using Shadow support, keep in mind that programs which need
     157    source tree. If you use Shadow support, keep in mind that programs which need
    157158    to verify passwords (display managers, FTP programs, pop3 daemons, etc.)
    158     must be Shadow-compliant. That is, they need to be able to work with
     159    must be Shadow-compliant. That is, they must be able to work with
    159160    shadowed passwords.</para>
    160161
     
    168169
    169170    <para>Shadow's default configuration for the <command>useradd</command>
    170     utility has a few caveats that need some explanation. First, the default
     171    utility needs some explanation. First, the default
    171172    action for the <command>useradd</command> utility is to create the user and
    172     a group of the same name as the user. By default the user ID (UID) and
    173     group ID (GID) numbers will begin with 1000. This means if you don't pass
    174     parameters to <command>useradd</command>, each user will be a member of a
     173    a group with the same name as the user. By default the user ID (UID) and
     174    group ID (GID) numbers will begin at 1000. This means if you don't pass
     175    extra parameters to <command>useradd</command>, each user will be a member of a
    175176    unique group on the system. If this behavior is undesirable, you'll need
    176     to pass one of the <parameter>-g</parameter> or <parameter>-N</parameter>
    177     parameter to <command>useradd</command> or to change the setting of
     177    to pass either the <parameter>-g</parameter> or <parameter>-N</parameter>
     178    parameter to <command>useradd</command>, or else change the setting of
    178179    <parameter>USERGROUPS_ENAB</parameter> in
    179180    <filename>/etc/login.defs</filename>. See <filename>useradd(8)</filename>
     
    181182
    182183    <para>Second, to change the default parameters, the file
    183     <filename>/etc/default/useradd</filename> needs to be created and tailored
     184    <filename>/etc/default/useradd</filename> must be created and tailored
    184185    to suit your particular needs. Create it with:</para>
    185186
     
    188189
    189190    <variablelist>
    190       <title><filename>/etc/default/useradd</filename> Parameter Explanations</title>
     191      <title><filename>/etc/default/useradd</filename> parameter explanations</title>
    191192
    192193      <varlistentry>
     
    195196          <para>This parameter sets the beginning of the group numbers used in
    196197          the <filename>/etc/group</filename> file. The particular value 999
    197           comes from the <parameter>--gid</parameter> parameter above.  You can
    198           modify it to anything you desire.
     198          comes from the <parameter>--gid</parameter> parameter above.  You
     199          may set it to any desired value.
    199200
    200201          Note that <command>useradd</command> will never reuse a UID or GID.
    201202          If the number identified in this parameter is used, it will use the
    202203          next available number. Note also that if you don't have a group with
    203           an ID equal to this number on your system the first time you use
     204          an ID equal to this number on your system, then the first time you use
    204205          <command>useradd</command> without the <parameter>-g</parameter>
    205           parameter, you will get a message displayed on the terminal that
    206           says: <computeroutput>useradd: unknown GID 999</computeroutput>,
    207           although the account is correctly created. That is why we have
     206          parameter, an error message will be generated&mdash;<computeroutput>useradd:
     207          unknown GID 999</computeroutput>,
     208          even though the account has been created correctly. That is why we
    208209          created the group <systemitem class="groupname">users</systemitem>
    209210          with this group ID in <xref linkend='ch-tools-createfiles'/>.</para>
     
    215216        <listitem>
    216217          <para>This parameter causes <command>useradd</command> to create a
    217           mailbox file for the newly created user. <command>useradd</command>
    218           will make the group ownership of this file to the
     218          mailbox file for each new user. <command>useradd</command>
     219          will assign the group ownership of this file to the
    219220          <systemitem class="groupname">mail</systemitem> group with 0660
    220           permissions. If you would prefer that these mailbox files are not
    221           created by <command>useradd</command>, issue the following
    222           command:</para>
     221          permissions. If you would rather not create these files,
     222          issue the following command:</para>
    223223
    224224<screen><userinput>sed -i '/MAIL/s/yes/no/' /etc/default/useradd</userinput></screen>
     
    231231
    232232  <sect2 role="configuration">
    233     <title>Setting the root password</title>
     233    <title>Setting the Root Password</title>
    234234
    235235    <para>Choose a password for user <emphasis>root</emphasis> and set it
     
    330330        <listitem>
    331331          <para>Is used to examine the log of login failures, to set a maximum
    332           number of failures before an account is blocked, or to reset the
     332          number of failures before an account is blocked, and to reset the
    333333          failure count</para>
    334334          <indexterm zone="ch-system-shadow faillog">
     
    510510        <term><command>nologin</command></term>
    511511        <listitem>
    512           <para>Displays a message that an account is not available; it is designed
    513           to be used as the default shell for accounts that have been
    514           disabled</para>
     512          <para>Displays a message saying an account is not available; it is designed
     513          to be used as the default shell for disabled accounts</para>
    515514          <indexterm zone="ch-system-shadow nologin">
    516515            <primary sortas="b-nologin">nologin</primary>
     
    598597        <term><command>userdel</command></term>
    599598        <listitem>
    600           <para>Deletes the given user account</para>
     599          <para>Deletes the specified user account</para>
    601600          <indexterm zone="ch-system-shadow userdel">
    602601            <primary sortas="b-userdel">userdel</primary>
     
    608607        <term><command>usermod</command></term>
    609608        <listitem>
    610           <para>Is used to modify the given user's login name, User
    611           Identification (UID), shell, initial group, home directory, etc.</para>
     609          <para>Is used to modify the given user's login name, user
     610          identification (UID), shell, initial group, home directory, etc.</para>
    612611          <indexterm zone="ch-system-shadow usermod">
    613612            <primary sortas="b-usermod">usermod</primary>
     
    641640        <term><filename class='libraryfile'>libsubid</filename></term>
    642641        <listitem>
    643           <para>library for process subordinate id ranges for users</para>
     642          <para>library for processing subordinate id ranges for users</para>
    644643          <indexterm zone="ch-system-shadow libsubid">
    645644            <primary sortas="c-libsubid">libsubid</primary>
  • chapter08/wheel.xml

    r1ace465 rdfe9593  
    4141    <title>Installation of Wheel</title>
    4242
     43    <para>Compile wheel with the following command:</para>
     44
     45<screen><userinput remap="make">PYTHONPATH=src pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
     46
    4347    <para>Install wheel with the following command:</para>
    4448
    45 <screen><userinput remap="install">pip3 install --no-index $PWD</userinput></screen>
     49<screen><userinput remap="install">pip3 install --no-index --find-links=dist wheel</userinput></screen>
    4650
    4751    <variablelist>
    48       <title>The meaning of the pip3 options:</title>
     52      <title>The meaning of the pip3 commands:</title>
     53
     54      <varlistentry>
     55        <term><envar>PYTHONPATH=src</envar></term>
     56        <listitem>
     57           <para>Allow using this package (not installed yet) to build a
     58           wheel archive for itself, to avoid a chicken-or-egg problem.</para>
     59        </listitem>
     60      </varlistentry>
     61
     62      <varlistentry>
     63        <term><command>wheel</command></term>
     64        <listitem>
     65           <para>Build wheel archive for this package.</para>
     66        </listitem>
     67      </varlistentry>
     68
     69      <varlistentry>
     70        <term><parameter>-w dist</parameter></term>
     71        <listitem>
     72           <para>Put the created wheels into the
     73           <filename class='directory'>dist</filename> directory.</para>
     74        </listitem>
     75      </varlistentry>
    4976
    5077      <varlistentry>
     
    5683
    5784      <varlistentry>
    58         <term><parameter>--no-index</parameter></term>
     85        <term><parameter>--no-build-isolation</parameter>,
     86              <parameter>--no-deps</parameter>, and
     87              <parameter>--no-index</parameter></term>
    5988        <listitem>
    6089          <para>Prevent pip from fetching files from the online package
    6190          repository (PyPI). If packages are installed in the correct order,
    62           then it won't need to fetch any files in the first place, but this
    63           option adds some safety in case of user error.</para>
     91          then it won't need to fetch any files in the first place, but these
     92          options add some safety in case of user error.</para>
    6493        </listitem>
    6594      </varlistentry>
    6695
    6796      <varlistentry>
    68         <term><parameter>$PWD</parameter></term>
     97        <term><parameter>--find-links dist</parameter></term>
    6998        <listitem>
    70            <para>Look for files to install in the current working directory.</para>
     99           <para>Search wheel archives from the
     100           <filename class='directory'>dist</filename> directory.</para>
    71101        </listitem>
    72102      </varlistentry>
    73 
    74103    </variablelist>
    75 
    76104  </sect2>
    77105
     
    87115        <seg>
    88116           /usr/lib/python&python-minor;/site-packages/wheel and
    89            /usr/lib/python&python-minor;/site-packages/wheel-0.37.1-py3.10.egg-info
     117           /usr/lib/python&python-minor;/site-packages/wheel-&wheel-version;.dist-info
    90118        </seg>
    91119      </seglistitem>
  • packages.ent

    r1ace465 rdfe9593  
    407407<!ENTITY libffi-fin-sbu "1.8 SBU">
    408408
    409 <!ENTITY libpipeline-version "1.5.6">
    410 <!ENTITY libpipeline-size "954 KB">
     409<!ENTITY libpipeline-version "1.5.7">
     410<!ENTITY libpipeline-size "956 KB">
    411411<!ENTITY libpipeline-url "&savannah;/releases/libpipeline/libpipeline-&libpipeline-version;.tar.gz">
    412 <!ENTITY libpipeline-md5 "829c9ba46382b0b3e12dd11fcbc1bb27">
     412<!ENTITY libpipeline-md5 "1a48b5771b9f6c790fb4efdb1ac71342">
    413413<!ENTITY libpipeline-home "https://libpipeline.nongnu.org/">
    414414<!ENTITY libpipeline-fin-du "10 MB">
     
    425425<!ENTITY linux-major-version "6">
    426426<!ENTITY linux-minor-version "0">
    427 <!ENTITY linux-patch-version "7">
     427<!ENTITY linux-patch-version "9">
    428428<!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">-->
    429429<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;">
    430 <!ENTITY linux-size "130,748 KB">
     430<!ENTITY linux-size "130,776 KB">
    431431<!ENTITY linux-url "&kernel;linux/kernel/v&linux-major-version;.x/linux-&linux-version;.tar.xz">
    432 <!ENTITY linux-md5 "690e3de421b693bf111ec74a97476ea7">
     432<!ENTITY linux-md5 "3de364bdbacd2115950cc3dd94157ab6">
    433433<!ENTITY linux-home "https://www.kernel.org/">
    434434<!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is
     
    464464<!ENTITY make-fin-sbu "0.5 SBU">
    465465
    466 <!ENTITY man-db-version "2.11.0">
    467 <!ENTITY man-db-size "1,879 KB">
     466<!ENTITY man-db-version "2.11.1">
     467<!ENTITY man-db-size "1,904 KB">
    468468<!ENTITY man-db-url "&savannah;/releases/man-db/man-db-&man-db-version;.tar.xz">
    469 <!ENTITY man-db-md5 "ad12e19d4f86d866a3858decf6989746">
     469<!ENTITY man-db-md5 "88caf8efe127453f9dcb2ff9b2983f59">
    470470<!ENTITY man-db-home "https://www.nongnu.org/man-db/">
    471471<!ENTITY man-db-fin-du "40 MB">
     
    504504<!ENTITY mpc-fin-sbu "0.3 SBU">
    505505
    506 <!ENTITY mpfr-version "4.1.0">
    507 <!ENTITY mpfr-size "1,490 KB">
     506<!ENTITY mpfr-version "4.1.1">
     507<!ENTITY mpfr-size "1,400 KB">
    508508<!ENTITY mpfr-url "https://ftp.gnu.org/gnu/mpfr/mpfr-&mpfr-version;.tar.xz">
    509 <!ENTITY mpfr-md5 "bdd3d5efba9c17da8d83a35ec552baef">
     509<!ENTITY mpfr-md5 "d182b62e811f744d149b14540d8e922b">
    510510<!ENTITY mpfr-home "https://www.mpfr.org/">
    511511<!ENTITY mpfr-fin-du "39 MB">
     
    745745<!ENTITY xml-parser-fin-sbu "less than 0.1 SBU">
    746746
    747 <!ENTITY xz-version "5.2.7">
    748 <!ENTITY xz-size "1,253 KB">
     747<!ENTITY xz-version "5.2.8">
     748<!ENTITY xz-size "1,260 KB">
    749749<!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz">
    750 <!ENTITY xz-md5 "6c130d21e260d4476e971985e7394e83">
     750<!ENTITY xz-md5 "7cfa6136d984083e7d4da12c8fb083ea">
    751751<!ENTITY xz-home "https://tukaani.org/xz">
    752752<!ENTITY xz-tmp-du "16 MB">
Note: See TracChangeset for help on using the changeset viewer.