Kaynağa Gözat

Update to upstream r11892

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11893 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Pierre Labastie 5 yıl önce
ebeveyn
işleme
c3007946a7
3 değiştirilmiş dosya ile 28 ekleme ve 6 silme
  1. 26 4
      chapter03/introduction.xml
  2. 1 1
      chapter07/network.xml
  3. 1 1
      chapter07/networkd.xml

+ 26 - 4
chapter03/introduction.xml

@@ -49,9 +49,28 @@
 
 <screen role="nodump"><userinput>chmod -v a+wt $LFS/sources</userinput></screen>
 
-  <para>An easy way to download all of the packages and patches is by using
-  <ulink url="../wget-list">wget-list</ulink> as an input to
-  <command>wget</command>. For example:</para>
+  <para>There are several ways to optain all the necessary packages and patches
+  to build LFS:</para>
+
+  <itemizedlist>
+    <listitem>
+      <para>The files can be downloaded individually as described in the 
+      next two sections.</para>
+    </listitem>
+    <listitem>
+      <para>For stable versions of the book, a tarball of all the needed files 
+      can be downloaded from one of the LFS files mirrors listed at
+      <ulink url="http://www.linuxfromscratch.org/mirrors.html#files"/>.</para>
+    </listitem>
+    <listitem>
+      <para>The files can be downloaded using <command>wget</command> and
+      a wget-list as described below.</para>
+    </listitem>
+  </itemizedlist>
+
+  <para>To download all of the packages and patches by using
+  <ulink url="../wget-list">wget-list</ulink> as an input to the
+  <command>wget</command> command, use:</para>
 
 <screen role="nodump"><userinput>wget --input-file=wget-list --continue --directory-prefix=$LFS/sources</userinput></screen>
 
@@ -61,7 +80,10 @@
   <filename class="directory">$LFS/sources</filename> and run:</para>
 
 <screen role="nodump"><userinput>pushd $LFS/sources
-md5sum -c md5sums
+  md5sum -c md5sums
 popd</userinput></screen>
 
+  <para>This check can be used after retrieving the needed files with any of the 
+  methods listed above.</para>
+
 </sect1>

+ 1 - 1
chapter07/network.xml

@@ -208,7 +208,7 @@ EOF</userinput></screen>
 <screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
 <literal># Begin /etc/hosts
 
-127.0.0.1 localhost
+127.0.0.1 localhost.localdomain localhost
 127.0.1.1 <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable>
 <replaceable>&lt;192.168.1.1&gt;</replaceable> <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable> <replaceable>[alias1] [alias2 ...]</replaceable>
 ::1       localhost ip6-localhost ip6-loopback

+ 1 - 1
chapter07/networkd.xml

@@ -294,7 +294,7 @@ EOF</userinput></screen>
 <screen role="nodump"><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
 <literal># Begin /etc/hosts
 
-127.0.0.1 localhost
+127.0.0.1 localhost.localdomain localhost
 127.0.1.1 <replaceable>&lt;FQDN&gt;</replaceable> <replaceable>&lt;HOSTNAME&gt;</replaceable>
 ::1       localhost ip6-localhost ip6-loopback
 ff02::1   ip6-allnodes