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/

Pierre Labastie 1cd59612d0 Add a tip for meson and ninja in the SysV book, telling that those packages 4 years ago
appendices ea7ec72fba Typos. 4 years ago
bootscripts b9560f3159 Remove errant swap dependency for checkfs 5 years ago
chapter01 3369724788 Updates to cross2 Chapter 1 4 years ago
chapter02 b99b7d3a6e Update text in cross2 branch Chapter 2. 4 years ago
chapter03 3b1b9de387 Remove commented out patches in cross2 4 years ago
chapter04 70f0882d4c No /lib64 on i686 4 years ago
chapter05 d125a6bd0b Add forgotten "case" in glibc chapter 5 4 years ago
chapter06 d394cf7f19 Add explanations for new configure switches in binutils pass 2 4 years ago
chapter07 70f0882d4c No /lib64 on i686 4 years ago
chapter08 1cd59612d0 Add a tip for meson and ninja in the SysV book, telling that those packages 4 years ago
chapter09 4234aea632 Fix the /etc/hosts file on systemd 4 years ago
chapter10 37b5ac1293 Finish review/update to cross2 book 4 years ago
chapter11 37b5ac1293 Finish review/update to cross2 book 4 years ago
images 5c3f304a8f Adding some new png files to supoprt alternate css 9 years ago
prologue ea7ec72fba Typos. 4 years ago
stylesheets a4053b5ba2 Slightly modify lfs.css so that the Dependencies page renders Ok on epiphany 4 years ago
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source 7 years ago
INSTALL 1c6c92e9eb Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. 6 years ago
Makefile e0578b6050 Remove unused lines in Makefile 4 years ago
README 141be70e59 Test commit 6 years ago
aux-file-data.sh 43194f056d Convert bootscripts and udev tarballs to xz 5 years ago
general.ent 1cd59612d0 Add a tip for meson and ninja in the SysV book, telling that those packages 4 years ago
index.xml 595ff030f0 Tweaks to cross2 book 4 years ago
lfs-latest.php f1aad2eb3a Merge Upstream up to 11848 4 years ago
make-aux-files.sh 43194f056d Convert bootscripts and udev tarballs to xz 5 years ago
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 17 years ago
packages.ent ad15abd0c0 - Fix SBUs in libpipeline 4 years ago
patches.ent d53fefab5a Update to upstream r11895 4 years ago
pdf-fixups.sh 040ecb6de9 Update to man-db-2.7.4. 9 years ago
process-scripts.sh b2b1e1aa5f Move directory to make build easier 12 years ago
tidy.conf 5b949a9f84 Adjust tidy.conf for recent version 6 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.

In all examples, setting the parameter REV=systemd is needed to build the
systemd version of the book.

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