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 686c88ba6b Add a note about /etc/bash.bashrc used in some distros. пре 4 година
appendices ea7ec72fba Typos. пре 4 година
bootscripts b9560f3159 Remove errant swap dependency for checkfs пре 4 година
chapter01 8674e99479 Update to meson-0.54.3. пре 4 година
chapter02 b99b7d3a6e Update text in cross2 branch Chapter 2. пре 4 година
chapter03 450e8ac1ab Fix alphabetical order in packages. пре 4 година
chapter04 686c88ba6b Add a note about /etc/bash.bashrc used in some distros. пре 4 година
chapter05 d9cdc3e9db temp glibc: /tools -> $LFS/tools пре 4 година
chapter06 9d06e694be add xreflabel gcc-pass2, to be consistent with gcc-pass1 пре 4 година
chapter07 9d8bf7e67b chap7/stripping: when refering $LFS as an envar, use <envar> instead of <filename> пре 4 година
chapter08 4798321215 python: fix an inconsistent index label пре 4 година
chapter09 4234aea632 Fix the /etc/hosts file on systemd пре 4 година
chapter10 37b5ac1293 Finish review/update to cross2 book пре 4 година
chapter11 37b5ac1293 Finish review/update to cross2 book пре 4 година
images 5c3f304a8f Adding some new png files to supoprt alternate css пре 8 година
part3intro 3543e03800 do not hardcode chapter numbers in General Compilation Instructions пре 4 година
prologue ea7ec72fba Typos. пре 4 година
stylesheets 686c88ba6b Add a note about /etc/bash.bashrc used in some distros. пре 4 година
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. пре 4 година
README 141be70e59 Test commit пре 6 година
aux-file-data.sh 43194f056d Convert bootscripts and udev tarballs to xz пре 4 година
general.ent c68e018aab Various text fixes: пре 4 година
index.xml 12fff1eb8d Slightly change the layout in part III, so that the preliminary material пре 4 година
lfs-latest.php 477c098584 Fix procps-ng currency пре 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 8674e99479 Update to meson-0.54.3. пре 4 година
patches.ent d53fefab5a Update to upstream r11895 пре 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