Linux From Scratch (LFS) is a project that provides you with step-by-step instructions for building your own customized Linux system entirely from source. http://www.linuxfromscratch.org/lfs/

Matthew Burgess 55b3f62449 Add GMP & MPFR package dependencies, and remove Mktemp dependencies. Fixes #2218. 17 years ago
appendices 55b3f62449 Add GMP & MPFR package dependencies, and remove Mktemp dependencies. Fixes #2218. 17 years ago
bootscripts 0c051c7ab7 undo premature rename of scripts 17 years ago
chapter01 55b3f62449 Add GMP & MPFR package dependencies, and remove Mktemp dependencies. Fixes #2218. 17 years ago
chapter02 293164a560 Corrected the instruction to untar the E2fsprogs tarball in Section 2.3, thanks to William Immendorf for pointing out the error 17 years ago
chapter03 324209d15c Replaced coreutils-i18n patch. 17 years ago
chapter04 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
chapter05 b772130d04 Added ac_cv_func_working_mktime=yes to the configure commands in gawk and bash 17 years ago
chapter06 1e77f0cc68 Updated list of minimum locales. 17 years ago
chapter07 61e63d302c Upgrade Udev to 122, udev-config to 20080522, and lfs-bootscripts to 20080522. Replace "write_net_rules all_interfaces" with a "udevadm test" loop. Fix several typos. Remove the usb_id segfault patch, as it's included in Udev now. Add /lib/udev/devices/kmsg, as udevd uses /dev/kmsg to log a message at startup. Replace udevtrigger/udevinfo with "udevadm trigger" and "udevadm info" in the text. 17 years ago
chapter08 c26ddbf2c4 Make title of fstab entry for /dev/shm consistent with kernel documentation 17 years ago
chapter09 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 years ago
images 192ac089b9 Import the admonition graphics from the DocBook-XSL package. 18 years ago
prologue 56ca3a5fa6 Added a note to the Host System Requirements that the 17 years ago
stylesheets c9af9c626f Tweak the appearance of notes in the book's html 17 years ago
udev-config 649b4eeda2 typo and thinko fix 17 years ago
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 years ago
Makefile fbb442ea34 More tweaking of Makefile validate rule 17 years ago
README 05e94658c6 Updated README and INSTALL. 20 years ago
aux-file-data.sh 1c4800743d Moved bootscripts and udev-config to BOOK 17 years ago
general.ent 9ff6ff3fb3 GCC 4.3.2 uses a new location for fixed includes. Fix scripts in chapter 5's adjusting toolchain section to use it. 17 years ago
index.xml 12bc33686f Add udev rules as an appendix 17 years ago
make-aux-files.sh 1c4800743d Moved bootscripts and udev-config to BOOK 17 years ago
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 18 years ago
packages.ent 53579a53e3 Updated the book to use 4.13a as the Texinfo version, even though the tarball is exactly the same as the previous 4.13 version 17 years ago
patches.ent 324209d15c Replaced coreutils-i18n patch. 17 years ago
process-scripts.sh abcee477f0 Change book build scripts to specify bash, not sh 17 years ago
tidy.conf 58f10f85ed HTML Tidy's newline detection appears to be broken. Force LF line endings assuming people are rendering on a Linux box 20 years ago

README

LFS Book README

This document is meant to instruct the user on how to convert the book's XML
source to other formats (e.g. HTML, PDF, PS and TXT). First, if you have not
already done so, please read the INSTALL file for instructions on how to install
the required software. If you have already completed the steps outlined in the
INSTALL file, then continue reading for examples how to convert these files into
various other formats.

XML to XHTML:
-------------
make BASEDIR=/path/to/output/location


XML to single file XHTML (nochunks):
------------------------------------
make BASEDIR=/path/to/output/location nochunks


XML to TXT
----------
Follow the instructions for nochunks and then run:
lynx -dump /path/to/nochunks >/path/to/output


XML to PDF:
-----------
make BASEDIR=/path/to/output/location pdf