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 6fb10045a9 Commit forgotten Makefile in previous commit 4 years ago
appendices cc98817b61 deps: Python needs system Expat 4 years ago
bootscripts b9560f3159 Remove errant swap dependency for checkfs 4 years ago
chapter01 d9447c15c1 Update to libcap-2.32. 4 years ago
chapter02 210fc78f29 Update to ncurses-6.2. 4 years ago
chapter03 197d781906 Typo. Thanks to K.Buckley 4 years ago
chapter04 afcfd745ae Remove unused files and make 4 years ago
chapter05 b6dd4d724b Remove an obsolete option in libstdc++ 4 years ago
chapter06 3f7f3df039 There are now 197 tests in GMP rather than 190 4 years ago
chapter07 afcfd745ae Remove unused files and make 4 years ago
chapter08 6cf2844d5b systemd: Update kernel configuration to match the arrangement used in Linux-5.5+ 4 years ago
chapter09 6a57b4c2ec Add /etc/os-release to SysV, 4 years ago
images 5c3f304a8f Adding some new png files to supoprt alternate css 9 years ago
prologue 394dc3fc60 Make the "target architectures" section more up to date 4 years ago
stylesheets 1cb44818d1 Completely remove docbook snapshot 4 years ago
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source 6 years ago
INSTALL 1c6c92e9eb Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. 6 years ago
Makefile 6fb10045a9 Commit forgotten Makefile in previous commit 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 d9447c15c1 Update to libcap-2.32. 4 years ago
index.xml 35a5259fe6 Optimize building merged books 8 years ago
lfs-latest.php 230ced1248 Fix currency for Python 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 d9447c15c1 Update to libcap-2.32. 4 years ago
patches.ent b7b0eea7be Update to bc-2.4.0 4 years ago
pdf-fixups.sh 040ecb6de9 Update to man-db-2.7.4. 8 years ago
process-scripts.sh b2b1e1aa5f Move directory to make build easier 11 years ago
tidy.conf 5b949a9f84 Adjust tidy.conf for recent version 5 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