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 63ddea059a Tag LFS-9.0 4 年之前
appendices a6bd08d6c3 Update FHS URL 4 年之前
bootscripts 890ef7cbfd Cosmetic changes to LFS bootscripts. 5 年之前
chapter01 63ddea059a Tag LFS-9.0 4 年之前
chapter02 4e32649dfe Minor typo fix 4 年之前
chapter03 70dcd88270 Add systemd patch to fix networkd under 5.2+ kernels, as well as issues with RDRAND on AMD Ryzen CPUs 4 年之前
chapter04 d3b4bb3f8b Add role="nodump" to examples in "About SBUs" 5 年之前
chapter05 1b3d6df776 Update to man-pages-5.01. 5 年之前
chapter06 63ddea059a Tag LFS-9.0 4 年之前
chapter07 94fe8fafc1 systemd: Fix the syntax of commands used to configure automatic file creation and deletion. 5 年之前
chapter08 6070f516c5 Change <productname> tags so that they reflect the dbhtml processing 5 年之前
chapter09 3333b6473d Typos and cleanup 4 年之前
images 5c3f304a8f Adding some new png files to supoprt alternate css 8 年之前
prologue 12a27da730 Fix testing of binutils-2.32 gold linker. 4 年之前
stylesheets 25332b5e97 Add comments to the kernel section to change the unwinder option. 6 年之前
udev-lfs b4c82dcb7f Also update udev-lfs Makefile in source 6 年之前
INSTALL 1c6c92e9eb Change the link for HTMLTidy in INSTALL. Thanks to Xi Ruoyao for report. 6 年之前
Makefile 43194f056d Convert bootscripts and udev tarballs to xz 4 年之前
README 141be70e59 Test commit 6 年之前
aux-file-data.sh 43194f056d Convert bootscripts and udev tarballs to xz 4 年之前
general.ent 63ddea059a Tag LFS-9.0 4 年之前
index.xml 35a5259fe6 Optimize building merged books 8 年之前
lfs-latest.php 94801bff92 Update currency for bc 4 年之前
make-aux-files.sh 43194f056d Convert bootscripts and udev tarballs to xz 4 年之前
obfuscate.sh 05d60cedcd Added a versose flag and other fixes to the Makefile. 17 年之前
packages.ent 63ddea059a Tag LFS-9.0 4 年之前
patches.ent 70dcd88270 Add systemd patch to fix networkd under 5.2+ kernels, as well as issues with RDRAND on AMD Ryzen CPUs 4 年之前
pdf-fixups.sh 040ecb6de9 Update to man-db-2.7.4. 8 年之前
process-scripts.sh b2b1e1aa5f Move directory to make build easier 11 年之前
tidy.conf 5b949a9f84 Adjust tidy.conf for recent version 5 年之前

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