mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
Update to upstream r11892
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/cross-chap5@11893 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
aa990c980f
commit
c3007946a7
@ -49,9 +49,28 @@
|
|||||||
|
|
||||||
<screen role="nodump"><userinput>chmod -v a+wt $LFS/sources</userinput></screen>
|
<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
|
<para>There are several ways to optain all the necessary packages and patches
|
||||||
<ulink url="../wget-list">wget-list</ulink> as an input to
|
to build LFS:</para>
|
||||||
<command>wget</command>. For example:</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>
|
<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>
|
<filename class="directory">$LFS/sources</filename> and run:</para>
|
||||||
|
|
||||||
<screen role="nodump"><userinput>pushd $LFS/sources
|
<screen role="nodump"><userinput>pushd $LFS/sources
|
||||||
md5sum -c md5sums
|
md5sum -c md5sums
|
||||||
popd</userinput></screen>
|
popd</userinput></screen>
|
||||||
|
|
||||||
|
<para>This check can be used after retrieving the needed files with any of the
|
||||||
|
methods listed above.</para>
|
||||||
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
@ -208,7 +208,7 @@ EOF</userinput></screen>
|
|||||||
<screen><userinput>cat > /etc/hosts << "EOF"
|
<screen><userinput>cat > /etc/hosts << "EOF"
|
||||||
<literal># Begin /etc/hosts
|
<literal># Begin /etc/hosts
|
||||||
|
|
||||||
127.0.0.1 localhost
|
127.0.0.1 localhost.localdomain localhost
|
||||||
127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable>
|
127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable>
|
||||||
<replaceable><192.168.1.1></replaceable> <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> <replaceable>[alias1] [alias2 ...]</replaceable>
|
<replaceable><192.168.1.1></replaceable> <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable> <replaceable>[alias1] [alias2 ...]</replaceable>
|
||||||
::1 localhost ip6-localhost ip6-loopback
|
::1 localhost ip6-localhost ip6-loopback
|
||||||
|
@ -294,7 +294,7 @@ EOF</userinput></screen>
|
|||||||
<screen role="nodump"><userinput>cat > /etc/hosts << "EOF"
|
<screen role="nodump"><userinput>cat > /etc/hosts << "EOF"
|
||||||
<literal># Begin /etc/hosts
|
<literal># Begin /etc/hosts
|
||||||
|
|
||||||
127.0.0.1 localhost
|
127.0.0.1 localhost.localdomain localhost
|
||||||
127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable>
|
127.0.1.1 <replaceable><FQDN></replaceable> <replaceable><HOSTNAME></replaceable>
|
||||||
::1 localhost ip6-localhost ip6-loopback
|
::1 localhost ip6-localhost ip6-loopback
|
||||||
ff02::1 ip6-allnodes
|
ff02::1 ip6-allnodes
|
||||||
|
Loading…
Reference in New Issue
Block a user