mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Clarify some things in Intro to chroot; simplify some verbiage.
This commit is contained in:
parent
d11d449565
commit
52ddd6c033
@ -11,22 +11,22 @@
|
|||||||
<title>Introduction</title>
|
<title>Introduction</title>
|
||||||
|
|
||||||
<para>This chapter shows how to build the last missing bits of the temporary
|
<para>This chapter shows how to build the last missing bits of the temporary
|
||||||
system: the tools needed by the build machinery of various packages. Now
|
system: the tools needed to build the various packages. Now
|
||||||
that all circular dependencies have been resolved, a <quote>chroot</quote>
|
that all circular dependencies have been resolved, a <quote>chroot</quote>
|
||||||
environment, completely isolated from the host operating system (except for
|
environment, completely isolated from the host operating system (except for
|
||||||
the running kernel), can be used for the build.</para>
|
the running kernel), can be used for the build.</para>
|
||||||
|
|
||||||
<para>For proper operation of the isolated environment, some communication
|
<para>For proper operation of the isolated environment, some communication
|
||||||
with the running kernel must be established. This is done through the
|
with the running kernel must be established. This is done via the
|
||||||
so-called <emphasis>Virtual Kernel File Systems</emphasis>, which must be
|
so-called <emphasis>Virtual Kernel File Systems</emphasis>, which must be
|
||||||
mounted when entering the chroot environment. You may want to check
|
mounted before entering the chroot environment. You may want to verify
|
||||||
that they are mounted by issuing <command>findmnt</command>.</para>
|
that they are mounted by issuing the <command>findmnt</command> command.</para>
|
||||||
|
|
||||||
<para>Until <xref linkend="ch-tools-chroot"/>, the commands must be
|
<para>Until <xref linkend="ch-tools-chroot"/>, the commands must be
|
||||||
run as <systemitem class="username">root</systemitem>, with the
|
run as <systemitem class="username">root</systemitem>, with the
|
||||||
<envar>LFS</envar> variable set. After entering chroot, all commands
|
<envar>LFS</envar> variable set. After entering chroot, all commands
|
||||||
are run as &root;, fortunately without access to the OS of the computer
|
are run as &root;, fortunately without access to the OS of the computer
|
||||||
you built LFS on. Be careful anyway, as it is easy to destroy the whole
|
you built LFS on. Be careful anyway, as it is easy to destroy the whole
|
||||||
LFS system with badly formed commands.</para>
|
LFS system with bad commands.</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
Loading…
Reference in New Issue
Block a user