Go to file
Xi Ruoyao 2f9498afa4
kernfs: remove a false note
Things are a little tricky:

1. If the host is "modern" (any desktop distro after 2013), the kernel
   supports devtmpfs and the host udev will do adjustments to the
   devtmpfs.  All instances of devtmpfs shares the same content so we'll
   see the work of both the kernel and the host udev in chroot.
2. If the host is old but the kernel supports devtmpfs (i. e. the host
   is not using devtmpfs for its /dev), when we mount devtmpfs on
   $LFS/dev we'll see the work of the kernel in chroot, but not the work
   of udev.  **Building LFS does not need any work of udev.**
3. If the host is very old and the kernel does not support devtmpfs at
   all, we can't mount devtmpfs.

Mounting a devtmpfs will work for 1 and 2, while bind mounting will work
for 1, 2, and 3.  So we use bind mounting here.

I don't want to squash all these details into the book, so just remove
the false statement here.
2022-11-18 12:52:09 +08:00
appendices Dependencies: util-linux can use libcap-ng, not libcap. 2022-10-27 03:02:39 +01:00
bootscripts Typos reported by "rhubarbpieguy" 2022-10-02 09:49:12 +02:00
chapter01 changelog: fix a ticket number 2022-11-12 00:19:09 +08:00
chapter02 Clarified verbiage here and there. Used the present perfect tense instead 2022-10-17 16:12:16 -05:00
chapter03 Package updates and a fix. 2022-11-11 09:44:13 -06:00
chapter04 Standardize spelling of "cross-compile" and its derivatives. Clean up 2022-10-28 11:37:59 -05:00
chapter05 glibc: fix parallel build issue with make-4.4 2022-11-01 11:05:05 +08:00
chapter06 Package updates and a fix. 2022-11-11 09:44:13 -06:00
chapter07 kernfs: remove a false note 2022-11-18 12:52:09 +08:00
chapter08 glibc: it should be --disable-werror, not --disable-Werror 2022-11-18 12:11:04 +08:00
chapter09 kernfs: modernize the explanation for bind mounting /dev 2022-10-01 15:14:22 +08:00
chapter10 kernel: adjust the instruction for mounting /boot 2022-09-25 15:16:23 +08:00
chapter11 reboot: fix /dev/shm unmounting command 2022-10-02 16:12:26 +08:00
images
part3intro Edited for clarity, punctuation, and English idiom. 2022-11-03 13:12:33 -05:00
prologue errata: some reword about security advisory 2022-10-23 10:26:03 +08:00
stylesheets stylesheets: add Simplified Chinese for lfs-l10n 2022-11-12 00:05:09 +08:00
udev-lfs Replace tabs with spaces 2022-09-11 18:42:58 +02:00
.gitignore Ignore fop.log 2022-03-15 11:17:36 -05:00
aux-file-data.sh
general.ent wheel: switch download URL 2022-11-11 00:07:42 +08:00
git-version.sh Replace tabs with spaces 2022-09-11 18:42:58 +02:00
index.xml
INSTALL doc: correct the URL of BLFS docbook-xml-4.5 page 2022-02-23 02:10:17 +08:00
lfs-latest-git.php Update currency for sysvinitwq 2022-11-14 10:31:59 -06:00
lfs-latest.php
make-aux-files.sh
Makefile Makefile: reinstate the dump-commands target 2022-09-18 08:29:18 +02:00
obfuscate.sh
packages.ent packages: also use &pypi-src; for Jinja2 and MarkupSafe 2022-11-12 13:12:18 +08:00
patches.ent Package updates and a fix. 2022-11-11 09:44:13 -06:00
pdf-fixups.sh Fix pdf presentation issues and some misc issues 2022-03-14 13:08:40 -05:00
process-scripts.sh
README
tidy.conf

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