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 0c73199c65 LFS-8.3-rc2 7 years ago
appendices 76db8d6fa1 Add LANG to vim test instructions. 7 years ago
bootscripts 4584c156c2 Use correct switch in mountfs script 8 years ago
chapter01 03a2507e24 LFS-8.3-rc2 7 years ago
chapter02 76db8d6fa1 Add LANG to vim test instructions. 7 years ago
chapter03 76db8d6fa1 Add LANG to vim test instructions. 7 years ago
chapter04 25332b5e97 Add comments to the kernel section to change the unwinder option. 7 years ago
chapter05 76db8d6fa1 Add LANG to vim test instructions. 7 years ago
chapter06 e93833462d Update to linux-4.18. 7 years ago
chapter07 11246f4550 Comment out more duplicate sections 7 years ago
chapter08 f7cf1fb5cd Provide better i18n instructions to setting up /etc/fstab. 7 years ago
chapter09 b55310ed25 Remove reference to openssl in BLFS in Chapter 9. 7 years ago
images 5c3f304a8f Adding some new png files to supoprt alternate css 10 years ago
prologue 1f5b6137b7 Fix FHS URL 7 years ago
stylesheets 25332b5e97 Add comments to the kernel section to change the unwinder option. 7 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. 7 years ago
Makefile 855fda1e56 Makefile: for pdf rendering: 7 years ago
README 141be70e59 Test commit 7 years ago
aux-file-data.sh ba8848f4d0 Fix a few more typos and whitespaces. 11 years ago
general.ent 03a2507e24 LFS-8.3-rc2 7 years ago
index.xml 35a5259fe6 Optimize building merged books 9 years ago
lfs-latest.php c5eaf41f83 Fix for new bzip2 location 7 years ago
make-aux-files.sh f896e21c3f Updated udev to version 186. This update has a major procedure 13 years ago
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 18 years ago
packages.ent 03a2507e24 LFS-8.3-rc2 7 years ago
patches.ent 8125d4986c Fix a build failure with glibc-2.28 7 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 13 years ago
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 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