mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-31 11:21:59 +00:00
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:
parent
3e2daaa35d
commit
83a01db0ab
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user