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 ce9b68d158 reboot: remove the reference to gptfdisk and parted, fdisk now could handle GPT 3 years ago
appendices 19e73cb8ad Updates to dependencies 4 years ago
bootscripts 3c784d8d8a make a Should-Stop dependency of swap to allow clean install 4 years ago
chapter01 e8bdec57fa Update to libcap-2.46. 3 years ago
chapter02 c0c616a439 fix some typos 4 years ago
chapter03 e8bdec57fa Update to libcap-2.46. 3 years ago
chapter04 a2d41cf2c4 Minor text changes 4 years ago
chapter05 17eb152e1a binutils-pass1: adjust timing sample to match the build command 4 years ago
chapter06 c0c616a439 fix some typos 4 years ago
chapter07 45d8933fde always remove the docs of temporary tools 4 years ago
chapter08 e8bdec57fa Update to libcap-2.46. 3 years ago
chapter09 4567d8bb9d typos 4 years ago
chapter10 22009fb768 Update to systemd-247 3 years ago
chapter11 ce9b68d158 reboot: remove the reference to gptfdisk and parted, fdisk now could handle GPT 3 years ago
images 5c3f304a8f Adding some new png files to supoprt alternate css 9 years ago
part3intro 00e20beef4 Remove an inaccuracy in toolchain technical notes: 4 years ago
prologue ea7ec72fba Typos. 4 years ago
stylesheets 686c88ba6b Add a note about /etc/bash.bashrc used in some distros. 4 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. 6 years ago
Makefile 675606bde2 Split Chapter 5 into three separate chapters. 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 e8bdec57fa Update to libcap-2.46. 3 years ago
index.xml 12fff1eb8d Slightly change the layout in part III, so that the preliminary material 4 years ago
lfs-latest.php de3fb6c1b8 Fix iana-etc currency 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 e8bdec57fa Update to libcap-2.46. 3 years ago
patches.ent 02796f856d Patch meson so that the pkgconfig file for sysprof in BLFS is created correctly. 3 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 12 years ago
tidy.conf 5b949a9f84 Adjust tidy.conf for recent version 6 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