Changeset dfe9593
- Timestamp:
- 11/22/2022 04:28:19 PM (17 months ago)
- Branches:
- xry111/arm64, xry111/arm64-12.0
- 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. - Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
r1ace465 rdfe9593 40 40 appropriate for the entry or if needed the entire day's listitem. 41 41 --> 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> 43 77 <para>2022-11-10</para> 44 78 <itemizedlist> -
chapter05/gcc-pass1.xml
r1ace465 rdfe9593 89 89 --disable-shared \ 90 90 --disable-multilib \ 91 --disable-decimal-float \92 91 --disable-threads \ 93 92 --disable-libatomic \ -
chapter06/gcc-pass2.xml
r1ace465 rdfe9593 91 91 --disable-nls \ 92 92 --disable-multilib \ 93 --disable-decimal-float \94 93 --disable-libatomic \ 95 94 --disable-libgomp \ -
chapter08/acl.xml
r1ace465 rdfe9593 25 25 26 26 <para>The Acl package contains utilities to administer Access Control Lists, 27 which are used to define morefine-grained discretionary access rights for27 which are used to define fine-grained discretionary access rights for 28 28 files and directories.</para> 29 29 … … 53 53 <screen><userinput remap="make">make</userinput></screen> 54 54 55 <para>The Acl tests need tobe run on a filesystem that supports access56 controls after <application>Coreutils</application> has been built with the57 Acl libraries. If desired, return to this package and run <command>make58 check</command> after <application>Coreutils</application> has been built59 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> 60 60 61 61 <para>Install the package:</para> -
chapter08/attr.xml
r1ace465 rdfe9593 24 24 <title/> 25 25 26 <para>The attr package contains utilities to administer the extended27 attributes o nfilesystem objects.</para>26 <para>The Attr package contains utilities to administer the extended 27 attributes of filesystem objects.</para> 28 28 29 29 <segmentedlist> … … 53 53 <screen><userinput remap="make">make</userinput></screen> 54 54 55 <para>The tests need tobe run on a filesystem that supports extended55 <para>The tests must be run on a filesystem that supports extended 56 56 attributes such as the ext2, ext3, or ext4 filesystems. 57 57 To test the results, issue:</para> -
chapter08/coreutils.xml
r1ace465 rdfe9593 129 129 <screen><userinput remap="test">su tester -c "PATH=$PATH make RUN_EXPENSIVE_TESTS=yes check"</userinput></screen> 130 130 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> 136 135 137 136 <para>Remove the temporary group:</para> -
chapter08/libcap.xml
r1ace465 rdfe9593 24 24 <title/> 25 25 26 <para>The Libcap package implements the user-space interface sto the POSIX27 1003.1e capabilities available in Linux kernels. These capabilities are a28 partition ing of the allpowerful root privilege into a set of distinct26 <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 29 29 privileges.</para> 30 30 … … 116 116 <term><command>getpcaps</command></term> 117 117 <listitem> 118 <para>Displays the capabilities o nthe queried process(es)</para>118 <para>Displays the capabilities of the queried process(es)</para> 119 119 <indexterm zone="ch-system-libcap getpcaps"> 120 120 <primary sortas="b-getpcaps">getpcaps</primary> -
chapter08/mpfr.xml
r1ace465 rdfe9593 59 59 </important> 60 60 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> 62 62 63 63 <screen><userinput remap="test">make check</userinput></screen> -
chapter08/shadow.xml
r1ace465 rdfe9593 67 67 for user mailboxes that Shadow uses by default to the <filename 68 68 class="directory">/var/mail</filename> location used currently. And, 69 get rid of<filename class="directory">/bin</filename> and70 <filename class="directory">/sbin</filename> from <envar>PATH</envar>,71 since they are simply symlinks to their counterpart in69 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 72 72 <filename class="directory">/usr</filename>.</para> 73 73 74 74 <note> 75 <para>If <filename class="directory">/bin</filename> and/or76 <filename class="directory">/sbin</filename> are preferred to be77 left over in <envar>PATH</envar> for some reason, modify78 <envar>PATH</envar> in <filename>.bashrc</filename> after LFS is75 <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 79 79 built.</para> 80 80 </note> … … 86 86 87 87 <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> 89 89 90 90 <screen role="nodump"><userinput>sed -i 's:DICTPATH.*:DICTPATH\t/lib/cracklib/pw_dict:' etc/login.defs</userinput></screen> … … 109 109 110 110 <variablelist> 111 <title>The meaning of the configure option:</title>111 <title>The meaning of the new configuration options:</title> 112 112 113 113 <varlistentry> … … 115 115 <listitem> 116 116 <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> 119 120 </listitem> 120 121 </varlistentry> … … 122 123 <term><parameter>--with-group-name-max-length=32</parameter></term> 123 124 <listitem> 124 <para>The maximumuser name is 32 characters. Make the maximum125 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> 126 127 </listitem> 127 128 </varlistentry> … … 154 155 tasks. For a full explanation of what <emphasis>password shadowing</emphasis> 155 156 means, see the <filename>doc/HOWTO</filename> file within the unpacked 156 source tree. If usingShadow support, keep in mind that programs which need157 source tree. If you use Shadow support, keep in mind that programs which need 157 158 to verify passwords (display managers, FTP programs, pop3 daemons, etc.) 158 must be Shadow-compliant. That is, they need tobe able to work with159 must be Shadow-compliant. That is, they must be able to work with 159 160 shadowed passwords.</para> 160 161 … … 168 169 169 170 <para>Shadow's default configuration for the <command>useradd</command> 170 utility has a few caveats that needsome explanation. First, the default171 utility needs some explanation. First, the default 171 172 action for the <command>useradd</command> utility is to create the user and 172 a group ofthe same name as the user. By default the user ID (UID) and173 group ID (GID) numbers will begin with1000. This means if you don't pass174 parameters to <command>useradd</command>, each user will be a member of a173 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 175 176 unique group on the system. If this behavior is undesirable, you'll need 176 to pass one ofthe <parameter>-g</parameter> or <parameter>-N</parameter>177 parameter to <command>useradd</command> or tochange the setting of177 to pass either the <parameter>-g</parameter> or <parameter>-N</parameter> 178 parameter to <command>useradd</command>, or else change the setting of 178 179 <parameter>USERGROUPS_ENAB</parameter> in 179 180 <filename>/etc/login.defs</filename>. See <filename>useradd(8)</filename> … … 181 182 182 183 <para>Second, to change the default parameters, the file 183 <filename>/etc/default/useradd</filename> needs tobe created and tailored184 <filename>/etc/default/useradd</filename> must be created and tailored 184 185 to suit your particular needs. Create it with:</para> 185 186 … … 188 189 189 190 <variablelist> 190 <title><filename>/etc/default/useradd</filename> Parameter Explanations</title>191 <title><filename>/etc/default/useradd</filename> parameter explanations</title> 191 192 192 193 <varlistentry> … … 195 196 <para>This parameter sets the beginning of the group numbers used in 196 197 the <filename>/etc/group</filename> file. The particular value 999 197 comes from the <parameter>--gid</parameter> parameter above. You can198 m odify it to anything you desire.198 comes from the <parameter>--gid</parameter> parameter above. You 199 may set it to any desired value. 199 200 200 201 Note that <command>useradd</command> will never reuse a UID or GID. 201 202 If the number identified in this parameter is used, it will use the 202 203 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 use204 an ID equal to this number on your system, then the first time you use 204 205 <command>useradd</command> without the <parameter>-g</parameter> 205 parameter, you will get a message displayed on the terminal that206 says: <computeroutput>useradd:unknown GID 999</computeroutput>,207 although the account is correctly created. That is why we have206 parameter, an error message will be generated—<computeroutput>useradd: 207 unknown GID 999</computeroutput>, 208 even though the account has been created correctly. That is why we 208 209 created the group <systemitem class="groupname">users</systemitem> 209 210 with this group ID in <xref linkend='ch-tools-createfiles'/>.</para> … … 215 216 <listitem> 216 217 <para>This parameter causes <command>useradd</command> to create a 217 mailbox file for the newly createduser. <command>useradd</command>218 will makethe group ownership of this file to the218 mailbox file for each new user. <command>useradd</command> 219 will assign the group ownership of this file to the 219 220 <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> 223 223 224 224 <screen><userinput>sed -i '/MAIL/s/yes/no/' /etc/default/useradd</userinput></screen> … … 231 231 232 232 <sect2 role="configuration"> 233 <title>Setting the root password</title>233 <title>Setting the Root Password</title> 234 234 235 235 <para>Choose a password for user <emphasis>root</emphasis> and set it … … 330 330 <listitem> 331 331 <para>Is used to examine the log of login failures, to set a maximum 332 number of failures before an account is blocked, orto reset the332 number of failures before an account is blocked, and to reset the 333 333 failure count</para> 334 334 <indexterm zone="ch-system-shadow faillog"> … … 510 510 <term><command>nologin</command></term> 511 511 <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> 515 514 <indexterm zone="ch-system-shadow nologin"> 516 515 <primary sortas="b-nologin">nologin</primary> … … 598 597 <term><command>userdel</command></term> 599 598 <listitem> 600 <para>Deletes the givenuser account</para>599 <para>Deletes the specified user account</para> 601 600 <indexterm zone="ch-system-shadow userdel"> 602 601 <primary sortas="b-userdel">userdel</primary> … … 608 607 <term><command>usermod</command></term> 609 608 <listitem> 610 <para>Is used to modify the given user's login name, User611 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> 612 611 <indexterm zone="ch-system-shadow usermod"> 613 612 <primary sortas="b-usermod">usermod</primary> … … 641 640 <term><filename class='libraryfile'>libsubid</filename></term> 642 641 <listitem> 643 <para>library for process subordinate id ranges for users</para>642 <para>library for processing subordinate id ranges for users</para> 644 643 <indexterm zone="ch-system-shadow libsubid"> 645 644 <primary sortas="c-libsubid">libsubid</primary> -
chapter08/wheel.xml
r1ace465 rdfe9593 41 41 <title>Installation of Wheel</title> 42 42 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 43 47 <para>Install wheel with the following command:</para> 44 48 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> 46 50 47 51 <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> 49 76 50 77 <varlistentry> … … 56 83 57 84 <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> 59 88 <listitem> 60 89 <para>Prevent pip from fetching files from the online package 61 90 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 th is63 option addssome 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> 64 93 </listitem> 65 94 </varlistentry> 66 95 67 96 <varlistentry> 68 <term><parameter> $PWD</parameter></term>97 <term><parameter>--find-links dist</parameter></term> 69 98 <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> 71 101 </listitem> 72 102 </varlistentry> 73 74 103 </variablelist> 75 76 104 </sect2> 77 105 … … 87 115 <seg> 88 116 /usr/lib/python&python-minor;/site-packages/wheel and 89 /usr/lib/python&python-minor;/site-packages/wheel- 0.37.1-py3.10.egg-info117 /usr/lib/python&python-minor;/site-packages/wheel-&wheel-version;.dist-info 90 118 </seg> 91 119 </seglistitem> -
packages.ent
r1ace465 rdfe9593 407 407 <!ENTITY libffi-fin-sbu "1.8 SBU"> 408 408 409 <!ENTITY libpipeline-version "1.5. 6">410 <!ENTITY libpipeline-size "95 4KB">409 <!ENTITY libpipeline-version "1.5.7"> 410 <!ENTITY libpipeline-size "956 KB"> 411 411 <!ENTITY libpipeline-url "&savannah;/releases/libpipeline/libpipeline-&libpipeline-version;.tar.gz"> 412 <!ENTITY libpipeline-md5 " 829c9ba46382b0b3e12dd11fcbc1bb27">412 <!ENTITY libpipeline-md5 "1a48b5771b9f6c790fb4efdb1ac71342"> 413 413 <!ENTITY libpipeline-home "https://libpipeline.nongnu.org/"> 414 414 <!ENTITY libpipeline-fin-du "10 MB"> … … 425 425 <!ENTITY linux-major-version "6"> 426 426 <!ENTITY linux-minor-version "0"> 427 <!ENTITY linux-patch-version " 7">427 <!ENTITY linux-patch-version "9"> 428 428 <!--<!ENTITY linux-version "&linux-major-version;.&linux-minor-version;">--> 429 429 <!ENTITY linux-version "&linux-major-version;.&linux-minor-version;.&linux-patch-version;"> 430 <!ENTITY linux-size "130,7 48KB">430 <!ENTITY linux-size "130,776 KB"> 431 431 <!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"> 433 433 <!ENTITY linux-home "https://www.kernel.org/"> 434 434 <!-- measured for 5.13.4 / gcc-11.1.0 on x86_64 : minimum is … … 464 464 <!ENTITY make-fin-sbu "0.5 SBU"> 465 465 466 <!ENTITY man-db-version "2.11. 0">467 <!ENTITY man-db-size "1, 879KB">466 <!ENTITY man-db-version "2.11.1"> 467 <!ENTITY man-db-size "1,904 KB"> 468 468 <!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"> 470 470 <!ENTITY man-db-home "https://www.nongnu.org/man-db/"> 471 471 <!ENTITY man-db-fin-du "40 MB"> … … 504 504 <!ENTITY mpc-fin-sbu "0.3 SBU"> 505 505 506 <!ENTITY mpfr-version "4.1. 0">507 <!ENTITY mpfr-size "1,4 90 KB">506 <!ENTITY mpfr-version "4.1.1"> 507 <!ENTITY mpfr-size "1,400 KB"> 508 508 <!ENTITY mpfr-url "https://ftp.gnu.org/gnu/mpfr/mpfr-&mpfr-version;.tar.xz"> 509 <!ENTITY mpfr-md5 " bdd3d5efba9c17da8d83a35ec552baef">509 <!ENTITY mpfr-md5 "d182b62e811f744d149b14540d8e922b"> 510 510 <!ENTITY mpfr-home "https://www.mpfr.org/"> 511 511 <!ENTITY mpfr-fin-du "39 MB"> … … 745 745 <!ENTITY xml-parser-fin-sbu "less than 0.1 SBU"> 746 746 747 <!ENTITY xz-version "5.2. 7">748 <!ENTITY xz-size "1,2 53KB">747 <!ENTITY xz-version "5.2.8"> 748 <!ENTITY xz-size "1,260 KB"> 749 749 <!ENTITY xz-url "https://tukaani.org/xz/xz-&xz-version;.tar.xz"> 750 <!ENTITY xz-md5 " 6c130d21e260d4476e971985e7394e83">750 <!ENTITY xz-md5 "7cfa6136d984083e7d4da12c8fb083ea"> 751 751 <!ENTITY xz-home "https://tukaani.org/xz"> 752 752 <!ENTITY xz-tmp-du "16 MB">
Note:
See TracChangeset
for help on using the changeset viewer.