introduction.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="materials-introduction">
  7. <title>Introduction</title>
  8. <?dbhtml filename="introduction.html"?>
  9. <para>This chapter includes a list of packages that need to be downloaded for
  10. building a basic Linux system. The listed version numbers correspond to versions
  11. of the software that are known to work, and this book is based on their use. We
  12. highly recommend not using newer versions because the build commands for one
  13. version may not work with a newer version. The newest package versions may also
  14. have problems that require work-arounds. These work-arounds will be developed
  15. and stabilized in the SVN version of the book.</para>
  16. <para>Download locations may not always be accessible. If a download
  17. location has changed since this book was published, Google (<ulink
  18. url="http://www.google.com/"/>) provides a useful search engine for
  19. most packages. If this search is unsuccessful, try one of the
  20. alternate means of downloading discussed at <ulink
  21. url="&lfs-root;lfs/packages.html"/>.</para>
  22. <para>Downloaded packages and patches will need to be stored somewhere
  23. that is conveniently available throughout the entire build. A working
  24. directory is also required to unpack the sources and build them.
  25. <filename class="directory">$LFS/sources</filename> can be used both
  26. as the place to store the tarballs and patches and as a working
  27. directory. By using this directory, the required elements will be
  28. located on the LFS partition and will be available during all stages
  29. of the building process.</para>
  30. <para>To create this directory, execute, as user
  31. <emphasis>root</emphasis>, the following command before starting the
  32. download session:</para>
  33. <screen><userinput>mkdir $LFS/sources</userinput></screen>
  34. <para>Make this directory writable and sticky. <quote>Sticky</quote>
  35. means that even if multiple users have write permission on a
  36. directory, only the owner of a file can delete the file within a
  37. sticky directory. The following command will enable the write and
  38. sticky modes:</para>
  39. <screen><userinput>chmod a+wt $LFS/sources</userinput></screen>
  40. </sect1>