introduction.xml 2.4 KB

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