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/

DJ Lucas c350d43a4d Fixed grep's -i feature. 17 年之前
appendices 9047098ea1 Typo 17 年之前
bootscripts 0c051c7ab7 undo premature rename of scripts 17 年之前
chapter01 c350d43a4d Fixed grep's -i feature. 17 年之前
chapter02 293164a560 Corrected the instruction to untar the E2fsprogs tarball in Section 2.3, thanks to William Immendorf for pointing out the error 17 年之前
chapter03 324209d15c Replaced coreutils-i18n patch. 17 年之前
chapter04 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 年之前
chapter05 c350d43a4d Fixed grep's -i feature. 17 年之前
chapter06 c350d43a4d Fixed grep's -i feature. 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 c26ddbf2c4 Make title of fstab entry for /dev/shm consistent with kernel documentation 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 56ca3a5fa6 Added a note to the Host System Requirements that the 17 年之前
stylesheets c9af9c626f Tweak the appearance of notes in the book's html 17 年之前
udev-config 649b4eeda2 typo and thinko fix 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 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 年之前
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 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 年之前
patches.ent 324209d15c Replaced coreutils-i18n patch. 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