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 9618d0eaf3 Clarify the kernel version needed. 5 年 前
appendices c8da464f83 dependencies: remove a extra comma 5 年 前
bootscripts b9560f3159 Remove errant swap dependency for checkfs 5 年 前
chapter01 caccd51a69 Update to vim-8.2.0486. 5 年 前
chapter02 210fc78f29 Update to ncurses-6.2. 5 年 前
chapter03 9618d0eaf3 Clarify the kernel version needed. 5 年 前
chapter04 df43be1530 Textual updates thanks to Kevin Buckley. 5 年 前
chapter05 df43be1530 Textual updates thanks to Kevin Buckley. 5 年 前
chapter06 caccd51a69 Update to vim-8.2.0486. 5 年 前
chapter07 77d2a88286 sysv usage: specify -n for dmesg to set loglevel 5 年 前
chapter08 840b7db933 Make some minor tweaks to the kernel configuration on systemd 5 年 前
chapter09 6a57b4c2ec Add /etc/os-release to SysV, 5 年 前
images 5c3f304a8f Adding some new png files to supoprt alternate css 10 年 前
prologue 394dc3fc60 Make the "target architectures" section more up to date 5 年 前
stylesheets 1cb44818d1 Completely remove docbook snapshot 5 年 前
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source 7 年 前
INSTALL 1c6c92e9eb Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. 7 年 前
Makefile 6fb10045a9 Commit forgotten Makefile in previous commit 5 年 前
README 141be70e59 Test commit 7 年 前
aux-file-data.sh 43194f056d Convert bootscripts and udev tarballs to xz 6 年 前
general.ent caccd51a69 Update to vim-8.2.0486. 5 年 前
index.xml 35a5259fe6 Optimize building merged books 9 年 前
lfs-latest.php 230ced1248 Fix currency for Python 5 年 前
make-aux-files.sh 43194f056d Convert bootscripts and udev tarballs to xz 6 年 前
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 18 年 前
packages.ent caccd51a69 Update to vim-8.2.0486. 5 年 前
patches.ent 8671978267 Update to gcc-9.3.0. 5 年 前
pdf-fixups.sh 040ecb6de9 Update to man-db-2.7.4. 9 年 前
process-scripts.sh b2b1e1aa5f Move directory to make build easier 13 年 前
tidy.conf 5b949a9f84 Adjust tidy.conf for recent version 7 年 前

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