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/

Xi Ruoyao c53ff08f82 systemd: network configuration: network-manager is now compatible with systemd-resolved %!s(int64=3) %!d(string=hai) anos
appendices a25be74d9d dependencies: add missed comma %!s(int64=3) %!d(string=hai) anos
bootscripts 305ab2a4fa Update to bc-3.2.6. %!s(int64=3) %!d(string=hai) anos
chapter01 35e0479cb7 systemd: simplify systemd man page installation %!s(int64=3) %!d(string=hai) anos
chapter02 34fe7e07cd decorate usernames with <systemitem> %!s(int64=3) %!d(string=hai) anos
chapter03 beaca0e3e5 Update to tcl-8.6.11 %!s(int64=3) %!d(string=hai) anos
chapter04 a2d41cf2c4 Minor text changes %!s(int64=3) %!d(string=hai) anos
chapter05 0ceb295279 document x86 ISA level related breakage and workaround %!s(int64=3) %!d(string=hai) anos
chapter06 a649b07603 chapter06/file: Remove extra space from the end of one of the configure lines, which causes configure to fail to run. %!s(int64=3) %!d(string=hai) anos
chapter07 1f460e53b4 ch{07,08}/util-linux: remove redundant command %!s(int64=3) %!d(string=hai) anos
chapter08 1f28ed1243 replace old x86_64 triplets %!s(int64=3) %!d(string=hai) anos
chapter09 c53ff08f82 systemd: network configuration: network-manager is now compatible with systemd-resolved %!s(int64=3) %!d(string=hai) anos
chapter10 22009fb768 Update to systemd-247 %!s(int64=3) %!d(string=hai) anos
chapter11 1f0565af18 reboot: use umount -R to simplify the commands %!s(int64=3) %!d(string=hai) anos
images 5c3f304a8f Adding some new png files to supoprt alternate css %!s(int64=8) %!d(string=hai) anos
part3intro 00e20beef4 Remove an inaccuracy in toolchain technical notes: %!s(int64=3) %!d(string=hai) anos
prologue ea7ec72fba Typos. %!s(int64=4) %!d(string=hai) anos
stylesheets 686c88ba6b Add a note about /etc/bash.bashrc used in some distros. %!s(int64=4) %!d(string=hai) anos
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source %!s(int64=6) %!d(string=hai) anos
INSTALL 1c6c92e9eb Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. %!s(int64=6) %!d(string=hai) anos
Makefile 675606bde2 Split Chapter 5 into three separate chapters. %!s(int64=4) %!d(string=hai) anos
README 141be70e59 Test commit %!s(int64=6) %!d(string=hai) anos
aux-file-data.sh 43194f056d Convert bootscripts and udev tarballs to xz %!s(int64=4) %!d(string=hai) anos
general.ent 2772bb9c30 Fix a header file in python, so that #include <python3.9/Python.h> works. %!s(int64=3) %!d(string=hai) anos
index.xml 12fff1eb8d Slightly change the layout in part III, so that the preliminary material %!s(int64=4) %!d(string=hai) anos
lfs-latest.php 4f8ae86158 Fix procps-ng currency %!s(int64=3) %!d(string=hai) anos
make-aux-files.sh 43194f056d Convert bootscripts and udev tarballs to xz %!s(int64=4) %!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 35e0479cb7 systemd: simplify systemd man page installation %!s(int64=3) %!d(string=hai) anos
patches.ent 06addba1bf Add systemd patch to allow systemd-rfkill to work on Linux-5.11+ %!s(int64=3) %!d(string=hai) anos
pdf-fixups.sh 040ecb6de9 Update to man-db-2.7.4. %!s(int64=8) %!d(string=hai) anos
process-scripts.sh b2b1e1aa5f Move directory to make build easier %!s(int64=11) %!d(string=hai) anos
tidy.conf 5b949a9f84 Adjust tidy.conf for recent version %!s(int64=5) %!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