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/

DJ Lucas f9fd42c44d merge 11152 8 years ago
appendices 35a5259fe6 Optimize building merged books 8 years ago
bootscripts 7c4d11a23a Revise version-check.sh to flag bad /bin/sh symlinks 9 years ago
chapter01 f9fd42c44d merge 11152 8 years ago
chapter02 7eac1a5ed5 Typos 8 years ago
chapter03 5d15cbab73 Update to Linux-4.8.10, add flex-2.6.2-fixes-1.patch, correct systemd /sbin/sulogin issue. Fixes issues #4003, #4005, and #4006. 8 years ago
chapter04 3aee2ac264 Update to eudev-1.10 10 years ago
chapter05 f9fd42c44d merge 11152 8 years ago
chapter06 a2bbc165ba Remove redundant parameters for chapter05 gcc installs and add description for lib=lib parameter in libcap. 8 years ago
chapter07 98a9662ea9 Clarified the function of /etc/inputrc 8 years ago
chapter08 853aeb6b15 Sync to trunk r11149. Update to coreutils-8.26, dbus-1.10.14 (systemd), linux-4.8.12, and tzdata-2016j. Fixes #4007, #4008, #4009, and #4010. 8 years ago
chapter09 a840e5905d Update to systemd-231 8 years ago
images 5c3f304a8f Adding some new png files to supoprt alternate css 9 years ago
prologue e787b1fe14 Update to dbus-1.10.8. 8 years ago
stylesheets 77ab7f35e9 Update Makefile for merged files" nochunks, md5sums, wget-list 8 years ago
udev-lfs 947141c851 Typos 8 years ago
INSTALL 82d957c29a Update bash upstream patch for CVE-2014-6271, CVE-2014-7169, and 10 years ago
LFS-SVN-no-lib64-20161202.diff d49e97cfb8 Create branch without lib64 symlinks 8 years ago
Makefile 628860260f Tweaking Makefile messages 8 years ago
README 27bf0df03c UPdate README 8 years ago
aux-file-data.sh ba8848f4d0 Fix a few more typos and whitespaces. 11 years ago
general.ent f9fd42c44d merge 11152 8 years ago
index.xml 35a5259fe6 Optimize building merged books 8 years ago
make-aux-files.sh f896e21c3f Updated udev to version 186. This update has a major procedure 12 years ago
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 17 years ago
packages.ent f9fd42c44d merge 11152 8 years ago
patches.ent 853aeb6b15 Sync to trunk r11149. Update to coreutils-8.26, dbus-1.10.14 (systemd), linux-4.8.12, and tzdata-2016j. Fixes #4007, #4008, #4009, and #4010. 8 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 58f10f85ed HTML Tidy's newline detection appears to be broken. Force LF line endings assuming people are rendering on a Linux box 19 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