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/

Thomas Trepl 17ca5488d2 Some cosmetic tweaks 4 lat temu
appendices 19e73cb8ad Updates to dependencies 4 lat temu
bootscripts b9560f3159 Remove errant swap dependency for checkfs 4 lat temu
chapter01 fa493eaf7f changelog: correct ticket numbers 4 lat temu
chapter02 e4bdfc541e chapter02/hostreqs: remove hard-pagebreak which is no longer needed (with fop-2.1 on higgs) 4 lat temu
chapter03 28e610dbf1 Move tcl, expect, and dejagnu to Chapter 8 4 lat temu
chapter04 d860650913 bc: new homepage 4 lat temu
chapter05 d9cdc3e9db temp glibc: /tools -> $LFS/tools 4 lat temu
chapter06 fe039b5f78 Match ncurses chapter 6 to what is done in chapter 8, and add explanations 4 lat temu
chapter07 17ca5488d2 Some cosmetic tweaks 4 lat temu
chapter08 a0de64cd75 binutils: add libctf libraries to Installed Libraries 4 lat temu
chapter09 4234aea632 Fix the /etc/hosts file on systemd 4 lat temu
chapter10 37b5ac1293 Finish review/update to cross2 book 4 lat temu
chapter11 37b5ac1293 Finish review/update to cross2 book 4 lat temu
images 5c3f304a8f Adding some new png files to supoprt alternate css 9 lat temu
part3intro 3543e03800 do not hardcode chapter numbers in General Compilation Instructions 4 lat temu
prologue ea7ec72fba Typos. 4 lat temu
stylesheets 686c88ba6b Add a note about /etc/bash.bashrc used in some distros. 4 lat temu
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source 7 lat temu
INSTALL 1c6c92e9eb Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. 6 lat temu
Makefile 675606bde2 Split Chapter 5 into three separate chapters. 4 lat temu
README 141be70e59 Test commit 6 lat temu
aux-file-data.sh 43194f056d Convert bootscripts and udev tarballs to xz 5 lat temu
general.ent 52539e13be Update to Python3-3.8.5. 4 lat temu
index.xml 12fff1eb8d Slightly change the layout in part III, so that the preliminary material 4 lat temu
lfs-latest.php 477c098584 Fix procps-ng currency 4 lat temu
make-aux-files.sh 43194f056d Convert bootscripts and udev tarballs to xz 5 lat temu
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 17 lat temu
packages.ent 52539e13be Update to Python3-3.8.5. 4 lat temu
patches.ent 380fdc0ab7 Fix a segfault in systemd-udevd 4 lat temu
pdf-fixups.sh 040ecb6de9 Update to man-db-2.7.4. 9 lat temu
process-scripts.sh b2b1e1aa5f Move directory to make build easier 12 lat temu
tidy.conf 5b949a9f84 Adjust tidy.conf for recent version 6 lat temu

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