Elaborate how to get needed LFS files

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11890 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2020-06-01 20:07:40 +00:00
parent 3e2daaa35d
commit 83a01db0ab

View File

@ -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> caoomad, 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>