Procházet zdrojové kódy

basic-net needs lorien in /etc/hosts for perl's test to pass

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2586 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans před 22 roky
rodič
revize
594fd06a31
2 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 4 0
      chapter01/changelog.xml
  2. 1 1
      chapter06/basic-net.xml

+ 4 - 0
chapter01/changelog.xml

@@ -71,6 +71,10 @@
 </itemizedlist>
 </para></listitem>
 
+<listitem><para>May 12th, 2003 [gerard]: Chapter 06 - Basic Network: Added
+$(hostname) to /etc/hosts, without it perl's test doens't
+pass.</para></listitem>
+
 <listitem><para>May 11th, 2003 [gerard]: Chapter 06 - GCC-2.95.3: Added
 --enable-threads=posix as well to complete the C++
 addition.</para></listitem>

+ 1 - 1
chapter06/basic-net.xml

@@ -12,7 +12,7 @@ information allowing resolution of hostnames to IP addresses. Create a
 very basic one (we'll make a better one later) with the following
 command:</para>
 
-<para><screen><userinput>echo '127.0.0.1 localhost' > /etc/hosts</userinput></screen></para>
+<para><screen><userinput>echo '127.0.0.1 $(hostname) localhost' > /etc/hosts</userinput></screen></para>
 
 <para>Now unpack the Lfs-Utils tarball again, as we're going to copy two
 necessary files from it. One is the /etc/services file, which is used to