Go to file
Xi Ruoyao d1592b9d92
stripping: add libnss_*.so* into online_usrlib
Glibc loads these "NSS modules" (see man 5 nss) on startup.  This is
implemented with something like dlopen() so "ldd" won't show them up.
So they should be considered "online" here.

Without this addition, overwriting libnss_files-2.33.so reproducibly
triggers a crash during jhalfs runs where stripping is enabled.  In
manual builds, it reproducibly triggers a crash exiting from chroot.

After this change I reran stripping 5 times and there was no crash
observed.
2021-07-28 01:27:33 +08:00
appendices Merge branch 'trunk' into xry111/tester-nohack 2021-07-19 20:54:58 +08:00
bootscripts Make stopping the network interfaces more robust. 2021-06-08 12:31:17 -05:00
chapter01 stripping: add libnss_*.so* into online_usrlib 2021-07-28 01:27:33 +08:00
chapter02 Merge Xi's changes into trunk 2021-05-11 23:24:11 -05:00
chapter03 Package updates and stripping fixes 2021-07-25 20:10:18 -05:00
chapter04 Merge Xi's changes into trunk 2021-05-11 23:24:11 -05:00
chapter05 Ensure that glibc installs ldconfig and sln to /usr/sbin. 2021-07-21 20:02:02 -05:00
chapter06 Remove modifications to m4 that are no longer needed. 2021-07-15 12:30:07 -05:00
chapter07 do not use UID hack for tester 2021-07-18 01:04:22 +08:00
chapter08 stripping: add libnss_*.so* into online_usrlib 2021-07-28 01:27:33 +08:00
chapter09 Merge Xi's changes into trunk 2021-05-11 23:24:11 -05:00
chapter10 modify the reference to lfs-uefi hint to BLFS instead 2021-04-09 19:07:48 +08:00
chapter11 mention make-ca in rebooting 2021-04-24 22:25:33 +08:00
images Adding some new png files to supoprt alternate css 2015-08-10 17:53:57 +00:00
part3intro Remove an inaccuracy in toolchain technical notes: 2020-10-27 09:47:21 +00:00
prologue Add text regarding security advisories. 2021-07-19 12:34:21 -05:00
stylesheets Tweak mail address for missing patches 2021-05-14 10:17:51 -05:00
udev-lfs Also update udev-lfs Makefile in source 2017-11-02 15:34:05 +00:00
.gitignore Package updates. 2021-06-27 12:54:09 -05:00
aux-file-data.sh Convert bootscripts and udev tarballs to xz 2019-06-30 19:25:49 +00:00
general.ent Add text regarding security advisories. 2021-07-19 12:34:21 -05:00
git-version.sh git-version: fix trunk branch detection 2021-05-02 16:22:08 +08:00
index.xml Just a test 2021-04-13 15:01:48 -05:00
INSTALL secure LFS URL 2021-04-23 18:57:29 +08:00
lfs-latest-git.php Set up currency for MakrupSafe and Jinja2 2021-07-10 17:08:03 -05:00
lfs-latest.php Fix procps-ng currency 2021-02-11 18:19:06 +00:00
make-aux-files.sh Convert bootscripts and udev tarballs to xz 2019-06-30 19:25:49 +00:00
Makefile use https for anduin 2021-05-24 19:19:04 +08:00
obfuscate.sh Added a versose flag and other fixes to the Makefile. 2007-07-06 17:54:18 +00:00
packages.ent Package updates and stripping fixes 2021-07-25 20:10:18 -05:00
patches.ent Update to binutils-2.37 2021-07-23 06:30:53 -05:00
pdf-fixups.sh Update to man-db-2.7.4. 2015-10-12 21:20:03 +00:00
process-scripts.sh Move directory to make build easier 2012-09-01 02:31:13 +00:00
README Test commit 2018-03-29 02:04:19 +00: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