aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/createfiles.xml
diff options
context:
space:
mode:
authorPierre Labastie <pieere@linuxfromscratch.org>2020-06-14 20:03:03 +0000
committerPierre Labastie <pieere@linuxfromscratch.org>2020-06-14 20:03:03 +0000
commit6e18f2f842f2395e20ae1891e10c28beb47d5aa3 (patch)
tree817220e87bf0f2e3ab22391896a220cf743b0dce /chapter07/createfiles.xml
parent3d92d63bde160bc5ac98f44ec2cc5dd524e06042 (diff)
Move iana-etc and the creation of a test /etc/hosts earier in the build, so
that 2 more gcc tests pass. git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross2@11940 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/createfiles.xml')
-rw-r--r--chapter07/createfiles.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/chapter07/createfiles.xml b/chapter07/createfiles.xml
index 3f5698438..c81ec9b1c 100644
--- a/chapter07/createfiles.xml
+++ b/chapter07/createfiles.xml
@@ -43,6 +43,12 @@
<screen><userinput>ln -sv /proc/self/mounts /etc/mtab</userinput></screen>
+ <para>Create a basic <filename>/etc/hosts</filename> file to be
+ referenced in some test suites, and in one of Perl's configuration files
+ as well:</para>
+
+<screen><userinput>echo "127.0.0.1 localhost $(hostname)" &gt; /etc/hosts</userinput></screen>
+
<para>In order for user <systemitem class="username">root</systemitem> to be
able to login and for the name <quote>root</quote> to be recognized, there
must be relevant entries in the <filename>/etc/passwd</filename> and