From 81fd230419b0cfd052b08fc1ed352bb7d49975df Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 19 Feb 2005 22:16:42 +0000 Subject: Trunk is now identical to Testing git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@4648 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter03/introduction.xml | 40 +++++++++++- chapter03/packages.xml | 156 +++++++++++++++++++++++---------------------- chapter03/patches.xml | 38 ++++++++--- 3 files changed, 146 insertions(+), 88 deletions(-) (limited to 'chapter03') diff --git a/chapter03/introduction.xml b/chapter03/introduction.xml index 2573020b6..5791720a5 100644 --- a/chapter03/introduction.xml +++ b/chapter03/introduction.xml @@ -7,12 +7,48 @@ Introduction -Create a dir for the sources: +This chapter includes a list of packages that need to be +downloaded for building a basic Linux system. The listed version numbers +correspond to versions of the software that are known to work, and +this book is based on their use. We highly recommend not using newer +versions because the build commands for one version may not work with +a newer version. The newest package versions may also have problems +that work-arounds have not been developed for yet. + +All the URLs, when possible, refer to the package's information +page at . The Freshmeat pages +provide easy access to official download sites, as well as project +websites, mailing lists, FAQ, changelogs, and more. + +Download locations may not always be accessible. If a download +location has changed since this book was published, Google () provides a useful search engine for +most packages. If this search is unsuccessful, try one of the +alternate means of downloading discussed at . + +Downloaded packages and patches will need to be stored somewhere +that is conveniently available throughout the entire build. A working +directory is also required to unpack the sources and build them. +$LFS/sources can be used both +as the place to store the tarballs and patches and as a working +directory. By using this directory, the required elements will be +located on the LFS partition and will be available during all stages +of the building process. + +To create this directory, execute, as user +root, the following command before starting the +download session: mkdir $LFS/sources -Set the permissions of that dir: +Make this directory writable and sticky. Sticky +means that even if multiple users have write permission on a +directory, only the owner of a file can delete the file within a +sticky directory. The following command will enable the write and +sticky modes: chmod a+wt $LFS/sources + diff --git a/chapter03/packages.xml b/chapter03/packages.xml index da281d61d..babbb6e01 100644 --- a/chapter03/packages.xml +++ b/chapter03/packages.xml @@ -10,131 +10,136 @@ Download or otherwise obtain the following packages: -Packages -Autoconf (&autoconf-version;) - 903 KB: +Autoconf (&autoconf-version;) - 903 kilobytes (KB): - + -Automake (&automake-version;) - 740 KB: +Automake (&automake-version;) - 681 KB: - + Bash (&bash-version;) - 1,910 KB: - + Binutils (&binutils-version;) - 10,666 KB: - + Bison (&bison-version;) - 796 KB: - + Bzip2 (&bzip2-version;) - 650 KB: - + Coreutils (&coreutils-version;) - 3,860 KB: - + DejaGNU (&dejagnu-version;) - 1,055 KB: - + Diffutils (&diffutils-version;) - 762 KB: - + -E2fsprogs (&e2fsprogs-version;) - 3,188 KB: +E2fsprogs (&e2fsprogs-version;) - 3,003 KB: - + -Expect (&expect-version;) - 513 KB: +Expect (&expect-version;) - 510 KB: - + -File (&file-version;) - 411 KB: +File (&file-version;) - 356 KB: - + +File (&file-version;) may no longer be available at the +listed location. The site administrators of the master download +location occasionally remove older versions when new ones are +released. An alternate download location that may have the correct +version available is . -Findutils (&findutils-version;) - 914 KB: +Findutils (&findutils-version;) - 760 KB: - + Flex (&flex-version;) - 372 KB: - + -Gawk (&gawk-version;) - 1,596 KB: +Gawk (&gawk-version;) - 1,692 KB: - + -GCC (&gcc-version;) - ~27,000KB: +GCC (&gcc-version;) - 27,000 KB: - + Gettext (&gettext-version;) - 6,397 KB: - + -Glibc (&glibc-version;) - 12,904 KB: +Glibc (&glibc-version;) - 13,101 KB: - + @@ -148,19 +153,19 @@ Grep (&grep-version;) - 545 KB: - + Groff (&groff-version;) - 2,360 KB: - + -Grub (&grub-version;) - 963 KB: +Grub (&grub-version;) - 902 KB: @@ -183,19 +188,19 @@ Iana-Etc (&iana-etc-version;) - 161 KB: - + Inetutils (&inetutils-version;) - 1,019 KB: - + -IPRoute2 (&iproute2-version;) - 230 KB: +IPRoute2 (&iproute2-version;) - 264 KB: @@ -204,84 +209,84 @@ Kbd (&kbd-version;) - 617 KB: - + Less (&less-version;) - 259 KB: - + -LFS-Bootscripts (&lfs-bootscripts-version;) - 14 KB: +LFS-Bootscripts (&lfs-bootscripts-version;) - 16 KB: - -Libol (&libol-version;) - 337 KB: + +Libol (&libol-version;) - 336 KB: - + -Libtool (&libtool-version;) - 2,668 KB: +Libtool (&libtool-version;) - 2,602 KB: - + -Linux (&linux-version;) - 30,051 KB: +Linux (&linux-version;) - 34,793 KB: - + -Linux-Libc-Headers (&linux-libc-headers-version;) - 2,460 KB: +Linux-Libc-Headers (&linux-libc-headers-version;) - 2,602 KB: -M4 (&m4-version;) - 310 KB: +M4 (&m4-version;) - 337 KB: - + Make (&make-version;) - 899 KB: - + -Man (&man-version;) - 228 KB: +Man (&man-version;) - 223 KB: - + -Man-pages (&man-pages-version;) - 1,629 KB: +Man-pages (&man-pages-version;) - 1,586 KB: - + Mktemp (&mktemp-version;) - 69 KB: - + @@ -295,91 +300,91 @@ Ncurses (&ncurses-version;) - 2,019 KB: - + Patch (&patch-version;) - 182 KB: - + -Perl (&perl-version;) - 9,466 KB: +Perl (&perl-version;) - 9,373 KB: - + Procps (&procps-version;) - 271 KB: - + Psmisc (&psmisc-version;) - 375 KB: - + Readline (&readline-version;) - 940 KB: - + Sed (&sed-version;) - 776 KB: - + Shadow (&shadow-version;) - 996 KB: - + -Syslog-ng (&syslog-ng-version;) - 369 KB: +Syslog-ng (&syslog-ng-version;) - 388 KB: -Sysvinit (&sysvinit-version;) - 97 KB: +Sysvinit (&sysvinit-version;) - 91 KB: - + Tar (&tar-version;) - 1,025 KB: - + -Tcl (&tcl-version;) - 3,414 KB: +Tcl (&tcl-version;) - 3,363 KB: - + Texinfo (&texinfo-version;) - 1,385 KB: - + @@ -405,37 +410,36 @@ -Util-linux (&util-linux-version;) - 1,339: +Util-linux (&util-linux-version;) - 1,339 KB: - + Vim (&vim-version;) - 3,612 KB: - + Vim (&vim-version;) language files (optional) - 1,033 KB: - + Zlib (&zlib-version;) - 277 KB: - + - + diff --git a/chapter03/patches.xml b/chapter03/patches.xml index 28a01a6fc..c7d3efb8f 100644 --- a/chapter03/patches.xml +++ b/chapter03/patches.xml @@ -7,17 +7,23 @@ Needed Patches +In addition to the packages, several patches are also required. +These patches correct any mistakes in the packages that should be +fixed by the maintainer. The patches also make small modifications to +make the packages easier to work with. The following patches will be +needed to build an LFS system: + -Bash Various Fixes - 23 KB: +Bash Various Fixes - 21 KB: - + -Bash Avoid Wcontinued Patch - 1KB: +Bash Avoid Wcontinued Patch - 1 KB: @@ -26,7 +32,8 @@ Coreutils Suppress Uptime, Kill, Su Patch - 16 KB: - + + @@ -52,7 +59,7 @@ - GCC Linkonce Patch - 12KB: + GCC Linkonce Patch - 12 KB: @@ -75,21 +82,24 @@ Inetutils Kernel Headers Patch - 1 KB: - + + Inetutils No-Server-Man-Pages Patch - 4 KB: - + + IPRoute2 Disable DB Patch - 1 KB: - + + @@ -122,9 +132,9 @@ -Readline Various Fixes - 7 KB: +Readline Display Wrap Patch - 1 KB: - + @@ -142,4 +152,12 @@ +In addition to the above required patches, there exist a number of +optional patches created by the LFS community. These optional patches +solve minor problems or enable functionality that is not enabled by +default. Feel free to peruse the patches database located at + and acquire any additional +patches to suit the system needs. + + -- cgit v1.2.3-54-g00ecf