Go to file
Xi Ruoyao 940c8495ae
kernfs: remove static node creation, and update the text
This is to match the "new" way of device handling with devtmpfs (already
widely used in recent ten years).

In a normal booting process, the kernel mounts devtmpfs at very early
stage.  So the static nodes won't be used at all.  The only situation
where the kernel can't mount devtmpfs is "/dev is missing", but it means
those two static nodes can't exist anyway, and a normal LFS system
(without initramfs) won't boot in such a bad situation.

Removing static /dev/console and /dev/null may cause trouble for those
people or scripts chroot into LFS tree without mounting devtmpfs.  But
entering a chroot with only console and null in /dev is already
problematic.  For a reference, If a systemd service is started with
PrivateDevices=true, systemd will create 18 nodes and symlinks to form a
"minimal" /dev.
2022-03-08 01:25:06 +08:00
appendices Add glib2 as an optional dependency of pkg-config 2022-02-10 10:28:23 +01:00
bootscripts Remove spaces at end of lines - bootscripts 2021-09-07 23:01:23 +02:00
chapter01 add changelog entries for 20220305 2022-03-05 16:35:00 +08:00
chapter02 relax host system requirements 2022-02-19 10:29:47 +08:00
chapter03 add zstd upstream fixes patch 2022-03-05 16:30:28 +08:00
chapter04 don't chown $LFS/sources to lfs (#5018) 2022-03-05 16:30:43 +08:00
chapter05 fix GCC PR100017 and enable libstdc++ for pass 2 2022-02-27 23:36:55 +08:00
chapter06 Typo 2022-03-06 15:37:02 -06:00
chapter07 kernfs: remove static node creation, and update the text 2022-03-08 01:25:06 +08:00
chapter08 add zstd upstream fixes patch 2022-03-05 16:30:28 +08:00
chapter09 Do a minor reword in networkd.xml and move Firmware Drivers to the 2022-02-26 23:18:28 -06:00
chapter10 Kernel (systemd): Add CONFIG_MEMCG as required (systemd-oomd). 2022-02-27 16:10:44 -06:00
chapter11 Make umounting explicit 2021-11-01 12:05:41 -05:00
images Adding some new png files to supoprt alternate css 2015-08-10 17:53:57 +00:00
part3intro part 3 intro: warn that don't copy source tree with cp -R 2022-02-22 13:34:36 +08:00
prologue Spelling/Typos 2022-02-18 14:49:40 -06:00
stylesheets Remove eol spaces in xsl stylesheets 2021-09-07 23:28:43 +02:00
udev-lfs Remove eol spaces 2021-09-07 23:10:29 +02:00
.gitignore Update currency to use https everywhere 2021-11-08 10:14:24 -06:00
aux-file-data.sh Convert bootscripts and udev tarballs to xz 2019-06-30 19:25:49 +00:00
general.ent Set general.ent for development 2021-09-22 23:28:01 +02:00
git-version.sh Package updates. 2021-12-31 07:10:48 -06:00
index.xml Just a test 2021-04-13 15:01:48 -05:00
INSTALL doc: correct the URL of BLFS docbook-xml-4.5 page 2022-02-23 02:10:17 +08:00
lfs-latest-git.php Fix currency for tcl 2022-02-04 13:29:55 -06:00
lfs-latest.php Remove eol spaces 2021-09-07 23:10:29 +02:00
make-aux-files.sh Fix make-aux-file for lfs-bootscript entities 2021-09-22 23:21:31 +02:00
Makefile Add a conditional entity for sysv/systemd 2021-09-22 23:11:52 +02:00
obfuscate.sh Added a versose flag and other fixes to the Makefile. 2007-07-06 17:54:18 +00:00
packages.ent remove meson "test SBU" added unintentionally 2022-03-03 04:13:40 +08:00
patches.ent add zstd upstream fixes patch 2022-03-05 16:30:28 +08:00
pdf-fixups.sh Remove eol spaces 2021-09-07 23:10:29 +02:00
process-scripts.sh Remove eol spaces 2021-09-07 23:10:29 +02:00
README Remove eol spaces 2021-09-07 23:05:44 +02:00
tidy.conf Adjust tidy.conf for recent version 2018-09-04 16:33:51 +00:00

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