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 3c63868dde Added a General Compilation Instructions section 17 年之前
appendices 55b3f62449 Add GMP & MPFR package dependencies, and remove Mktemp dependencies. Fixes #2218. 17 年之前
bootscripts ceed481524 Added Dan Nicholson's patch for #2160, and cleaned up tab/spacing in changelog. 17 年之前
chapter01 3c63868dde Added a General Compilation Instructions section 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 33d608db5a Remove unnecessary mandir patch. Updated vim package contents. 17 年之前
chapter04 b06ca361a4 Updated book sources to use DocBook-XML DTD 4.5 18 年之前
chapter05 3c63868dde Added a General Compilation Instructions section 17 年之前
chapter06 33d608db5a Remove unnecessary mandir patch. Updated vim package contents. 17 年之前
chapter07 53eeda098e Removed literal use of the greek character 'alpha' due to error in rendered PDF. 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 6da4dd739d Forgot to bump the date. 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 7d6c9a64b5 Checked in Alexander Patrakov's changes for the console page, and related bootscripts update. 17 年之前
patches.ent 33d608db5a Remove unnecessary mandir patch. Updated vim package contents. 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