From 1652151de9125c3833f105f68e11a7a043f30aee Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Thu, 5 Apr 2007 19:03:40 +0000 Subject: Fixes for PDF output. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8015 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/binutils-pass1.xml | 3 ++- chapter06/m4.xml | 3 ++- chapter06/man-db.xml | 6 +++++- chapter06/shadow.xml | 6 ++++-- chapter06/udev.xml | 10 ++++++---- chapter07/inputrc.xml | 6 ++---- chapter08/fstab.xml | 14 +++++++------- 7 files changed, 28 insertions(+), 20 deletions(-) diff --git a/chapter05/binutils-pass1.xml b/chapter05/binutils-pass1.xml index b5c4687a5..4a4565e72 100644 --- a/chapter05/binutils-pass1.xml +++ b/chapter05/binutils-pass1.xml @@ -59,7 +59,8 @@ cd ../binutils-build Now prepare Binutils for compilation: -CC="gcc -B/usr/bin/" ../binutils-&binutils-version;/configure --prefix=/tools --disable-nls +CC="gcc -B/usr/bin/" ../binutils-&binutils-version;/configure \ + --prefix=/tools --disable-nls The meaning of the configure options: diff --git a/chapter06/m4.xml b/chapter06/m4.xml index a5127583e..4a66b0c1e 100644 --- a/chapter06/m4.xml +++ b/chapter06/m4.xml @@ -69,7 +69,8 @@ - m4 + + m4 copies the given files while expanding the macros that they contain. These macros are either built-in or user-defined and can diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml index 8025f8469..800729a2f 100644 --- a/chapter06/man-db.xml +++ b/chapter06/man-db.xml @@ -163,8 +163,12 @@ install -m755 convert-mans /usr/bin Expected character encoding of manual pages + - + + + + diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 4ea7d8f79..91f614110 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -51,7 +51,8 @@ Prepare Shadow for compilation: -./configure --libdir=/lib --sysconfdir=/etc --enable-shared --without-selinux +./configure --libdir=/lib --sysconfdir=/etc --enable-shared \ + --without-selinux The meaning of the configure options: @@ -108,7 +109,8 @@ convert-mans UTF-8 ISO-8859-9 man/tr/*.? If you built Shadow with Cracklib support, run the following: -sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' etc/login.defs +sed -i 's@DICTPATH.*@DICTPATH\t/lib/cracklib/pw_dict@' \ + etc/login.defs Compile the package: diff --git a/chapter06/udev.xml b/chapter06/udev.xml index d31ccae74..70da75ca7 100644 --- a/chapter06/udev.xml +++ b/chapter06/udev.xml @@ -54,8 +54,9 @@ ln -sv /proc/kcore /lib/udev/devices/core Compile the package: make EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \ - extras/firmware extras/floppy extras/path_id extras/rule_generator \ - extras/scsi_id extras/usb_id extras/volume_id" + extras/firmware extras/floppy extras/path_id \ + extras/rule_generator extras/scsi_id extras/usb_id \ + extras/volume_id" The meaning of the make option: @@ -80,8 +81,9 @@ ln -sv /proc/kcore /lib/udev/devices/core make DESTDIR=/ \ EXTRAS="extras/ata_id extras/cdrom_id extras/edd_id \ - extras/firmware extras/floppy extras/path_id extras/rule_generator \ - extras/scsi_id extras/usb_id extras/volume_id" install + extras/firmware extras/floppy extras/path_id \ + extras/rule_generator extras/scsi_id \ + extras/usb_id extras/volume_id" install The meaning of the make parameter: diff --git a/chapter07/inputrc.xml b/chapter07/inputrc.xml index dc928bfe9..45a102ea3 100644 --- a/chapter07/inputrc.xml +++ b/chapter07/inputrc.xml @@ -53,10 +53,8 @@ set output-meta On # none, visible or audible set bell-style none -# All of the following map the escape sequence of the -# value contained inside the 1st argument to the -# readline specific functions - +# All of the following map the escape sequence of the value +# contained in the 1st argument to the readline specific functions "\eOd": backward-word "\eOc": forward-word diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml index 29eaa329b..21af0750c 100644 --- a/chapter08/fstab.xml +++ b/chapter08/fstab.xml @@ -61,16 +61,16 @@ EOF relevant character set definition (found under File systems -> Native Language Support) has been compiled into the kernel or built as a module. The codepage option is also needed for - vfat and smbfs filesystems. It - should be set to the codepage number used under MS-DOS in your country. E.g., - in order to mount USB flash drives, a ru_RU.KOI8-R user would need the - following line in /etc/fstab: + vfat and smbfs filesystems. It should be set to the codepage number used + under MS-DOS in your country. E.g., in order to mount USB flash drives, a + ru_RU.KOI8-R user would need the following in the options portion of its + mount line in /etc/fstab: -/dev/sda1 /media/flash vfat noauto,user,quiet,showexec,iocharset=koi8r,codepage=866 0 0 +noauto,user,quiet,showexec,iocharset=koi8r,codepage=866 - The corresponding line for ru_RU.UTF-8 users is: + The corresponding options fragment for ru_RU.UTF-8 users is: -/dev/sda1 /media/flash vfat noauto,user,quiet,showexec,iocharset=utf8,codepage=866 0 0 +noauto,user,quiet,showexec,iocharset=utf8,codepage=866 In the latter case, the kernel emits the following message: -- cgit v1.2.3-54-g00ecf