Changeset 0ea3431
- Timestamp:
- 09/26/2022 02:03:23 PM (2 years ago)
- Branches:
- xry111/clfs-ng
- Children:
- 259794e
- Parents:
- 1f6dfd4 (diff), f427ba23 (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:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
bootscripts/ChangeLog
r1f6dfd4 r0ea3431 1 2022-09-30 Bruce Dubbs <bdubbs@linuxfromscratch.org> 2 * Mount /dev/shm as a tmpfs. 3 1 4 2022-07-23 Thomas Trepl <thomas@linuxfromscratch.org> 2 5 * Mark an raid array clean when root (/) has been remounted -
bootscripts/lfs/init.d/mountvirtfs
r1f6dfd4 r0ea3431 39 39 fi 40 40 41 mkdir -p /run/lock /run/shm42 chmod 1777 /run/ shm /run/lock41 mkdir -p /run/lock 42 chmod 1777 /run/lock 43 43 44 44 log_info_msg "Mounting virtual file systems: ${INFO}/run" … … 59 59 fi 60 60 61 ln -sfn /run/shm /dev/shm 61 mkdir -p /dev/shm 62 log_info_msg2 " ${INFO}/dev/shm" 63 mount -o nosuid,nodev /dev/shm || failed=1 62 64 63 65 (exit ${failed}) -
bootscripts/lfs/init.d/swap
r1f6dfd4 r0ea3431 21 21 # Default-Start: S 22 22 # Default-Stop: 0 6 23 # Short-Description: Mounts and unmounts swap partitions.24 # Description: Mounts and unmounts swap partitions defined in23 # Short-Description: Activates and deactivates swap partitions. 24 # Description: Activates and deactivates swap partitions defined in 25 25 # /etc/fstab. 26 26 # X-LFS-Provided-By: LFS -
chapter01/changelog.xml
r1f6dfd4 r0ea3431 40 40 appropriate for the entry or if needed the entire day's listitem. 41 41 --> 42 43 <listitem> 44 <para>2022-09-22</para> 45 <itemizedlist> 46 <listitem> 47 <para>[bdubbs] - Update to expat-2.4.9 (Security Update). Fixes 48 <ulink url="&lfs-ticket-root;5117">#5117</ulink>.</para> 49 </listitem> 50 </itemizedlist> 51 </listitem> 52 53 <listitem> 54 <para>2022-09-20</para> 55 <itemizedlist> 56 <listitem> 57 <para>[bdubbs] - Adapt instructions depending on 58 host setup of /dev/shm when creating virtual filesystems 59 for chroot.</para> 60 </listitem> 61 </itemizedlist> 62 </listitem> 42 63 43 64 <listitem> -
chapter01/how.xml
r1f6dfd4 r0ea3431 47 47 work your way through <xref linkend="chapter-cross-tools"/> and beyond.</para> 48 48 49 <para><xref linkend="chapter-cross-tools"/> ,explains the installation of49 <para><xref linkend="chapter-cross-tools"/> explains the installation of 50 50 the initial tool chain, (binutils, gcc, and glibc) using cross compilation 51 51 techniques to isolate the new tools from the host system.</para> … … 65 65 provided in <xref linkend="ch-tools-toolchaintechnotes"/>.</para> 66 66 67 <para>In <xref linkend="chapter-building-system"/> , The67 <para>In <xref linkend="chapter-building-system"/> the 68 68 full LFS system is built.</para> 69 69 -
chapter01/whatsnew.xml
r1f6dfd4 r0ea3431 75 75 <para>Eudev-&eudev-version;</para> 76 76 </listitem>--> 77 < !--<listitem>77 <listitem> 78 78 <para>Expat-&expat-version;</para> 79 </listitem> -->79 </listitem> 80 80 <!--<listitem> 81 81 <para>Expect-&expect-version;</para> -
chapter02/aboutlfs.xml
r1f6dfd4 r0ea3431 16 16 directory where you will be building your LFS system - we will use 17 17 <filename class="directory">/mnt/lfs</filename> as an example, but the 18 directory choice is up to you. Choose a directory location and set the18 choose any directory name you want. Choose a directory location and set the 19 19 variable with the following command:</para> 20 20 … … 24 24 <command>mkdir -v $LFS/tools</command> can be typed literally. The shell 25 25 will automatically replace <quote>$LFS</quote> with 26 <quote>/mnt/lfs</quote> (or whatever the variable was set to) when it26 <quote>/mnt/lfs</quote> (or whatever value the variable was set to) when it 27 27 processes the command line.</para> 28 28 … … 55 55 enter the export command above. In addition, the shell specified in the 56 56 <filename>/etc/passwd</filename> file for all users that need the 57 <envar>LFS</envar> variable needs tobe bash to ensure that the57 <envar>LFS</envar> variable must be bash to ensure that the 58 58 <filename>/root/.bash_profile</filename> file is incorporated as a part of 59 59 the login process.</para> … … 65 65 the <filename>.bashrc</filename> file for the user and 66 66 <systemitem class="username">root</systemitem>. In addition, 67 some distributions have instructions to not run the<filename>.bashrc</filename>68 instructions in a non-interactive bash invocation. Be sure to addthe69 export command beforethe test for non-interactive use.</para>67 some distributions use an "if" test, and do not run the remaining <filename>.bashrc</filename> 68 instructions for a non-interactive bash invocation. Be sure to place the 69 export command ahead of the test for non-interactive use.</para> 70 70 71 71 </note> -
chapter02/creatingfilesystem.xml
r1f6dfd4 r0ea3431 11 11 <title>Creating a File System on the Partition</title> 12 12 13 <para>Now that a blank partition has been set up, the file system can be 14 created. LFS can use any file system recognized by the Linux kernel, but the 15 most common types are ext3 and ext4. The choice of file system can be 16 complex and depends on the characteristics of the files and the size of 13 <para>A partition is just a range of sectors on a disk drive, delimited by 14 boundaries set in a partition table. Before the operating system can use 15 a partition to store any files, the partition must be formatted to contain a file 16 system, typically consisting of a label, directory blocks, data blocks, and 17 an indexing scheme to locate a particular file on demand. The file system 18 also helps the OS keep track of free space on the partition, reserve the 19 needed sectors when a new file is created or an existing file is extended, 20 and recycle the free data segments created when files are deleted. It may 21 also provide support for data redundancy, and for error recovery.</para> 22 23 <para>LFS can use any file system recognized by the Linux kernel, but the 24 most common types are ext3 and ext4. The choice of the right file system can be 25 complex; it depends on the characteristics of the files and the size of 17 26 the partition. For example:</para> 18 27 … … 34 43 <varlistentry> 35 44 <term>ext4</term> 36 <listitem><para>is the latest version of the ext f ile system family of37 partition types. It provides several new capabilities including38 nano-second timestamps, creation and use of very large files (16 TB), and39 speed improvements.</para>45 <listitem><para>is the latest version of the ext family of 46 file systems. It provides several new capabilities including 47 nano-second timestamps, creation and use of very large files 48 (up to 16 TB), and speed improvements.</para> 40 49 </listitem> 41 50 </varlistentry> … … 43 52 44 53 <para>Other file systems, including FAT32, NTFS, ReiserFS, JFS, and XFS are 45 useful for specialized purposes. More information about these file systems46 can be found at <ulink54 useful for specialized purposes. More information about these file systems, 55 and many others, can be found at <ulink 47 56 url="https://en.wikipedia.org/wiki/Comparison_of_file_systems"/>.</para> 48 57 49 <para>LFS assumes that the root file system (/) is of type ext4. 58 <para>LFS assumes that the root file system (/) is of type ext4. To create 50 59 an <systemitem class="filesystem">ext4</systemitem> file system on the LFS 51 partition, run the following:</para>60 partition, issue the following command:</para> 52 61 53 62 <screen role="nodump"><userinput>mkfs -v -t ext4 /dev/<replaceable><xxx></replaceable></userinput></screen> -
chapter02/creatingpartition.xml
r1f6dfd4 r0ea3431 95 95 <para>Swapping is never good. For mechanical hard drives you can generally 96 96 tell if a system is swapping by just listening to disk activity and 97 observing how the system reacts to commands. For an SSD driveyou will not98 be able to hear swapping but you can tell how much swap space is being used99 by the <command>top</command> or <command>free</command> programs. Use of100 an SSD drivefor a swap partition should be avoided if possible. The first97 observing how the system reacts to commands. With an SSD you will not 98 be able to hear swapping, but you can tell how much swap space is being used 99 by running the <command>top</command> or <command>free</command> programs. Use of 100 an SSD for a swap partition should be avoided if possible. The first 101 101 reaction to swapping should be to check for an unreasonable command such as 102 102 trying to edit a five gigabyte file. If swapping becomes a normal … … 113 113 loader. This partition will normally be labeled 'BIOS Boot' if using 114 114 <command>fdisk</command> or have a code of <emphasis>EF02</emphasis> if 115 using <command>gdisk</command>.</para>115 using the <command>gdisk</command> command.</para> 116 116 117 117 <note><para>The Grub Bios partition must be on the drive that the BIOS 118 uses to boot the system. This is not necessarily the same drive where the119 LFS root partition is located. Disks on a system may use different120 partition table types. The requirement for this partition depends118 uses to boot the system. This is not necessarily the drive that holds 119 the LFS root partition. The disks on a system may use different 120 partition table types. The necessity of the Grub Bios partition depends 121 121 only on the partition table type of the boot disk.</para></note> 122 122 </sect3> … … 134 134 store kernels and other booting information. To minimize potential boot 135 135 problems with larger disks, make this the first physical partition on 136 your first disk drive. A partition size of 200 megabytes is quite136 your first disk drive. A partition size of 200 megabytes is 137 137 adequate.</para></listitem> 138 138 … … 151 151 <filename class="directory">/lib</filename>, and 152 152 <filename class="directory">/sbin</filename> are symlinks to their 153 counterpart in <filename class="directory">/usr</filename>.154 So <filename class="directory">/usr</filename> contains all binaries153 counterparts in <filename class="directory">/usr</filename>. 154 So <filename class="directory">/usr</filename> contains all the binaries 155 155 needed for the system to run. For LFS a separate partition for 156 156 <filename class="directory">/usr</filename> is normally not needed. 157 If you needit anyway, you should make a partition large enough to158 fit all programs and libraries in the system.The root partition can be157 If you create it anyway, you should make a partition large enough to 158 fit all the programs and libraries in the system. The root partition can be 159 159 very small (maybe just one gigabyte) in this configuration, so it's 160 160 suitable for a thin client or diskless workstation (where 161 161 <filename class="directory">/usr</filename> is mounted from a remote 162 server). However you should take care that an initramfs (not covered by163 LFS) will be needed to boot a system with separate162 server). However, you should be aware that an initramfs (not covered by 163 LFS) will be needed to boot a system with a separate 164 164 <filename class="directory">/usr</filename> partition.</para></listitem> 165 165 166 166 <listitem><para>/opt – This directory is most useful for 167 BLFS where multiple installations of large packages like Gnome or KDEcan167 BLFS, where multiple large packages like KDE or Texlive can 168 168 be installed without embedding the files in the /usr hierarchy. If 169 169 used, 5 to 10 gigabytes is generally adequate.</para> 170 170 </listitem> 171 171 172 <listitem><para>/tmp – A separate /tmp directory is rare, but 173 useful if configuring a thin client. This partition, if used, will 174 usually not need to exceed a couple of gigabytes.</para></listitem> 172 <listitem revision='sysv'><para>/tmp – A separate /tmp directory 173 is rare, but useful if configuring a thin client. This partition, if 174 used, will usually not need to exceed a couple of 175 gigabytes. If you have enough RAM, you can mount a 176 <systemitem class='filesystem'>tmpfs</systemitem> on /tmp to make 177 access to temporary files faster.</para></listitem> 178 179 <listitem revision='systemd'><para>/tmp – By default, systemd 180 mounts a <systemitem class='filesystem'>tmpfs</systemitem> here. 181 If you want to override that behavior, follow 182 <xref linkend='systemd-no-tmpfs'/> when configuring the LFS 183 system.</para></listitem> 175 184 176 185 <listitem><para>/usr/src – This partition is very 177 186 useful for providing a location to store BLFS source files and 178 share them across LFS builds. 179 for building BLFS packages. 180 gigabytes allows plenty of room.</para></listitem>187 share them across LFS builds. It can also be used as a location 188 for building BLFS packages. A reasonably large partition of 30-50 189 gigabytes provides plenty of room.</para></listitem> 181 190 182 191 </itemizedlist> 183 192 184 <para>Any separate partition that you want automatically mounted upon boot185 needs to be specified in the <filename>/etc/fstab</filename>. Details186 about how to specify partitions will be discussed in <xref187 linkend="ch-bootable-fstab"/>. 193 <para>Any separate partition that you want automatically mounted when the 194 system starts must be specified in the <filename>/etc/fstab</filename> file. 195 Details about how to specify partitions will be discussed in <xref 196 linkend="ch-bootable-fstab"/>.</para> 188 197 189 198 </sect3> -
chapter02/hostreqs.xml
r1f6dfd4 r0ea3431 42 42 <listitem> 43 43 <para><emphasis role="strong">Bison-2.7</emphasis> (/usr/bin/yacc 44 should be a link to bison or small script that executes bison)</para>44 should be a link to bison or a small script that executes bison)</para> 45 45 </listitem> 46 46 -
chapter02/mounting.xml
r1f6dfd4 r0ea3431 11 11 <title>Mounting the New Partition</title> 12 12 13 <para>Now that a file system has been created, the partition needs to 14 be made accessible. In order to do this, the partition needs to be 15 mounted at a chosen mount point. For the purposes of this book, it is 16 assumed that the file system is mounted under the directory specified by the 17 <envar>LFS</envar> environment variable as described in the previous section. 13 <para>Now that a file system has been created, the partition must 14 be mounted so the host system can access it. This book assumes that 15 the file system is mounted at the directory specified by the 16 <envar>LFS</envar> environment variable described in the previous section. 18 17 </para> 19 18 20 <para>Create the mount point and mount the LFS file system by running:</para>19 <para>Create the mount point and mount the LFS file system with these commands:</para> 21 20 22 21 <screen role="nodump"><userinput>mkdir -pv $LFS 23 22 mount -v -t ext4 /dev/<replaceable><xxx></replaceable> $LFS</userinput></screen> 24 23 25 <para>Replace <replaceable><xxx></replaceable> with the designationof the LFS24 <para>Replace <replaceable><xxx></replaceable> with the name of the LFS 26 25 partition.</para> 27 26 28 <para>If using multiple partitions for LFS (e.g., one for <filename29 class="directory">/</filename> and another for <filename30 class="directory">/home</filename>), mount them using:</para>27 <para>If you are using multiple partitions for LFS (e.g., one for 28 <filename class="directory">/</filename> and another for <filename 29 class="directory">/home</filename>), mount them like this:</para> 31 30 32 31 <screen role="nodump"><userinput>mkdir -pv $LFS … … 44 43 without any parameters to see what options are set for the mounted LFS 45 44 partition. If <option>nosuid</option> and/or <option>nodev</option> are set, 46 the partition will need tobe remounted.</para>45 the partition must be remounted.</para> 47 46 48 <warning><para>The above instructions assume that you will not be restarting47 <warning><para>The above instructions assume that you will not restart 49 48 your computer throughout the LFS process. If you shut down your system, 50 49 you will either need to remount the LFS partition each time you restart 51 the build process or modify your host system's /etc/fstab file to automatically 52 remount it upon boot. For example: 50 the build process, or modify the host system's &fstab; file to automatically 51 remount it when you reboot. For example, you might add this line to your 52 &fstab; file: 53 53 54 54 <screen role="nodump">/dev/<replaceable><xxx></replaceable> /mnt/lfs ext4 defaults 1 1</screen> … … 68 68 <systemitem class="filesystem">swap</systemitem> partition.</para> 69 69 70 <para>Now that the re is an established place to work, it is time to70 <para>Now that the new LFS partition is open for business, it's time to 71 71 download the packages.</para> 72 72 -
chapter02/stages.xml
r1f6dfd4 r0ea3431 35 35 36 36 <sect2> 37 <title>Chapter 5–6</title>37 <title>Chapters 5–6</title> 38 38 39 39 <itemizedlist> … … 45 45 <para>These two chapters <emphasis>must</emphasis> be done as user 46 46 <systemitem class="username">lfs</systemitem>. 47 A <command>su - lfs</command> needs to be donebefore any task in these48 chapters. Failing todo that, you are at risk of installing packages to the47 A <command>su - lfs</command> command must be issued before any task in these 48 chapters. If you don't do that, you are at risk of installing packages to the 49 49 host, and potentially rendering it unusable.</para> 50 50 </listitem> … … 55 55 doubt about installing a package, ensure any previously expanded 56 56 tarballs are removed, then re-extract the package files, and complete all 57 instructions in that section.</para>57 the instructions in that section.</para> 58 58 </listitem> 59 59 </itemizedlist> … … 61 61 62 62 <sect2> 63 <title>Chapter 7–10</title>63 <title>Chapters 7–10</title> 64 64 65 65 <itemizedlist> … … 71 71 <para>A few operations, from 72 72 <quote>Preparing Virtual Kernel File Systems</quote> to 73 <quote>Setting up Environment</quote> must be done.</para>73 <quote>Setting up Environment</quote>, must be done.</para> 74 74 </listitem> 75 75 -
chapter03/introduction.xml
r1f6dfd4 r0ea3431 14 14 order to build a basic Linux system. The listed version numbers correspond to 15 15 versions of the software that are known to work, and this book is based on 16 their use. We highly recommend against using different versions because the build16 their use. We highly recommend against using different versions, because the build 17 17 commands for one version may not work with a different version, unless the 18 different version is specified by a LFS errataor security advisory.18 different version is specified by an LFS erratum or security advisory. 19 19 The newest package versions may also have problems that require 20 20 work-arounds. These work-arounds will be developed and stabilized in the … … 22 22 23 23 <para>For some packages, the release tarball and the (Git or SVN) 24 repository snapshot tarball for th isrelease may be published with25 similar file name . A release tarball contains generated files (for26 example, <command>configure</command> script generated by24 repository snapshot tarball for that release may be published with 25 similar file names. A release tarball contains generated files (for 26 example, a <command>configure</command> script generated by 27 27 <command>autoconf</command>), in addition to the contents of the 28 28 corresponding repository snapshot. The book uses release tarballs … … 70 70 <listitem> 71 71 <para>For stable versions of the book, a tarball of all the needed files 72 can be downloaded from one of the LFS files mirrors listed at72 can be downloaded from one of the mirror sites listed at 73 73 <ulink url="https://www.linuxfromscratch.org/mirrors.html#files"/>.</para> 74 74 </listitem> -
chapter03/packages.xml
r1f6dfd4 r0ea3431 16 16 package should be used to avoid security vulnerabilities.</para> 17 17 18 <para>The upstream s may remove old releases, especially when these18 <para>The upstream sources may remove old releases, especially when those 19 19 releases contain a security vulnerability. If one URL below is not 20 20 reachable, you should read the security advisories first to figure out … … 22 22 not, try to download the removed package from a mirror. Although it's 23 23 possible to download an old release from a mirror even if this release 24 has been removed because of a vulnerability, it's not recommendedto25 use a release known to be vulnerable forbuilding your system.</para>24 has been removed because of a vulnerability, it's not a good idea to 25 use a release known to be vulnerable when building your system.</para> 26 26 </note> 27 27 … … 454 454 455 455 <note> 456 <para>The Linux kernel is updated relatively often, many times due to456 <para>The Linux kernel is updated quite frequently, many times due to 457 457 discoveries of security vulnerabilities. The latest available 458 458 <!--&linux-major-version;.&linux-minor-version;.x--> stable kernel -
chapter04/creatingminlayout.xml
r1f6dfd4 r0ea3431 11 11 <title>Creating a limited directory layout in LFS filesystem</title> 12 12 13 <para>The first taskperformed in the LFS partition is to create a limited14 directory hierarchy so thatprograms compiled in <xref13 <para>The next task to be performed in the LFS partition is to create a limited 14 directory hierarchy, so that the programs compiled in <xref 15 15 linkend="chapter-temporary-tools"/> (as well as glibc and libstdc++ in <xref 16 linkend="chapter-cross-tools"/>) maybe installed in their final17 location. This is needed so that those temporary programs be overwritten18 when rebuilding themin <xref linkend="chapter-building-system"/>.</para>16 linkend="chapter-cross-tools"/>) can be installed in their final 17 location. We do this so those temporary programs will be overwritten when 18 the final versions are built in <xref linkend="chapter-building-system"/>.</para> 19 19 20 <para>Create the required directory layout by running the followingas20 <para>Create the required directory layout by issuing the following commands as 21 21 <systemitem class="username">root</systemitem>:</para> 22 22 … … 35 35 36 36 <para>Programs in <xref linkend="chapter-temporary-tools"/> will be compiled 37 with a cross-compiler (more details in section <xref38 linkend="ch-tools-toolchaintechnotes"/>). In order to separate this39 cross-compiler from the other programs, it will be installed in a special40 directory. Create this directory with:</para>37 with a cross-compiler (more details can be found in section <xref 38 linkend="ch-tools-toolchaintechnotes"/>). This cross-compiler will be installed 39 in a special directory, to separate it from the other programs. Still acting as 40 &root;, create that directory with this command:</para> 41 41 42 42 <screen><userinput>mkdir -pv $LFS/tools</userinput></screen> -
chapter04/introduction.xml
r1f6dfd4 r0ea3431 13 13 <para>In this chapter, we will perform a few additional tasks to prepare 14 14 for building the temporary system. We will create a set of directories in 15 <filename class="directory">$LFS</filename> for the installation ofthe16 temporary tools , add an unprivileged user to reduce risk,15 <filename class="directory">$LFS</filename> (in which we will install the 16 temporary tools), add an unprivileged user, 17 17 and create an appropriate build environment for that user. We will also 18 explain the unit of time we use to measure how long LFS packages take to19 build, or <quote>SBUs</quote>, and give some information about package18 explain the units of time (<quote>SBUs</quote>) we use to measure how 19 long it takes to build LFS packages, and provide some information about package 20 20 test suites.</para> 21 21 -
chapter07/kernfs.xml
r1f6dfd4 r0ea3431 86 86 ln -sv /proc/self/fd /dev</userinput></screen> 87 87 88 <para>In other cases <filename>/dev/shm</filename> is a mountpoint 89 for a tmpfs. In that case the mount of /dev above will only create 90 /dev/shm in the chroot environment as a directory. In this situation 91 we explicitly mount a tmpfs,</para> 92 93 <screen><userinput>if [ -h $LFS/dev/shm ]; then 94 mkdir -pv $LFS/$(readlink $LFS/dev/shm) 95 else 96 mount -t tmpfs -o nosuid,nodev tmpfs $LFS/dev/shm 97 fi</userinput></screen> 98 88 99 </sect2> 89 100 -
chapter08/binutils.xml
r1f6dfd4 r0ea3431 161 161 <screen><userinput remap="test">make -k check</userinput></screen> 162 162 163 <para>Twelve tests fail in the <command>gold</command> testsuite when the163 <para>Twelve tests fail in the <command>gold</command> testsuite when the 164 164 <option>--enable-default-pie</option> and 165 <option>--enable-default-ssp</option> options are passed to GCC. There166 is also a known failure in the <command>as</command> tests.</para>167 <!-- Fixed in 2.39168 https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=01ae03b169 <para>One gold test, <filename>pr17704a_test</filename>, is known to170 fail if <parameter>CONFIG_IA32_EMULATION</parameter> is disabled in the171 k ernel configuration of the host system.</para>172 --> 165 <option>--enable-default-ssp</option> options are passed to GCC. 166 <!-- Caused by egrep deprecation. Note that we don't "patch" temp grep. 167 And it seems unworthy to add a sed into temp grep just for one test 168 failure. (I don't really agree to "patch" grep in the first place, 169 anyway.) --> 170 The test named <filename>ar with versioned solib</filename> is also 171 known to fail.</para> 172 173 173 <para>Install the package:</para> 174 174 -
chapter08/gcc.xml
r1f6dfd4 r0ea3431 112 112 binary programs that can be loaded anywhere in memory. Without PIE, 113 113 the security feature named ASLR (Address Space Layout Randomization) 114 can be applied for the shared libraries, but not the exec tutable114 can be applied for the shared libraries, but not the executable 115 115 itself. Enabling PIE allows ASLR for the executables in addition to 116 116 the shared libraries, and mitigates some attacks based on fixed -
chapter08/libelf.xml
r1f6dfd4 r0ea3431 59 59 <screen><userinput remap="test">make check</userinput></screen> 60 60 61 <!-- <para>One test, run-elfclassify.sh, is known to fail.</para>--> 61 <para>One test named <filename>run-low_high_pc.sh</filename> is known to 62 fail on 32-bit x86 system.</para> 62 63 63 64 <para>Install only Libelf:</para> -
chapter09/systemd-custom.xml
r1f6dfd4 r0ea3431 47 47 </sect2> 48 48 49 <sect2 >49 <sect2 id='systemd-no-tmpfs'> 50 50 <title>Disabling tmpfs for /tmp</title> 51 51 -
chapter10/fstab.xml
r1f6dfd4 r0ea3431 33 33 tmpfs /run tmpfs defaults 0 0 34 34 devtmpfs /dev devtmpfs mode=0755,nosuid 0 0 35 tmpfs /dev/shm tmpfs nosuid,nodev 0 0 35 36 36 37 # End /etc/fstab</literal> -
chapter10/kernel.xml
r1f6dfd4 r0ea3431 118 118 Graphics support ---> 119 119 Frame buffer Devices ---> 120 [*] Support for frame buffer devices ---- 120 <*> Support for frame buffer devices ---> 121 Console display driver support ---> 122 [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE] 121 123 Generic Driver Options ---> 122 124 [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] … … 157 159 Frame buffer Devices ---> 158 160 <*> Support for frame buffer devices ---> 161 Console display driver support ---> 162 [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE] 159 163 File systems ---> 160 164 [*] Inotify support for userspace [CONFIG_INOTIFY_USER] … … 271 275 272 276 <varlistentry> 277 <term><parameter>Framebuffer Console support</parameter></term> 278 <listitem> 279 <para>This is needed to display the Linux console on a frame 280 buffer device. To allow the kernel to print debug messages at an 281 early boot stage, it shouldn't be built as a kernel module 282 unless an initramfs will be used. And, if 283 <option>CONFIG_DRM</option> (Direct Rendering Manager) is enabled, 284 it's likely <option>CONFIG_DRM_FBDEV_EMULATION</option> (Enable 285 legacy fbdev support for your modesetting driver) should be 286 enabled as well.</para> 287 </listitem> 288 </varlistentry> 289 290 <varlistentry> 273 291 <term><parameter>Support x2apic</parameter></term> 274 292 <listitem> … … 318 336 319 337 <caution> 320 <para>As the cross-built LFS system has a separate /boot partition, 321 the files copied below should go there. The easiest way to do that is 322 to mount <filename class="directory">/boot</filename> before 323 proceeding. As the &root; user:</para> 338 <para>As the cross-built LFS system has a separate &boot-dir; 339 partition, the files copied below should go there. The easiest way to 340 do that is to create the entry for &boot-dir; in &fstab; first (read 341 the previous section for details), then issue the following command 342 as the &root; user:</para> 324 343 325 344 <screen role="nodump"><userinput>mount /boot</userinput></screen> -
general.ent
r1f6dfd4 r0ea3431 122 122 <!ENTITY root "<systemitem class='username'>root</systemitem>"> 123 123 <!ENTITY lfs-user "<systemitem class='username'>lfs</systemitem>"> 124 <!ENTITY fstab "<filename>/etc/fstab</filename>"> 125 <!ENTITY boot-dir "<filename class='directory'>/boot</filename>"> 124 126 125 127 <!ENTITY % packages-entities SYSTEM "packages.ent"> -
lfs-latest-git.php
r1f6dfd4 r0ea3431 302 302 } 303 303 304 if ( $package == "libffi" ) 305 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" ); 306 304 307 if ( $package == "procps-ng" ) 305 308 return find_max( $lines, "/v\d/", "/^.*v([\d\.]+)$/" ); -
packages.ent
r1f6dfd4 r0ea3431 164 164 <!ENTITY eudev-fin-sbu "0.2 SBU"> 165 165 166 <!ENTITY expat-version "2.4. 8">167 <!ENTITY expat-size "44 4KB">166 <!ENTITY expat-version "2.4.9"> 167 <!ENTITY expat-size "449 KB"> 168 168 <!ENTITY expat-url "&sourceforge;expat/expat-&expat-version;.tar.xz"> 169 <!ENTITY expat-md5 " 0584a7318a4c007f7ec94778799d72fe">169 <!ENTITY expat-md5 "8d7fcf7d02d08bf79d9ae5c21cc72c03"> 170 170 <!ENTITY expat-home "https://libexpat.github.io/"> 171 171 <!ENTITY expat-fin-du "12 MB"> … … 387 387 <!ENTITY less-fin-sbu "less than 0.1 SBU"> 388 388 389 <!ENTITY lfs-bootscripts-version "20220 723"> <!-- Scripts depend on this format -->389 <!ENTITY lfs-bootscripts-version "20220920"> <!-- Scripts depend on this format --> 390 390 <!ENTITY lfs-bootscripts-size "BOOTSCRIPTS-SIZE KB"> 391 391 <!ENTITY lfs-bootscripts-url "&downloads-root;lfs-bootscripts-&lfs-bootscripts-version;.tar.xz">
Note:
See TracChangeset
for help on using the changeset viewer.