Changeset 38de42d for chapter02


Ignore:
Timestamp:
03/31/2021 10:41:40 AM (3 years ago)
Author:
Xℹ Ruoyao <xry111@…>
Branches:
ml-11.0, multilib
Children:
402226e
Parents:
8acfbf67
git-author:
Thomas Trepl <thomas@…> (12/28/2020 08:33:15 AM)
git-committer:
Xℹ Ruoyao <xry111@…> (03/31/2021 10:41:40 AM)
Message:

Merge changes from trunk to multilib

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@12072 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Location:
chapter02
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chapter02/aboutlfs.xml

    r8acfbf67 r38de42d  
    5858  user's <filename>.bash_profile</filename> is not normally used when
    5959  a virtual terminal is started.  In this case, add the export command to
    60   the <filename>.bashrc</filename> file for the user and root.  In addition,
     60  the <filename>.bashrc</filename> file for the user and
     61  <systemitem class="username">root</systemitem>.  In addition,
    6162  some distributions have instructions to not run the <filename>.bashrc</filename>
    6263  instructions in a non-interactive bash invocation.  Be sure to add the
  • chapter02/stages.xml

    r8acfbf67 r38de42d  
    2626    <itemizedlist>
    2727      <listitem>
    28         <para>Procedures done as the root user after Section 2.4 need to
    29         have the LFS environment variable set <emphasis>FOR THE ROOT
    30         USER</emphasis>.</para>
     28        <para>Procedures done as the
     29        <systemitem class="username">root</systemitem> user after Section
     30        2.4 need to have the LFS environment variable set
     31        <emphasis>FOR THE ROOT USER</emphasis>.</para>
    3132      </listitem>
    3233    </itemizedlist>
     
    4243
    4344      <listitem>
    44         <para>Threse two chapters must be done as user <emphasis>lfs</emphasis>.
     45        <para>These two chapters <emphasis>must</emphasis> be done as user
     46        <systemitem class="username">lfs</systemitem>.
    4547        A <command>su - lfs</command> needs to be done before any task in these
    4648        chapters. Failing to do that, you are at risk of installing packages to the
     
    6971        <para>A few operations, from <quote>Changing Ownership</quote> to
    7072        <quote>Entering the Chroot Environment</quote> must be done as the
    71         root user, with the LFS environment variable set for the root user.</para>
     73        <systemitem class="username">root</systemitem> user, with the LFS
     74        environment variable set for the
     75        <systemitem class="username">root</systemitem>user.</para>
    7276      </listitem>
    7377
    7478      <listitem>
    7579         <para> When entering chroot, the LFS environment variable must be set
    76          for root. The LFS variable is not used afterwards.</para>
     80         for <systemitem class="username">root</systemitem>. The LFS
     81         variable is not used afterwards.</para>
    7782      </listitem>
    7883
     
    8085         <para> The virtual file systems must be mounted.  This can be done
    8186         before or after entering chroot by changing to a host virtual terminal
    82          and, as root, running the commands in
     87         and, as <systemitem class="username">root</systemitem>, running the
     88         commands in
    8389         <xref linkend='ch-tools-bindmount'/> and
    8490         <xref linkend='ch-tools-kernfsmount'/>.</para>
Note: See TracChangeset for help on using the changeset viewer.