- Timestamp:
- 12/28/2020 08:33:15 AM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- 3e73c5d
- Parents:
- f6193295
- Location:
- chapter02
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/aboutlfs.xml
rf6193295 r0be020f 58 58 user's <filename>.bash_profile</filename> is not normally used when 59 59 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, 61 62 some distributions have instructions to not run the <filename>.bashrc</filename> 62 63 instructions in a non-interactive bash invocation. Be sure to add the -
chapter02/stages.xml
rf6193295 r0be020f 26 26 <itemizedlist> 27 27 <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> 31 32 </listitem> 32 33 </itemizedlist> … … 42 43 43 44 <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>. 45 47 A <command>su - lfs</command> needs to be done before any task in these 46 48 chapters. Failing to do that, you are at risk of installing packages to the … … 69 71 <para>A few operations, from <quote>Changing Ownership</quote> to 70 72 <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> 72 76 </listitem> 73 77 74 78 <listitem> 75 79 <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> 77 82 </listitem> 78 83 … … 80 85 <para> The virtual file systems must be mounted. This can be done 81 86 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 83 89 <xref linkend='ch-tools-bindmount'/> and 84 90 <xref linkend='ch-tools-kernfsmount'/>.</para>
Note:
See TracChangeset
for help on using the changeset viewer.