diff --git a/appendices/acknowledgments.xml b/appendices/acknowledgments.xml
index c9d509e69..607bf7bf6 100644
--- a/appendices/acknowledgments.xml
+++ b/appendices/acknowledgments.xml
@@ -30,7 +30,7 @@
Bruce
- Dubbs <bdubbs@linuxfromscratch.org> – LFS Release
+ Dubbs <bdubbs@linuxfromscratch.org> – LFS Release
Manager, LFS Technical Writer/Editor
@@ -146,7 +146,7 @@
- Luis Falcon
+ Luis Falcon
<Luis Falcon> – torredehanoi.org mirror
@@ -234,12 +234,12 @@
- Shizunet Co.,Ltd.
+ Shizunet Co.,Ltd.
<info@shizu-net.jp> – lfs.mirror.shizu-net.jp mirror
- Init World
+ Init World
<http://www.initworld.com/> – lfs.initworld.com mirror
@@ -344,7 +344,7 @@
Alexander
E. Patrakov <alexander@linuxfromscratch.org> – LFS
- Technical Writer, LFS Internationalization Editor,
+ Technical Writer, LFS Internationalization Editor,
LFS Live CD Maintainer
diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml
index f7c957c88..841887828 100644
--- a/appendices/dependencies.xml
+++ b/appendices/dependencies.xml
@@ -29,7 +29,7 @@
built in a certain order, this could result in paths of /tools/bin/[binary]
being placed inside scripts installed to the final system. This is obviously
not desirable.
-
+
The last list of dependencies are optional packages that are not
addressed in LFS, but could be useful to the user. These packages may have
additional mandatory or optional dependencies of their own. For these
@@ -837,7 +837,7 @@
&dependencies;
- Bash, Binutils, Bison, Coreutils, Diffutils, GCC, Gettext, Glibc,
+ Bash, Binutils, Bison, Coreutils, Diffutils, GCC, Gettext, Glibc,
Grep, Make, Ncurses, Sed, Texinfo, and Xz
@@ -1555,7 +1555,7 @@
&dependencies;
- Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make,
+ Bash, Binutils, Coreutils, Gawk, GCC, Glibc, Grep, Make,
Popt, and Sed
diff --git a/appendices/scripts.xml b/appendices/scripts.xml
index c5f299870..30f63752b 100644
--- a/appendices/scripts.xml
+++ b/appendices/scripts.xml
@@ -2,34 +2,34 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
%general-entities;
]>
@@ -51,145 +51,145 @@
/etc/rc.d/init.d/rc
- The rc script is the first script called by
+ The rc script is the first script called by
init and initiates the boot process.
- &rc;
+ &rc;/lib/lsb/init-functions
- &initfunctions;
+ &initfunctions;/etc/rc.d/init.d/functions
- &functions;
+ &functions;/etc/rc.d/init.d/mountvirtfs
- &mountvirtfs;
+ &mountvirtfs;/etc/rc.d/init.d/modules
- &modules;
+ &modules;/etc/rc.d/init.d/udev
- &udev;
+ &udev;/etc/rc.d/init.d/swap
- &swap;
+ &swap;/etc/rc.d/init.d/setclock
- &setclock;
+ &setclock;/etc/rc.d/init.d/checkfs
- &checkfs;
+ &checkfs;/etc/rc.d/init.d/mountfs
- &mountfs;
+ &mountfs;/etc/rc.d/init.d/udev_retry
- &udev_retry;
+ &udev_retry;/etc/rc.d/init.d/cleanfs
- &cleanfs;
+ &cleanfs;/etc/rc.d/init.d/console
- &console;
+ &console;/etc/rc.d/init.d/localnet
- &localnet;
+ &localnet;/etc/rc.d/init.d/sysctl
- &sysctl;
+ &sysctl;/etc/rc.d/init.d/sysklogd
- &sysklogd;
+ &sysklogd;/etc/rc.d/init.d/network
- &network;
+ &network;/etc/rc.d/init.d/sendsignals
- &sendsignals;
+ &sendsignals;/etc/rc.d/init.d/reboot
- &reboot;
+ &reboot;/etc/rc.d/init.d/halt
- &halt;
+ &halt;/etc/rc.d/init.d/template
- &template;
+ &template;/etc/sysconfig/modules
- &modules_sys;
+ &modules_sys;/etc/sysconfig/createfiles
- &createfiles;
+ &createfiles;/etc/sysconfig/udev-retry
- &cfg_udev_retry;
+ &cfg_udev_retry;/sbin/ifup
- &ifup;
+ &ifup;/sbin/ifdown
- &ifdown;
+ &ifdown;/lib/services/ipv4-static
- &ipv4_static;
+ &ipv4_static;/lib/services/ipv4-static-route
- &ipv4_static_route;
+ &ipv4_static_route;
diff --git a/appendices/udev-rules.xml b/appendices/udev-rules.xml
index 2549e5fc9..abb7f8846 100644
--- a/appendices/udev-rules.xml
+++ b/appendices/udev-rules.xml
@@ -2,7 +2,7 @@
-
+
%general-entities;
]>
@@ -18,7 +18,7 @@
55-lfs.rules
- &lfs-rules;
+ &lfs-rules;
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index c6e68dc50..4c3aa4d87 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -85,7 +85,7 @@
2013-01-24
- [bdubbs] - Remove bashisms from init-functions
+ [bdubbs] - Remove bashisms from init-functions
file in the boot scripts.
@@ -140,7 +140,7 @@
[bdubbs] - Update udev-lfs init-net-rules.sh
- script for "en*" devices introduced in systemd-197.
+ script for "en*" devices introduced in systemd-197.
@@ -217,7 +217,7 @@
#3264.
- [bdubbs] - Fix the location for mounting /dev/shm
+ [bdubbs] - Fix the location for mounting /dev/shm
inside chroot. Fixes
#3258.
@@ -508,7 +508,7 @@
[bdubbs] - Add notes to the gcc and binutils
- sections in Chapter 6 about "link time optimization"
+ sections in Chapter 6 about "link time optimization"
and the extra files built by gcc. Fixes
#3200.
@@ -518,8 +518,8 @@
[bdubbs] - Update installed program description
- for several packages. Thanks to Chris Staub for the patch.
- Fixes #3203.
+ for several packages. Thanks to Chris Staub for the patch.
+ Fixes #3203.
@@ -528,27 +528,27 @@
2012-10-14
- [bdubbs] - Remove utmpdump from sysvinit
+ [bdubbs] - Remove utmpdump from sysvinit
because it is now installed by util-linux. Thanks to
Chris Staub for the patch. Fixes
- #3202.
+ #3202.[bdubbs] - Change procps to not install the
kill program that is now installed by util-linux. Fixes
- #3201.
+ #3201.
[bdubbs] - Update to util-linux-2.22.1. Fixes
- #3199.
+ #3199.
[bdubbs] - Update to linux-3.6.2. Fixes
- #3198.
+ #3198.
[bdubbs] - Add boot/shutdown script customization
- instructions.
+ instructions.
@@ -666,7 +666,7 @@
2012-09-05
- [bdubbs] - Add udevadm trigger --action=change line
+ [bdubbs] - Add udevadm trigger --action=change line
to udev script to support initramfs better.
@@ -676,7 +676,7 @@
2012-09-04
- [bdubbs] - Update grub packages and naming
+ [bdubbs] - Update grub packages and naming
conventions example.
diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml
index 7bb2a9ef5..d9e58f184 100644
--- a/chapter02/creatingpartition.xml
+++ b/chapter02/creatingpartition.xml
@@ -75,87 +75,87 @@
Other Partition Issues
- Requests for advice on system partitioning are often posted on the LFS mailing
+ Requests for advice on system partitioning are often posted on the LFS mailing
lists. This is a highly subjective topic. The default for most distributions
is to use the entire drive with the exception of one small swap partition. This
- is not optimal for LFS for several reasons. It reduces flexibility, makes
+ is not optimal for LFS for several reasons. It reduces flexibility, makes
sharing of data across multiple distributions or LFS builds more difficult, makes
- backups more time consuming, and can waste disk space through inefficient
+ backups more time consuming, and can waste disk space through inefficient
allocation of file system structures.The Root Partition
-
+
A root LFS partition (not to be confused with the
/root directory) of
ten gigabytes is a good compromise for most systems. It provides enough
space to build LFS and most of BLFS, but is small enough so that multiple
partitions can be easily created for experimentation.
-
+
The Swap Partition
-
+
Most distributions automatically create a swap partition. Generally
the recommended size of the swap partition is about twice the amount of
physical RAM, however this is rarely needed. If disk space is limited,
hold the swap partition to two gigabytes and monitor the amount of disk
swapping.
-
+
Swapping is never good. Generally you can tell if a system is
swapping by just listening to disk activity and observing how the system
reacts to commands. The first reaction to swapping should be to check for
an unreasonable command such as trying to edit a five gigabyte file. If
swapping becomes a normal occurrence, the best solution is to purchase more
RAM for your system.
-
+
Convenience Partitions
-
+
There are several other partitions that are not required, but should
be considered when designing a disk layout. The following list
is not comprehensive, but is meant as a guide.
-
+
-
+
/boot – Highly recommended. Use this partition to
store kernels and other booting information. To minimize potential boot
problems with larger disks, make this the first physical partition on
your first disk drive. A partition size of 100 megabytes is quite
adequate.
-
+
/home – Highly recommended. Share your home
directory and user customization across multiple distributions or LFS
builds. The size is generally fairly large and depends on available disk
space.
-
+
/usr – A separate /usr partition is generally used
if providing a server for a thin client or diskless workstation. It is
normally not needed for LFS. A size of five gigabytes will handle most
installations.
-
+
/opt – This directory is most useful for
BLFS where multiple installations of large packages like Gnome or KDE can
be installed without embedding the files in the /usr hierarchy. If
used, 5 to 10 gigabytes is generally adequate.
-
+
/tmp – A separate /tmp directory is rare, but
useful if configuring a thin client. This partition, if used, will
usually not need to exceed a couple of gigabytes.
-
+
/usr/src – This partition is very
useful for providing a location to store BLFS source files and
share them across LFS builds. It can also be used as a location
for building BLFS packages. A reasonably large partition of 30-50
gigabytes allows plenty of room.
-
+
-
+
Any separate partition that you want automatically mounted upon boot
needs to be specified in the /etc/fstab. Details
about how to specify partitions will be discussed in .
-
+
diff --git a/chapter03/introduction.xml b/chapter03/introduction.xml
index 58df880cc..98fc93e62 100644
--- a/chapter03/introduction.xml
+++ b/chapter03/introduction.xml
@@ -53,15 +53,15 @@
wget-list as an input to
wget. For example:
-wget -i wget-list -P $LFS/sources
+wget -i wget-list -P $LFS/sources
- Additionally, starting with LFS-7.0, there is a separate file,
+ Additionally, starting with LFS-7.0, there is a separate file,
md5sums, can be used to verify that all
- the correct packages are available before proceeding. Place that file in
+ the correct packages are available before proceeding. Place that file in
$LFS/sources and run:pushd $LFS/sources
md5sum -c md5sums
-popd
+popd
diff --git a/chapter05/adjusting.xml b/chapter05/adjusting.xml
index 7372e4cdd..7179233d2 100644
--- a/chapter05/adjusting.xml
+++ b/chapter05/adjusting.xml
@@ -36,7 +36,7 @@
SPECS=`dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/specs
$LFS_TGT-gcc -dumpspecs | sed \
-e 's@/lib\(64\)\?/ld@/tools&@g' \
- -e "/^\*cpp:$/{n;s,$, -isystem /tools/include,}" > $SPECS
+ -e "/^\*cpp:$/{n;s,$, -isystem /tools/include,}" > $SPECS
echo "New specs file is: $SPECS"
unset SPECS
diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml
index a396780ef..decec8b6f 100644
--- a/chapter05/binutils-pass1.xml
+++ b/chapter05/binutils-pass1.xml
@@ -43,7 +43,7 @@
Installation of Cross Binutils
- Go back and re-read the notes in the previous section.
+ Go back and re-read the notes in the previous section.
Understanding the notes labeled important will save you a lot
of problems later.
@@ -126,7 +126,7 @@ cd ../binutils-build
temporary tools.
-
+
--disable-werror
diff --git a/chapter05/check.xml b/chapter05/check.xml
index e8c7bafcd..a805bfab5 100644
--- a/chapter05/check.xml
+++ b/chapter05/check.xml
@@ -54,7 +54,7 @@
make check
- Note that the Check test suite may take a relatively long
+ Note that the Check test suite may take a relatively long
(up to 4 SBU) time.Install the package:
diff --git a/chapter05/e2fsprogs.xml b/chapter05/e2fsprogs.xml
index a8f111b14..9ebbba792 100644
--- a/chapter05/e2fsprogs.xml
+++ b/chapter05/e2fsprogs.xml
@@ -80,7 +80,7 @@ cd build
make install-libs
- Make the installed static libraries writable so debugging symbols can
+ Make the installed static libraries writable so debugging symbols can
be removed later:chmod -v u+w \
diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index 9bbca7839..6c936debc 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -62,7 +62,7 @@
compiler flag. Non-bootstrap builds
omit this flag by default, and the goal should be to produce a compiler
that is exactly the same as if it were bootstrapped. Apply the following
- sed command to force the build to use the flag:
+ sed command to force the build to use the flag:cp -v gcc/Makefile.in{,.tmp}
sed 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in.tmp \
@@ -189,7 +189,7 @@ RANLIB=$LFS_TGT-ranlib \
iterations are compared to make sure it can reproduce itself
flawlessly. This also implies that it was compiled correctly.
However, the LFS build method should provide a solid compiler
- without the need to bootstrap each time.
+ without the need to bootstrap each time.
diff --git a/chapter05/generalinstructions.xml b/chapter05/generalinstructions.xml
index c1caca30b..72f460066 100644
--- a/chapter05/generalinstructions.xml
+++ b/chapter05/generalinstructions.xml
@@ -10,7 +10,7 @@
General Compilation Instructions
- When building packages there are several assumptions made within
+ When building packages there are several assumptions made within
the instructions:
@@ -55,12 +55,12 @@
The build instructions assume that the , including symbolic links, have been set
properly:
-
+
bash is the shell
in use.
-
+
sh is a symbolic
link to bash.
@@ -93,7 +93,7 @@
Using the tar program, extract the package
- to be built. In Chapter 5, ensure you are the lfs
+ to be built. In Chapter 5, ensure you are the lfs
user when extracting the package.
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 9af9bafd8..642532c87 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -47,7 +47,7 @@
installed properly. Test to see if they are installed in the host system
and install if they are not:
-if [ ! -r /usr/include/rpc/types.h ]; then
+if [ ! -r /usr/include/rpc/types.h ]; then
su -c 'mkdir -p /usr/include/rpc'
su -c 'cp -v sunrpc/rpc/*.h /usr/include/rpc'
fi
diff --git a/chapter05/linux-headers.xml b/chapter05/linux-headers.xml
index 04340f80c..b1a0652aa 100644
--- a/chapter05/linux-headers.xml
+++ b/chapter05/linux-headers.xml
@@ -55,7 +55,7 @@
Now test and extract the user-visible kernel headers from the source.
They are placed in an intermediate local directory and copied to the needed
- location because the extraction process removes any existing files in
+ location because the extraction process removes any existing files in
the target directory.make headers_check
diff --git a/chapter06/coreutils.xml b/chapter06/coreutils.xml
index 779ea5924..8067b05c5 100644
--- a/chapter06/coreutils.xml
+++ b/chapter06/coreutils.xml
@@ -151,7 +151,7 @@ sed -i s/\"1\"/\"8\"/1 /usr/share/man/man8/chroot.8
id, install, join, link, ln, logname, ls, md5sum, mkdir, mkfifo, mknod,
mktemp, mv, nice, nl, nohup, nproc, od, paste, pathchk, pinky, pr,
printenv, printf, ptx, pwd, readlink, realpath, rm, rmdir, runcon, seq,
- sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, shred, shuf, sleep,
+ sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, shred, shuf, sleep,
sort, split, stat, stdbuf, stty, sum, sync, tac, tail, tee, test,
timeout, touch, tr, true, truncate, tsort, tty, uname, unexpand, uniq,
unlink, users, vdir, wc, who, whoami, and yes
diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml
index 59a98e83b..b9c4ec8b1 100644
--- a/chapter06/e2fsprogs.xml
+++ b/chapter06/e2fsprogs.xml
@@ -25,7 +25,7 @@
The E2fsprogs package contains the utilities for handling the
ext2 file system. It also
- supports the ext3 and
+ supports the ext3 and
ext4 journaling
file systems.
@@ -129,7 +129,7 @@ cd buildmake install-libs
- Make the installed static libraries writable so debugging symbols can
+ Make the installed static libraries writable so debugging symbols can
be removed later:chmod -v u+w /usr/lib/{libcom_err,libe2p,libext2fs,libss}.a
@@ -296,8 +296,8 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info
e2undo
- Replays the undo log undo_log for an ext2/ext3/ext4 filesystem
- found on a device. This can be used to undo a failed operation by an
+ Replays the undo log undo_log for an ext2/ext3/ext4 filesystem
+ found on a device. This can be used to undo a failed operation by an
e2fsprogs program.e2undo
@@ -362,7 +362,7 @@ install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.infofsck.ext4devBy default checks ext4
- development file systems. This is a hard link to
+ development file systems. This is a hard link to
e2fsck.fsck.ext4dev
diff --git a/chapter06/flex.xml b/chapter06/flex.xml
index 8f97a7c9d..a331d669c 100644
--- a/chapter06/flex.xml
+++ b/chapter06/flex.xml
@@ -122,7 +122,7 @@ chmod -v 755 /usr/bin/lex
flex++
- An extension of flex, is used for generating C++ code
+ An extension of flex, is used for generating C++ code
and classes. It is a symbolic link to flexflex++
diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml
index e6909b7df..f15144dae 100644
--- a/chapter06/gcc.xml
+++ b/chapter06/gcc.xml
@@ -51,7 +51,7 @@
As in , apply the following
sed to force the build to use the
compiler flag in order to ensure
- consistent compiler builds:
+ consistent compiler builds:case `uname -m` in
i?86) sed -i 's/^T_CFLAGS =$/& -fomit-frame-pointer/' gcc/Makefile.in ;;
@@ -101,9 +101,9 @@ cd ../gcc-build
, that can be used to allow
gcc to do do "link time optimization" if specified. No
packages in LFS or BLFS currently use this capability.
-
+
To use this feature, it must also be enabled in
- binutils.
+ binutils.Compile the package:
@@ -311,14 +311,14 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib
Installed directories
- c++, cc (link to gcc), cpp, g++, gcc,
+ c++, cc (link to gcc), cpp, g++, gcc,
gcc-ar, gcc-nm, gcc-ranlib, gccbug, and gcovlibgcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a, libgomp.{a,so},
liblto_plugin.so, libmudflap.{a,so}, libmudflapth.{a,so},
libquadmath.{a,so}, libssp.{a,so},
libssp_nonshared.a, libstdc++.{a,so} and libsupc++.a
-
+
/usr/include/c++, /usr/lib/gcc, /usr/share/gcc-&gcc-version;
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index 80bd4cf60..449f3a76a 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -115,8 +115,8 @@ grep Error glibc-check-log
The nptl/tst-clock2,
- nptl/tst-attr3,
- tst/tst-cputimer1, and
+ nptl/tst-attr3,
+ tst/tst-cputimer1, and
rt/tst-cpuclock2
tests have been known to fail. The
reason is not completely understood, but indications are that minor
@@ -128,20 +128,20 @@ grep Error glibc-check-log
systems where the CPU is not a relatively new genuine Intel or
authentic AMD processor.
-
+
When running on older and slower hardware or on systems under
load, some tests can fail because of test timeouts being exceeded.
- Modifying the make check command to set a TIMEOUTFACTOR is reported to
+ Modifying the make check command to set a TIMEOUTFACTOR is reported to
help eliminate these errors (e.g. TIMEOUTFACTOR=16
make -k check).
-
+
- Other tests known to fail on some architectures are posix/bug-regex32,
+ Other tests known to fail on some architectures are posix/bug-regex32,
misc/tst-writev, elf/check-textrel, nptl/tst-getpid2, and stdio-common/bug22.
-
+
Though it is a harmless message, the install stage of Glibc will
@@ -155,7 +155,7 @@ grep Error glibc-check-log
make installInstall NIS and RPC related headers that are not installed by
- default; these are required to rebuild glibc and by several BLFS
+ default; these are required to rebuild glibc and by several BLFS
packages:cp -v ../glibc-&glibc-version;/sunrpc/rpc/*.h /usr/include/rpc
@@ -259,13 +259,13 @@ EOFtar -xf ../tzdata&tzdata-version;.tar.gz
ZONEINFO=/usr/share/zoneinfo
-mkdir -pv $ZONEINFO/{posix,right}
+mkdir -pv $ZONEINFO/{posix,right}
for tz in etcetera southamerica northamerica europe africa antarctica \
asia australasia backward pacificnew solar87 solar88 solar89 \
systemv; do
- zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz}
- zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
+ zic -L /dev/null -d $ZONEINFO -y "sh yearistype.sh" ${tz}
+ zic -L /dev/null -d $ZONEINFO/posix -y "sh yearistype.sh" ${tz}
zic -L leapseconds -d $ZONEINFO/right -y "sh yearistype.sh" ${tz}
done
@@ -385,7 +385,7 @@ unset ZONEINFO
EOF
If desired, the dynamic loader can also search a directory and
- include the contents of files found there. Generally the files in
+ include the contents of files found there. Generally the files in
this include directory are one line specifying the desired library path.
To add this capability run the following commands:
diff --git a/chapter06/grub.xml b/chapter06/grub.xml
index 5be1d7f74..6354a4777 100644
--- a/chapter06/grub.xml
+++ b/chapter06/grub.xml
@@ -67,7 +67,7 @@
make install
- Using GRUB to make your LFS system bootable will be discussed in
+ Using GRUB to make your LFS system bootable will be discussed in
.
@@ -80,7 +80,7 @@
Installed directories
-
+
grub-bios-setup, grub-editenv, grub-fstest,
grub-install, grub-kbdcomp, grub-menulst2cfg, grub-mkconfig,
grub-mkimage, grub-mklayout, grub-mknetdir,
diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml
index b367d20ef..b912ca4db 100644
--- a/chapter06/iproute2.xml
+++ b/chapter06/iproute2.xml
@@ -142,9 +142,9 @@ sed -i 's/arpd.8//' man/man8/Makefile
ifcfg
- A shell script wrapper for the ip command.
- Note that it requires the arping and
- rdisk programs from the
+ A shell script wrapper for the ip command.
+ Note that it requires the arping and
+ rdisk programs from the
iputils package found at .ifcfg
diff --git a/chapter06/kbd.xml b/chapter06/kbd.xml
index ea4fdffc5..97adb6899 100644
--- a/chapter06/kbd.xml
+++ b/chapter06/kbd.xml
@@ -124,7 +124,7 @@ cp -R -v doc/* \
Installed directory
- chvt, deallocvt, dumpkeys, fgconsole, getkeycodes, kbdinfo,
+ chvt, deallocvt, dumpkeys, fgconsole, getkeycodes, kbdinfo,
kbd_mode, kbdrate, loadkeys, loadunimap,
mapscrn, openvt, psfaddtable (link to psfxtable), psfgettable (link to
psfxtable), psfstriptable (link to psfxtable), psfxtable,
diff --git a/chapter06/kernfs.xml b/chapter06/kernfs.xml
index 51bcbe59c..b46f72437 100644
--- a/chapter06/kernfs.xml
+++ b/chapter06/kernfs.xml
@@ -72,7 +72,7 @@ mknod -m 666 $LFS/dev/null c 1 3
mount -vt proc proc $LFS/proc
mount -vt sysfs sysfs $LFS/sys
- In some host systems, /dev/shm is a
+ In some host systems, /dev/shm is a
symbolic link to /run/shm.
Inside a chroot environment, this temporary file system needs
to be mounted separate from the host file system:
diff --git a/chapter06/linux-headers.xml b/chapter06/linux-headers.xml
index ea1959794..9e424516a 100644
--- a/chapter06/linux-headers.xml
+++ b/chapter06/linux-headers.xml
@@ -54,7 +54,7 @@
Now test and extract the user-visible kernel headers from the source.
They are placed in an intermediate local directory and copied to the needed
- location because the extraction process removes any existing files in
+ location because the extraction process removes any existing files in
the target directory. There are also some hidden files used by
the kernel developers and not needed by LFS that are removed from
the intermediate directory.
@@ -97,7 +97,7 @@ find dest/include \( -name .install -o -name ..install.cmd \) -delete
/usr/include/asm/*.h
-
+
/usr/include/asm-generic/*.h
@@ -107,7 +107,7 @@ find dest/include \( -name .install -o -name ..install.cmd \) -delete
/usr/include/asm-generic/*.h
-
+
/usr/include/drm/*.h
@@ -117,7 +117,7 @@ find dest/include \( -name .install -o -name ..install.cmd \) -delete
/usr/include/drm/*.h
-
+
/usr/include/linux/*.h
@@ -127,7 +127,7 @@ find dest/include \( -name .install -o -name ..install.cmd \) -delete
/usr/include/linux/*.h
-
+
/usr/include/mtd/*.h
@@ -137,7 +137,7 @@ find dest/include \( -name .install -o -name ..install.cmd \) -delete
/usr/include/mtd/*.h
-
+
/usr/include/rdma/*.h
@@ -147,7 +147,7 @@ find dest/include \( -name .install -o -name ..install.cmd \) -delete
/usr/include/rdma/*.h
-
+
/usr/include/scsi/*.h
@@ -157,7 +157,7 @@ find dest/include \( -name .install -o -name ..install.cmd \) -delete
/usr/include/scsi/*.h
-
+
/usr/include/sound/*.h
@@ -167,7 +167,7 @@ find dest/include \( -name .install -o -name ..install.cmd \) -delete
/usr/include/sound/*.h
-
+
/usr/include/video/*.h
@@ -177,7 +177,7 @@ find dest/include \( -name .install -o -name ..install.cmd \) -delete
/usr/include/video/*.h
-
+
/usr/include/xen/*.h
@@ -187,7 +187,7 @@ find dest/include \( -name .install -o -name ..install.cmd \) -delete
/usr/include/xen/*.h
-
+
diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml
index ab9ba7dd3..6f9cc3792 100644
--- a/chapter06/ncurses.xml
+++ b/chapter06/ncurses.xml
@@ -116,8 +116,8 @@
non-wide-character Ncurses libraries. Trick such applications into linking with
wide-character libraries by means of symlinks and linker scripts:
-for lib in ncurses form panel menu ; do
- rm -vf /usr/lib/lib${lib}.so
+for lib in ncurses form panel menu ; do
+ rm -vf /usr/lib/lib${lib}.so
echo "INPUT(-l${lib}w)" > /usr/lib/lib${lib}.so
ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a
ln -sfv ${lib}w.pc /usr/lib/pkgconfig/${lib}.pc
@@ -144,7 +144,7 @@ cp -v -R doc/* /usr/share/doc/ncurses-&ncurses-version;The instructions above don't create non-wide-character Ncurses
libraries since no package installed by compiling from sources would
link against them at runtime. If you must have such libraries because
- of some binary-only application or to be compliant with LSB, build
+ of some binary-only application or to be compliant with LSB, build
the package again with the following commands:make distclean
diff --git a/chapter06/perl.xml b/chapter06/perl.xml
index 4fb45bd1a..24f99adf0 100644
--- a/chapter06/perl.xml
+++ b/chapter06/perl.xml
@@ -222,7 +222,7 @@
cpanp-run-perl
- Perl script that is used to enable flushing of the output
+ Perl script that is used to enable flushing of the output
buffer after each write in spawned processescpanp-run-perl
diff --git a/chapter06/pkgconfig.xml b/chapter06/pkgconfig.xml
index d9493e1b8..4b35c67bb 100644
--- a/chapter06/pkgconfig.xml
+++ b/chapter06/pkgconfig.xml
@@ -55,7 +55,7 @@
--with-internal-glib
- This will allow pkg-config to use it's internal version of
+ This will allow pkg-config to use it's internal version of
glib because an external version is not available in LFS.
diff --git a/chapter06/pkgmgt.xml b/chapter06/pkgmgt.xml
index 8b563ec33..67ffd1cd7 100644
--- a/chapter06/pkgmgt.xml
+++ b/chapter06/pkgmgt.xml
@@ -227,7 +227,7 @@ make DESTDIR=/usr/pkg/libfoo/1.1 installCreation of package files that include dependency information is
complex and is beyond the scope of LFS.
- Slackware uses a tar based system for package
+ Slackware uses a tar based system for package
archives. This system purposely does not handle package dependencies
as more complex package managers do. For details of Slackware package
management, see
the root directory (about 250MB uncompressed for a base LFS build), copying
that file via network transfer or CD-ROM to the new system and expanding
it. From that point, a few configuration files will have to be changed.
- Configuration files that may need to be updated include:
+ Configuration files that may need to be updated include:
/etc/hosts,
/etc/fstab,
/etc/passwd,
@@ -268,7 +268,7 @@ make DESTDIR=/usr/pkg/libfoo/1.1 install
/etc/ld.so.conf,
/etc/sysconfig/rc.site,
/etc/sysconfig/network, and
- /etc/sysconfig/ifconfig.eth0.
+ /etc/sysconfig/ifconfig.eth0.
A custom kernel may need to be built for the new system depending on
diff --git a/chapter06/popt.xml b/chapter06/popt.xml
index 1423f12d5..e1f950808 100644
--- a/chapter06/popt.xml
+++ b/chapter06/popt.xml
@@ -23,7 +23,7 @@
- The Popt package contains a library used by some programs
+ The Popt package contains a library used by some programs
to parse command-line options.
diff --git a/chapter06/procps.xml b/chapter06/procps.xml
index 8da11e5c0..1b59d83af 100644
--- a/chapter06/procps.xml
+++ b/chapter06/procps.xml
@@ -57,7 +57,7 @@
--disable-skillThis switch disables the obsolete and unportable
- skill and snice commands.
+ skill and snice commands.
@@ -68,23 +68,23 @@
-
+
Compile the package:make
- The test suite needs some custom modifications for LFS.
+ The test suite needs some custom modifications for LFS.
The which is not available and the
- pmap test does not match a newline character in
+ pmap test does not match a newline character in
two tests. To run the test suite, run the following commands:pushd testsuite
sed -i 's|exec which sleep|exec echo /tools/bin/sleep|' config/unix.exp
sed -i 's|pmap_initname\\\$|pmap_initname|' pmap.test/pmap.exp
- make site.exp
+ make site.exp
DEJAGNU=global-conf.exp runtest
popd
-
+
Install the package:make install
@@ -92,7 +92,7 @@ popd
Finally move the library to a location that can be found if
/usr is not mounted.
-mv -v /usr/lib/libprocps.so.* /lib
+mv -v /usr/lib/libprocps.so.* /lib
ln -sfv ../../lib/libprocps.so.1.1.0 /usr/lib/libprocps.so
@@ -105,7 +105,7 @@ ln -sfv ../../lib/libprocps.so.1.1.0 /usr/lib/libprocps.so
Installed library
- free, pgrep, pkill, pmap, ps, pwdx, slabtop,
+ free, pgrep, pkill, pmap, ps, pwdx, slabtop,
sysctl, tload, top, uptime, vmstat, w, and, watchlibprocps.so
diff --git a/chapter06/psmisc.xml b/chapter06/psmisc.xml
index 4a2770489..19d31cec1 100644
--- a/chapter06/psmisc.xml
+++ b/chapter06/psmisc.xml
@@ -55,7 +55,7 @@
make install
- Finally, move the killall and fuser
+ Finally, move the killall and fuser
programs to the location specified by the FHS:mv -v /usr/bin/fuser /bin
diff --git a/chapter06/systemd.xml b/chapter06/systemd.xml
index de5d3b968..a312bd05c 100644
--- a/chapter06/systemd.xml
+++ b/chapter06/systemd.xml
@@ -25,7 +25,7 @@
The Udev package contains programs for dynamic creation of device
nodes. The development of udev has been merged with systemd, but
- most of systemd is incompatible with LFS. Here we build and install just
+ most of systemd is incompatible with LFS. Here we build and install just
the needed udev files.
@@ -44,8 +44,8 @@
This package is a little different from other packages. The
initial package that is extracted is
- systemd-&systemd-version;.tar.xz even though the
- application we are installing is udev. After changing to the
+ systemd-&systemd-version;.tar.xz even though the
+ application we are installing is udev. After changing to the
systemd directory, follow the instructions below.The udev-lfs tarball contains LFS-specific files used to build
@@ -93,9 +93,9 @@
accelerometer, ata_id, cdrom_id, collect, mtd_probe,
scsi_id, v4l_id, udevadm, and udevd
-
+
libudev.so
-
+
/etc/udev, /lib/udev, /lib/firmware, /usr/share/doc/udev
diff --git a/chapter06/sysvinit.xml b/chapter06/sysvinit.xml
index b1b85c6b9..e93e1cc85 100644
--- a/chapter06/sysvinit.xml
+++ b/chapter06/sysvinit.xml
@@ -60,7 +60,7 @@
versions of these programs and their man pages:sed -i -e '/utmpdump/d' \
- -e '/mountpoint/d' src/Makefile
+ -e '/mountpoint/d' src/Makefile
Compile the package:
@@ -81,7 +81,7 @@
Installed programs
- bootlogd, fstab-decode, halt, init, killall5, last,
+ bootlogd, fstab-decode, halt, init, killall5, last,
lastb (link to last), mesg, pidof (link to killall5),
poweroff (link to halt), reboot (link to halt), runlevel, shutdown,
sulogin, and telinit (link to init)
diff --git a/chapter06/util-linux.xml b/chapter06/util-linux.xml
index 476aa2ed5..b61bdfa06 100644
--- a/chapter06/util-linux.xml
+++ b/chapter06/util-linux.xml
@@ -112,7 +112,7 @@ mkdir -pv /var/lib/hwclock
wdctl, whereis, wipefs, and x86_64libblkid.{a,so}, libmount.{a,so}, libuuid.{a,so}
-
+
/usr/include/blkid, /usr/include/libmount, /usr/include/uuid,
/usr/share/getopt, /var/lib/hwclock
@@ -343,7 +343,7 @@ mkdir -pv /var/lib/hwclock
findmnt
- Is a command line interface to the libmount library
+ Is a command line interface to the libmount library
for work with mountinfo, fstab and mtab filesfindmnt
@@ -397,7 +397,7 @@ mkdir -pv /var/lib/hwclock
fsfreeze
- Is a very simple wrapper around FIFREEZE/FITHAW ioctl
+ Is a very simple wrapper around FIFREEZE/FITHAW ioctl
kernel driver operationsfsfreeze
diff --git a/chapter07/bootscripts.xml b/chapter07/bootscripts.xml
index 2ad26e814..5c7d71cbd 100644
--- a/chapter07/bootscripts.xml
+++ b/chapter07/bootscripts.xml
@@ -58,7 +58,7 @@
ifup, localnet, modules, mountfs, mountkernfs, network, rc, reboot,
sendsignals, setclock, static, swap, sysctl, sysklogd, template,
udev, and udev_retry
- /etc/rc.d, /etc/init.d (symbolic link), /etc/sysconfig,
+ /etc/rc.d, /etc/init.d (symbolic link), /etc/sysconfig,
/lib/services, /lib/lsb (symbolic link)
diff --git a/chapter07/console.xml b/chapter07/console.xml
index 75a3d2a25..d37dab6df 100644
--- a/chapter07/console.xml
+++ b/chapter07/console.xml
@@ -19,7 +19,7 @@
bootscript that sets up the keyboard map, console font and console kernel log
level. If non-ASCII characters (e.g., the copyright sign, the British pound
sign and Euro symbol) will not be used and the keyboard is a U.S. one, much
- of this section can be skipped. Without the configuration file, (or
+ of this section can be skipped. Without the configuration file, (or
equivalent settings in rc.site), the
console bootscript will do nothing.
@@ -78,7 +78,7 @@
name, -m, and the name of the application character
map to load. E.g., in order to load the lat1-16 font
together with the 8859-1 application character map
- (as it is appropriate in the USA),
+ (as it is appropriate in the USA),
set this variable to lat1-16 -m 8859-1.
In UTF-8 mode, the kernel uses the application character map for
diff --git a/chapter07/introduction.xml b/chapter07/introduction.xml
index b8afde239..4b0994978 100644
--- a/chapter07/introduction.xml
+++ b/chapter07/introduction.xml
@@ -10,10 +10,10 @@
Introduction
- This chapter discusses configuration files and boot scripts.
- First, the general configuration files needed to set up networking are
+ This chapter discusses configuration files and boot scripts.
+ First, the general configuration files needed to set up networking are
presented.
-
+
@@ -22,7 +22,7 @@
-
+
Second, issues that affect the proper setup of devices diescussed.
@@ -38,14 +38,14 @@
scripts needed during the boot process. Most of these scripts will work
without modification, but a few require additional configuration files
because they deal with hardware-dependent information.
-
+
System-V style init scripts are employed in this book because they are
widely used and relatively simple. For additional options, a hint detailing
the BSD style init setup is available at . Searching the LFS mailing lists for
depinit, upstart, or systemd
will also offer additional information.
-
+
If using an alternative style of init scripts, skip these sections.A listing of the boot scripts are found in
-
-
+
+
Finally, there is a brief introduction to the scripts and configuration
files used when the user logs into the system.
diff --git a/chapter07/network.xml b/chapter07/network.xml
index cd1e9ec3c..8a721fb5a 100644
--- a/chapter07/network.xml
+++ b/chapter07/network.xml
@@ -30,7 +30,7 @@
If there is only one network interface in the system to be
configured, this section is optional, although it will never be wrong to do
it. In many cases (e.g. a laptop with a wireless and a wired interface),
- accomplishing the configuration in this section is necessary.
+ accomplishing the configuration in this section is necessary.With Udev and modular network drivers, the network interface numbering
is not persistent across reboots by default, because the drivers are loaded
@@ -51,7 +51,7 @@
In some cases such as when MAC addresess have been assigned to
a network card manually or in a virtual environment such as Xen,
- the network rules file may not have been generated because addresses
+ the network rules file may not have been generated because addresses
are not consistently assigned. In these cases, just continue to
the next section.
@@ -125,7 +125,7 @@
ifconfig.xyz, where xyz is
meaningful to the administrator such as the device name (e.g. eth0).
Inside this file are attributes to this interface, such as its IP
- address(es), subnet masks, and so forth. It is necessary that
+ address(es), subnet masks, and so forth. It is necessary that
the stem of the filename be ifconfig.The following command creates a sample file for the
@@ -153,7 +153,7 @@ EOF
ifup and ifdown commands.The IFACE variable defines the interface name,
- for example, eth0. It is required for all network device configuration
+ for example, eth0. It is required for all network device configuration
files. The SERVICE variable defines the method used for
diff --git a/chapter07/profile.xml b/chapter07/profile.xml
index 09f59eded..af33993f3 100644
--- a/chapter07/profile.xml
+++ b/chapter07/profile.xml
@@ -155,7 +155,7 @@ EOF
8-bit). So you can use the C locale only if you are sure that
you will never need 8-bit characters.
- UTF-8 based locales are not supported well by many programs.
+ UTF-8 based locales are not supported well by many programs.
Work is in progress to document and, if possible, fix such problems, see
.
diff --git a/chapter07/setclock.xml b/chapter07/setclock.xml
index f8a03579b..1daa445ef 100644
--- a/chapter07/setclock.xml
+++ b/chapter07/setclock.xml
@@ -51,7 +51,7 @@
UTC=1
-# Set this to any options you might need to give to hwclock,
+# Set this to any options you might need to give to hwclock,
# such as machine hardware clock type for Alphas.
CLOCKPARAMS=
diff --git a/chapter07/site.xml b/chapter07/site.xml
index dcb2c5532..8e0e4bd76 100644
--- a/chapter07/site.xml
+++ b/chapter07/site.xml
@@ -24,7 +24,7 @@
rc.site, the values in the script specific files have
precedence.
- rc.site also contains parameters that can
+ rc.site also contains parameters that can
customize other aspects of the boot process. Setting the IPROMPT variable
will enable selective running of bootscripts. Other options are described
in the file comments. The default version of the file is as follows:
@@ -70,11 +70,11 @@
/sbin/shutdown -f -r now. On the other hand, you can
force all file systems to be checked by creating
/forcefsck or running shutdown with
- the -F parameter instead of -f.
+ the -F parameter instead of -f.
-
+
Setting the variable FASTBOOT=y will disable fsck
- during the boot process until it is removed. This is not recommended
+ during the boot process until it is removed. This is not recommended
on a permanent basis.Normally, all files in the sysfs are available to userspace
processes and to udevd for processing (including modifications to device
- nodes).
+ nodes).
@@ -133,7 +133,7 @@
Creating static device nodes in /lib/udev/devices also provides an easy
workaround for devices that are not supported by the dynamic device
- handling infrastructure.
+ handling infrastructure.
The /etc/rc.d/init.d/udev initscript starts
udevd, triggers any "coldplug" devices that have
@@ -142,7 +142,7 @@
/sbin/hotplug . This is done because the kernel no
longer needs to call out to an external binary. Instead
udevd will listen on a netlink socket for uevents that
- the kernel raises.
+ the kernel raises.
The /etc/rc.d/init.d/udev_retry initscript takes
care of re-triggering events for subsystems whose rules may rely on
diff --git a/chapter07/usage.xml b/chapter07/usage.xml
index 73daf2861..78c1268bb 100644
--- a/chapter07/usage.xml
+++ b/chapter07/usage.xml
@@ -50,7 +50,7 @@
During the kernel initialization, the first program that is run
- is either specified on the command line or, by default
+ is either specified on the command line or, by default
init. This program reads the initialization file
/etc/inittab. Create this file with:
diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml
index 39873d650..066c3b901 100644
--- a/chapter08/fstab.xml
+++ b/chapter08/fstab.xml
@@ -103,7 +103,7 @@ EOF
failures for some hard disk types. To do this, add the
mount option to the appropriate entry in
/etc/fstab. To check if the disk drive supports
- this option, run
+ this option, run
hdparm
on the applicable disk drive. For example, if:
diff --git a/chapter08/grub.xml b/chapter08/grub.xml
index 8d92d5ea7..1ff73d777 100644
--- a/chapter08/grub.xml
+++ b/chapter08/grub.xml
@@ -47,8 +47,8 @@ xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso
the form of (hdn,m), where n
is the hard drive number and m is the partition
number. The hard drive number starts from zero, but the partition number
- starts from one for normal partitions and five for extended partitions.
- Note that this is different from earlier versions where
+ starts from one for normal partitions and five for extended partitions.
+ Note that this is different from earlier versions where
both numbers started from zero. For example, partition sda1 is (hd0,1) to
GRUB and sdb3 is
@@ -63,7 +63,7 @@ xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso
Setting Up the Configuration
- GRUB works by writing data to the first physical track of the
+ GRUB works by writing data to the first physical track of the
hard disk. This area is not part of any file system. The programs
there access GRUB modules in the boot partition. The default location
is /boot/grub/.
@@ -90,19 +90,19 @@ xorriso -as cdrecord -v dev=/dev/cdrw blank=as_needed grub-img.iso
class="partition">sda2.Install the GRUB files into /boot/grub and set up the boot track:
+ class="directory">/boot/grub and set up the boot track:
The following command will overwrite the current boot loader. Do not
run the command if this is not desired, for example, if using a third party
- boot manager to manage the Master Boot Record (MBR).
+ boot manager to manage the Master Boot Record (MBR).
grub-install /dev/sda
diff --git a/prologue/architecture.xml b/prologue/architecture.xml
index 7ee2d8d0f..45e1fbdb1 100644
--- a/prologue/architecture.xml
+++ b/prologue/architecture.xml
@@ -25,8 +25,8 @@ larger and the execution speeds are only slightly faster. For example, in a
test build of LFS-6.5 on a Core2Duo CPU based system, the following statistics
were measured:
-Architecture Build Time Build Size
-32-bit 198.5 minutes 648 MB
+Architecture Build Time Build Size
+32-bit 198.5 minutes 648 MB
64-bit 190.6 minutes 709 MBAs you can see, the 64-bit build is only 4% faster and is 9% larger than
diff --git a/prologue/bookinfo.xml b/prologue/bookinfo.xml
index 8ca2a5c91..5d95c53c5 100644
--- a/prologue/bookinfo.xml
+++ b/prologue/bookinfo.xml
@@ -33,7 +33,7 @@
All rights reserved.This book is licensed under a .
- Computer instructions may be extracted from the book under the
+ Computer instructions may be extracted from the book under the
.Linux is a registered trademark of
diff --git a/prologue/foreword.xml b/prologue/foreword.xml
index da1de7756..6a4c56828 100644
--- a/prologue/foreword.xml
+++ b/prologue/foreword.xml
@@ -13,7 +13,7 @@
My journey to learn and better understand Linux began over a decade ago,
back in 1998. I had just installed my first Linux distribution and had
quickly become intrigued with the whole concept and philosophy behind
-Linux.
+Linux.There are always many ways to accomplish a single task. The same can be
said about Linux distributions. A great many have existed over the years. Some
diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml
index d44550f41..74cb9e573 100644
--- a/prologue/hostreqs.xml
+++ b/prologue/hostreqs.xml
@@ -157,7 +157,7 @@ echo "/bin/sh -> `readlink -f /bin/sh`"
echo -n "Binutils: "; ld --version | head -n1 | cut -d" " -f3-
bison --version | head -n1
if [ -e /usr/bin/yacc ];
- then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`";
+ then echo "/usr/bin/yacc -> `readlink -f /usr/bin/yacc`";
else echo "yacc not found"; fi
bzip2 --version 2>&1 < /dev/null | head -n1 | cut -d" " -f1,6-
@@ -166,7 +166,7 @@ diff --version | head -n1
find --version | head -n1
gawk --version | head -n1
if [ -e /usr/bin/awk ];
- then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`";
+ then echo "/usr/bin/awk -> `readlink -f /usr/bin/awk`";
else echo "awk not found"; fi
gcc --version | head -n1
@@ -184,7 +184,7 @@ echo "Texinfo: `makeinfo --version | head -n1`"
xz --version | head -n1
echo 'main(){}' > dummy.c && gcc -o dummy dummy.c
-if [ -x dummy ]
+if [ -x dummy ]
then echo "gcc compilation OK";
else echo "gcc compilation failed"; fi
rm -f dummy.c dummy
diff --git a/prologue/standards.xml b/prologue/standards.xml
index 20b340a99..40acd3992 100644
--- a/prologue/standards.xml
+++ b/prologue/standards.xml
@@ -13,21 +13,21 @@
- The structure of LFS follows Linux standards as closely as
+ The structure of LFS follows Linux standards as closely as
possible. The primary standards are:
-
+
POSIX.1-2008.
- Filesystem
+ Filesystem
Hierarchy Standard (FHS)
- Linux
+ Linux
Standard Base (LSB) Core Specification 4.0The LSB has five separate standards: Core, C++, Desktop,
@@ -48,7 +48,7 @@
Creating a complete LFS system capable of passing the LSB
certifications tests is possible, but not without many additional packages
that are beyond the scope of LFS. These additional packages have
- installation instructions in BLFS.
+ installation instructions in BLFS. Packages supplied by LFS needed to
@@ -102,16 +102,16 @@
-
+ Packages supplied by BLFS needed to
satisfy the LSB Requirements
-
+
LSB Core:
- At, Batch (a part of At), Bc, Cpio, Ed, Fcrontab, Initd-tools,
+ At, Batch (a part of At), Bc, Cpio, Ed, Fcrontab, Initd-tools,
Lsb_release, PAM, Sendmail (or Postfix or Exim)
@@ -155,11 +155,11 @@
-
- Packages not supplied by LFS or BLFS
+
+ Packages not supplied by LFS or BLFS
needed to satisfy the LSB Requirements
-
+
LSB Core:
diff --git a/prologue/why.xml b/prologue/why.xml
index c1aaad6ed..f70dbfba9 100644
--- a/prologue/why.xml
+++ b/prologue/why.xml
@@ -10,8 +10,8 @@
Rationale for Packages in the Book
- As stated earlier, the goal of LFS is to build a complete and usable
- foundation-level system. This includes all packages needed to replicate
+ As stated earlier, the goal of LFS is to build a complete and usable
+ foundation-level system. This includes all packages needed to replicate
itself while providing a relatively minimal base from which to customize
a more complete system based on the choices of the user. This does not
mean that LFS is the smallest system possible. Several important packages
@@ -49,7 +49,7 @@
Binutils
- This package contains a linker, an assembler, and other
+ This package contains a linker, an assembler, and other
tools for handling object files. The programs in this package are
needed to compile most of the packages in an LFS system and beyond.
@@ -64,7 +64,7 @@
Bzip2
- This package contains programs for compressing and decompressing
+ This package contains programs for compressing and decompressing
files. It is required to decompress many LFS packages.
@@ -78,7 +78,7 @@
Coreutils
- This package contains a number of essential programs for viewing
+ This package contains a number of essential programs for viewing
and manipulating files and directories. These programs are needed for
command line file management, and are necessary for the installation
procedures of every package in LFS.
@@ -94,7 +94,7 @@
Diffutils
- This package contains programs that show the differences
+ This package contains programs that show the differences
between files or directories. These programs can be used to create
patches, and are also used in many packages' build procedures.
@@ -102,9 +102,9 @@
Expect
- This package contains a program for carrying out scripted
+ This package contains a program for carrying out scripted
dialogues with other interactive programs. It is commonly used
- for testing other packages. It is only installed in the temporary
+ for testing other packages. It is only installed in the temporary
toolchain.
@@ -119,7 +119,7 @@
File
- This package contains a utility for determining the type of a
+ This package contains a utility for determining the type of a
given file or files. A few packages need it to build.
@@ -133,9 +133,9 @@
Flex
- This package contains a utility for generating programs that
- recognize patterns in text. It is the GNU version of the lex
- (lexical analyzer) program. It is required to build several
+ This package contains a utility for generating programs that
+ recognize patterns in text. It is the GNU version of the lex
+ (lexical analyzer) program. It is required to build several
LFS packages.
@@ -150,8 +150,8 @@
Gcc
- This package is the Gnu Compiler Collection. It contains the
- C and C++ compilers as well as several others not built by LFS.
+ This package is the Gnu Compiler Collection. It contains the
+ C and C++ compilers as well as several others not built by LFS.
@@ -165,7 +165,7 @@
Gettext
- This package contains utilities and libraries for
+ This package contains utilities and libraries for
internationalization and localization of numerous packages.
@@ -200,7 +200,7 @@
GRUB
- This package is the Grand Unified Boot Loader. It is one
+ This package is the Grand Unified Boot Loader. It is one
of several boot loaders available, but is the most flexible.
@@ -208,7 +208,7 @@
Gzip
- This package contains programs for compressing and
+ This package contains programs for compressing and
decompressing files. It is needed to decompress many packages in LFS
and beyond.
@@ -223,7 +223,7 @@
Inetutils
- This package contains programs for basic network
+ This package contains programs for basic network
administration.
@@ -260,8 +260,8 @@
Libtool
- This package contains the GNU generic library support
- script. It wraps the complexity of using shared libraries in a
+ This package contains the GNU generic library support
+ script. It wraps the complexity of using shared libraries in a
consistent, portable interface. It is needed by the test
suites in other LFS packages.
@@ -313,15 +313,15 @@
MPFR
- This package contains functions for multiple precision
+ This package contains functions for multiple precision
arithmetic. It is required by Gcc.Ncurses
- This package contains libraries for terminal-independent
- handling of character screens. It is often used to provide
+ This package contains libraries for terminal-independent
+ handling of character screens. It is often used to provide
cursor control for a menuing system. It is needed by a number of
packages in LFS.
@@ -330,7 +330,7 @@
PatchThis package contains a program for modifying or creating files by
- applying a patch file typically created
+ applying a patch file typically created
by the diff program. It is needed by
the build procedure for several LFS packages.
@@ -355,7 +355,7 @@
Pkg-config
- This package provides a program to return meta-data about an
+ This package provides a program to return meta-data about an
installed library or package.
@@ -377,7 +377,7 @@
Psmisc
- This package contains programs for displaying information
+ This package contains programs for displaying information
about running processes. These programs are useful for system
administration.
@@ -385,30 +385,30 @@
Readline
- This package is a set of libraries that offers command-line
+ This package is a set of libraries that offers command-line
editing and history capabilities. It is used by Bash.Sed
- This package allows editing of text without opening it in a
- text editor. It is also needed by most LFS packages' configure
+ This package allows editing of text without opening it in a
+ text editor. It is also needed by most LFS packages' configure
scripts.Shadow
- This package contains programs for handling passwords
+ This package contains programs for handling passwords
in a secure way.Sysklogd
- This package contains programs for logging system messages,
- such as those given by the kernel or daemon processes when unusual
+ This package contains programs for logging system messages,
+ such as those given by the kernel or daemon processes when unusual
events occur.
@@ -431,22 +431,22 @@
TclThis package contains the Tool Command Language used
- in many test suites in LFS packages. It is only installed in
+ in many test suites in LFS packages. It is only installed in
the temporary toolchain.Texinfo
- This package contains programs for reading, writing, and
- converting info pages. It is used in the installation
+ This package contains programs for reading, writing, and
+ converting info pages. It is used in the installation
procedures of many LFS packages.Udev
- This package contains programs for dynamic creation of
+ This package contains programs for dynamic creation of
device nodes. It is an alternative to creating thousands of
static devices in the /dev directory.
@@ -454,8 +454,8 @@
Util-linux
- This package contains miscellaneous utility programs.
- Among them are utilities for handling file systems, consoles,
+ This package contains miscellaneous utility programs.
+ Among them are utilities for handling file systems, consoles,
partitions, and messages.
@@ -471,7 +471,7 @@
XZ Utils
- This package contains programs for compressing and decompressing
+ This package contains programs for compressing and decompressing
files. It provides the highest compression generally available
and is useful for decompressing packages XZ or LZMA format.
@@ -479,7 +479,7 @@
Zlib
- This package contains compression and decompression routines
+ This package contains compression and decompression routines
used by some programs.