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 27bf0df03c UPdate README %!s(int64=8) %!d(string=hai) anos
appendices 35a5259fe6 Optimize building merged books %!s(int64=8) %!d(string=hai) anos
bootscripts 7c4d11a23a Revise version-check.sh to flag bad /bin/sh symlinks %!s(int64=9) %!d(string=hai) anos
chapter01 28cf0f7c94 (systemd) Fixed the resolv.conf symlink and added note about using our generated tarball %!s(int64=8) %!d(string=hai) anos
chapter02 7eac1a5ed5 Typos %!s(int64=8) %!d(string=hai) anos
chapter03 28cf0f7c94 (systemd) Fixed the resolv.conf symlink and added note about using our generated tarball %!s(int64=8) %!d(string=hai) anos
chapter04 3aee2ac264 Update to eudev-1.10 %!s(int64=10) %!d(string=hai) anos
chapter05 9d6ddc4efb Minor text clarification %!s(int64=8) %!d(string=hai) anos
chapter06 28cf0f7c94 (systemd) Fixed the resolv.conf symlink and added note about using our generated tarball %!s(int64=8) %!d(string=hai) anos
chapter07 e54605e14a Typo fix %!s(int64=8) %!d(string=hai) anos
chapter08 de5d133aa2 Update systemd kernel configuration to ensure that CONFIG_SYSFS_DEPRECATED{,_V2} is disabled. %!s(int64=8) %!d(string=hai) anos
chapter09 a840e5905d Update to systemd-231 %!s(int64=8) %!d(string=hai) anos
images 5c3f304a8f Adding some new png files to supoprt alternate css %!s(int64=9) %!d(string=hai) anos
prologue e787b1fe14 Update to dbus-1.10.8. %!s(int64=8) %!d(string=hai) anos
stylesheets 77ab7f35e9 Update Makefile for merged files" nochunks, md5sums, wget-list %!s(int64=8) %!d(string=hai) anos
udev-lfs 947141c851 Typos %!s(int64=8) %!d(string=hai) anos
INSTALL 82d957c29a Update bash upstream patch for CVE-2014-6271, CVE-2014-7169, and %!s(int64=10) %!d(string=hai) anos
Makefile 628860260f Tweaking Makefile messages %!s(int64=8) %!d(string=hai) anos
README 27bf0df03c UPdate README %!s(int64=8) %!d(string=hai) anos
aux-file-data.sh ba8848f4d0 Fix a few more typos and whitespaces. %!s(int64=11) %!d(string=hai) anos
general.ent 28cf0f7c94 (systemd) Fixed the resolv.conf symlink and added note about using our generated tarball %!s(int64=8) %!d(string=hai) anos
index.xml 35a5259fe6 Optimize building merged books %!s(int64=8) %!d(string=hai) anos
make-aux-files.sh f896e21c3f Updated udev to version 186. This update has a major procedure %!s(int64=12) %!d(string=hai) anos
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. %!s(int64=17) %!d(string=hai) anos
packages.ent 86a7d455cd Update to linux-4.8.1. %!s(int64=8) %!d(string=hai) anos
patches.ent e8d84ce7ce Added a security patch for systemd %!s(int64=8) %!d(string=hai) anos
pdf-fixups.sh 040ecb6de9 Update to man-db-2.7.4. %!s(int64=9) %!d(string=hai) anos
process-scripts.sh b2b1e1aa5f Move directory to make build easier %!s(int64=12) %!d(string=hai) anos
tidy.conf 58f10f85ed HTML Tidy's newline detection appears to be broken. Force LF line endings assuming people are rendering on a Linux box %!s(int64=19) %!d(string=hai) anos

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