- Timestamp:
- 12/05/2023 05:12:55 AM (7 months ago)
- 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. - Location:
- chapter07
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter07/chroot.xml
r6b6a1b9 r73d91ac 24 24 PS1='(lfs chroot) \u:\w\$ ' \ 25 25 PATH=/usr/bin:/usr/sbin \ 26 MAKEFLAGS="-j<replaceable>$(nproc)</replaceable>" \ 27 TESTSUITEFLAGS="-j<replaceable>$(nproc)</replaceable>" \ 26 28 /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> 27 39 28 40 <para>The <parameter>-i</parameter> option given to the <command>env</command> … … 48 60 used.</para> 49 61 50 <para> Note that the <command>bash</command> prompt will say62 <para>Also note that the <command>bash</command> prompt will say 51 63 <computeroutput>I have no name!</computeroutput> This is normal because the 52 64 <filename>/etc/passwd</filename> file has not been created yet.</para> -
chapter07/createfiles.xml
r6b6a1b9 r73d91ac 216 216 the bad login attempts.</para> 217 217 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> 221 236 222 237 </sect1> -
chapter07/kernfs.xml
r6b6a1b9 r73d91ac 108 108 109 109 <screen><userinput>if [ -h $LFS/dev/shm ]; then 110 mkdir -pv $LFS/$(readlink $LFS/dev/shm)110 (cd $LFS/dev; mkdir $(readlink shm)) 111 111 else 112 mount - t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm112 mount -vt tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm 113 113 fi</userinput></screen> 114 114 -
chapter07/perl.xml
r6b6a1b9 r73d91ac 58 58 59 59 <variablelist> 60 <title>The meaning of the new Configure options:</title> 60 <title>The meaning of the Configure options:</title> 61 61 62 <varlistentry> 62 63 <term><parameter>-des</parameter></term> … … 65 66 all items; -e ensures completion of all tasks; -s silences 66 67 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> 67 97 </listitem> 68 98 </varlistentry>
Note:
See TracChangeset
for help on using the changeset viewer.