cross-ng: chapter 2: mounting a partition on $LFS is not needed

This commit is contained in:
Xi Ruoyao 2021-12-17 19:33:29 +08:00
parent 0bd1c0541b
commit 40875a9574
No known key found for this signature in database
GPG Key ID: D95E4716CCBB34DC
2 changed files with 9 additions and 5 deletions

View File

@ -15,10 +15,8 @@
throughout the LFS build process. It should be set to the name of the throughout the LFS build process. It should be set to the name of the
directory where you will be building your LFS system - we will use directory where you will be building your LFS system - we will use
<filename class="directory">/mnt/lfs</filename> as an example, but the <filename class="directory">/mnt/lfs</filename> as an example, but the
directory choice is up to you. If you are building LFS on a separate directory choice is up to you. Choose a directory location and set the
partition, this directory will be the mount point for the partition. variable with the following command:</para>
Choose a directory location and set the variable with the
following command:</para>
<screen role="nodump"><userinput>export LFS=<replaceable>/mnt/lfs</replaceable></userinput></screen> <screen role="nodump"><userinput>export LFS=<replaceable>/mnt/lfs</replaceable></userinput></screen>
@ -28,6 +26,13 @@
<quote>/mnt/lfs</quote> (or whatever the variable was set to) when it <quote>/mnt/lfs</quote> (or whatever the variable was set to) when it
processes the command line.</para> processes the command line.</para>
<para>Create the directory:</para>
<screen role="nodump"><userinput>mkdir -pv $LFS</userinput></screen>
<para>If you don't have much space in the partition holding the directory,
you can mount another partition on it.</para>
<caution> <caution>
<para>Do not forget to check that <envar>LFS</envar> is set whenever <para>Do not forget to check that <envar>LFS</envar> is set whenever
you leave and reenter the current working environment (such as when doing a you leave and reenter the current working environment (such as when doing a

View File

@ -17,6 +17,5 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="creatingpartition.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="creatingpartition.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="creatingfilesystem.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="creatingfilesystem.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutlfs.xml"/> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aboutlfs.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mounting.xml"/>
</chapter> </chapter>