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/

Bruce Dubbs fbb442ea34 More tweaking of Makefile validate rule 17 年之前
appendices 6cc051651b Updated GCC to 4.3.2 which includes adding the GMP-4.2.4 and MPFR-2.3.2 packages - This new version of GCC requires the added packages - Thanks to DJ Lucas for the stimulus and initial work resulting in this and all of the other package updates coming up 17 年之前
bootscripts 0c051c7ab7 undo premature rename of scripts 17 年之前
chapter01 43523c35b5 Updated the Bash Fixes patch to the -8 version 17 年之前
chapter02 f0fecc7e8a Upgrade to E2fsprogs-1.40.5. Fixes #2138. 17 年之前
chapter03 1100dfc670 Added a patch to the Expect instructions to fix an issue with recent Tcl versions 17 年之前
chapter04 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 年之前
chapter05 1100dfc670 Added a patch to the Expect instructions to fix an issue with recent Tcl versions 17 年之前
chapter06 7a8d7c6c6c Typo 17 年之前
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 年之前
chapter08 2b694e785b Updated the Linux kernel to 2.6.26.5 17 年之前
chapter09 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 年之前
images 192ac089b9 Import the admonition graphics from the DocBook-XSL package. 18 年之前
prologue 3ccd4fef31 Cosmetic change to perl check 17 年之前
stylesheets c1fe047a4d Merged r8368 from new-xsl branch. 18 年之前
udev-config 1c4800743d Moved bootscripts and udev-config to BOOK 17 年之前
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 年之前
Makefile fbb442ea34 More tweaking of Makefile validate rule 17 年之前
README 05e94658c6 Updated README and INSTALL. 20 年之前
aux-file-data.sh 1c4800743d Moved bootscripts and udev-config to BOOK 17 年之前
general.ent 6d7b95a812 Added the GMP and MPFR packages to the list of packages in Chapter 3, thanks to Lefteris Dimitroulakis for pointing out the omission 17 年之前
index.xml 12bc33686f Add udev rules as an appendix 17 年之前
make-aux-files.sh 1c4800743d Moved bootscripts and udev-config to BOOK 17 年之前
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 18 年之前
packages.ent 85ca28c900 Updated Tcl to 8.5.4 17 年之前
patches.ent 1e2704c02a Fixed Expect-Tcl patch MD5sum 17 年之前
process-scripts.sh abcee477f0 Change book build scripts to specify bash, not sh 17 年之前
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 年之前

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