aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/chroot.xml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-02-19 23:08:33 +0800
committerXi Ruoyao <xry111@mengyan1223.wang>2022-02-27 00:01:39 +0800
commite8f1927bfe1dd1648ce12be4b5e75410a151134b (patch)
tree33326f235c7c08ba9f0e3bef8484a200c5246149 /chapter07/chroot.xml
parent940c9ebd4b4482a9a2a3646a499fb4c73157944f (diff)
cross-ng: set up a temporary hostname starting chapter 7
Diffstat (limited to 'chapter07/chroot.xml')
-rw-r--r--chapter07/chroot.xml5
1 files changed, 5 insertions, 0 deletions
diff --git a/chapter07/chroot.xml b/chapter07/chroot.xml
index 2d0f4a4ef..5b1a156bc 100644
--- a/chapter07/chroot.xml
+++ b/chapter07/chroot.xml
@@ -63,6 +63,11 @@ bash: no job control in this shell</computeroutput></screen>
<computeroutput>I have no name!</computeroutput> This is normal because the
<filename>/etc/passwd</filename> file has not been created yet.</para>
+ <para>Now set up a temporary hostname, which is required by test suite of
+ some packages:</para>
+
+<screen><userinput>hostname lfs</userinput></screen>
+
<note>
<para>It is important that all the commands throughout the remainder of this
chapter and the following chapters are run from within the environment