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 da09a82a35 Reorder the contents of chapter 7 to flow better. Fixes #2366. 16 年之前
appendices abbd5d2a12 Update Greg Schafer's entry in the acknowledgments section 16 年之前
bootscripts 77e2988b31 Minor changes for consistent pdf generation 16 年之前
chapter01 da09a82a35 Reorder the contents of chapter 7 to flow better. Fixes #2366. 16 年之前
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 04b83d4a46 Upgrade to Tar-1.22. Fixes #2358. 16 年之前
chapter04 4e82d4787a Bring in DIY's next generation build method. Move GRUB to chapter 8. 16 年之前
chapter05 d1b03c872e Build mkswap for e2fsprogs' testsuite, and remove unnecessary BLKID_LIBS variable. Fixes #2361. 16 年之前
chapter06 c92413c550 Use Inetutils' version of hostname, rather than Coreutils' version. Fixes #2364. 16 年之前
chapter07 da09a82a35 Reorder the contents of chapter 7 to flow better. Fixes #2366. 16 年之前
chapter08 699b0f201e Fix some typos and grammar issues reported by Chris Staub in #2307. 16 年之前
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 4c0c012ee1 Reformatted several pages so pdf is properly generated. 16 年之前
stylesheets 77e2988b31 Minor changes for consistent pdf generation 16 年之前
udev-config a1712769bd Finish fixing udev rules 16 年之前
INSTALL 0d8c5d4aa4 Fixed ambiguity in INSTALL. 20 年之前
Makefile 6d13ffb55c process-scripts.sh and make-aux-files.sh don't currently make use of command line parameters. 16 年之前
README 05e94658c6 Updated README and INSTALL. 20 年之前
aux-file-data.sh f56f0428d3 Date type and remove some tab characters 16 年之前
general.ent d1b03c872e Build mkswap for e2fsprogs' testsuite, and remove unnecessary BLKID_LIBS variable. Fixes #2361. 16 年之前
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 91882015fd Upgrade to Udev-139. Fixes #2350. 16 年之前
patches.ent 04b83d4a46 Upgrade to Tar-1.22. Fixes #2358. 16 年之前
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