diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2020-12-26 15:51:54 +0000 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2020-12-26 15:51:54 +0000 |
commit | 34fe7e07cd3bc2dad0521e51ba3bbe78de45a671 (patch) | |
tree | 3fc8271f4a48ac2e20ed255cbfb573caceec3ab2 /chapter02/stages.xml | |
parent | ce9b68d15814efabe161e81f2ac678f0ad4a34f8 (diff) |
decorate usernames with <systemitem>
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@12071 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter02/stages.xml')
-rw-r--r-- | chapter02/stages.xml | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/chapter02/stages.xml b/chapter02/stages.xml index 31a60166d..b15b9446e 100644 --- a/chapter02/stages.xml +++ b/chapter02/stages.xml @@ -25,9 +25,10 @@ <itemizedlist> <listitem> - <para>Procedures done as the root user after Section 2.4 need to - have the LFS environment variable set <emphasis>FOR THE ROOT - USER</emphasis>.</para> + <para>Procedures done as the + <systemitem class="username">root</systemitem> user after Section + 2.4 need to have the LFS environment variable set + <emphasis>FOR THE ROOT USER</emphasis>.</para> </listitem> </itemizedlist> </sect2> @@ -41,7 +42,8 @@ </listitem> <listitem> - <para>Threse two chapters must be done as user <emphasis>lfs</emphasis>. + <para>These two chapters <emphasis>must</emphasis> be done as user + <systemitem class="username">lfs</systemitem>. A <command>su - lfs</command> needs to be done before any task in these chapters. Failing to do that, you are at risk of installing packages to the host, and potentially rendering it unusable.</para> @@ -68,18 +70,22 @@ <listitem> <para>A few operations, from <quote>Changing Ownership</quote> to <quote>Entering the Chroot Environment</quote> must be done as the - root user, with the LFS environment variable set for the root user.</para> + <systemitem class="username">root</systemitem> user, with the LFS + environment variable set for the + <systemitem class="username">root</systemitem>user.</para> </listitem> <listitem> <para> When entering chroot, the LFS environment variable must be set - for root. The LFS variable is not used afterwards.</para> + for <systemitem class="username">root</systemitem>. The LFS + variable is not used afterwards.</para> </listitem> <listitem> <para> The virtual file systems must be mounted. This can be done before or after entering chroot by changing to a host virtual terminal - and, as root, running the commands in + and, as <systemitem class="username">root</systemitem>, running the + commands in <xref linkend='ch-tools-bindmount'/> and <xref linkend='ch-tools-kernfsmount'/>.</para> </listitem> |