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 e342298b54 remove an old note for file 3 سال پیش
appendices 8d557ad89d file: secure the URL, add libseccomp as external dep, and move libmagic.so to /lib 3 سال پیش
bootscripts 305ab2a4fa Update to bc-3.2.6. 3 سال پیش
chapter01 6f6e362ab2 Update to OpenSSL-1.1.1k 3 سال پیش
chapter02 34fe7e07cd decorate usernames with <systemitem> 3 سال پیش
chapter03 e342298b54 remove an old note for file 3 سال پیش
chapter04 430a8de69f Clarify some explanations about the minimal directory layout in chap 4 3 سال پیش
chapter05 430a8de69f Clarify some explanations about the minimal directory layout in chap 4 3 سال پیش
chapter06 8d557ad89d file: secure the URL, add libseccomp as external dep, and move libmagic.so to /lib 3 سال پیش
chapter07 1f460e53b4 ch{07,08}/util-linux: remove redundant command 3 سال پیش
chapter08 8d557ad89d file: secure the URL, add libseccomp as external dep, and move libmagic.so to /lib 3 سال پیش
chapter09 c53ff08f82 systemd: network configuration: network-manager is now compatible with systemd-resolved 3 سال پیش
chapter10 22009fb768 Update to systemd-247 3 سال پیش
chapter11 1f0565af18 reboot: use umount -R to simplify the commands 3 سال پیش
images 5c3f304a8f Adding some new png files to supoprt alternate css 8 سال پیش
part3intro 00e20beef4 Remove an inaccuracy in toolchain technical notes: 3 سال پیش
prologue ea7ec72fba Typos. 3 سال پیش
stylesheets 686c88ba6b Add a note about /etc/bash.bashrc used in some distros. 3 سال پیش
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 675606bde2 Split Chapter 5 into three separate chapters. 3 سال پیش
README 141be70e59 Test commit 6 سال پیش
aux-file-data.sh 43194f056d Convert bootscripts and udev tarballs to xz 4 سال پیش
general.ent 7504dd5226 use HTTPS for most downloads (again) 3 سال پیش
index.xml 12fff1eb8d Slightly change the layout in part III, so that the preliminary material 3 سال پیش
lfs-latest.php 4f8ae86158 Fix procps-ng currency 3 سال پیش
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 8d557ad89d file: secure the URL, add libseccomp as external dep, and move libmagic.so to /lib 3 سال پیش
patches.ent 06addba1bf Add systemd patch to allow systemd-rfkill to work on Linux-5.11+ 3 سال پیش
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