diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 5b95a7392..090c88442 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,33 @@ --> + + 2014-08-03 + + + [krejzi] - Merged LFS SVN-20140803. + + + + + + 2014-08-02 + + + [bdubbs] - Move sed to be after acl. Fixes + #3646. + + + [bdubbs] - Remove reference to obsolete /proc/ksyms in + modules boot script. Fixes + #3644. + + + [bdubbs] - Change internal references to svn to an entitiy. + + + + 2014-07-31 diff --git a/chapter02/creatingpartition.xml b/chapter02/creatingpartition.xml index 9733b6fd4..0e86d7c2d 100644 --- a/chapter02/creatingpartition.xml +++ b/chapter02/creatingpartition.xml @@ -59,10 +59,10 @@ For experienced users, other partitioning schemes are possible. The new LFS system can be on a software RAID array or an LVM logical volume. + url="&blfs-root;/view/&short-version;/postlfs/raid.html">RAID array or an LVM logical volume. However, some of these options require an initramfs, which is + url="&blfs-root;/view/&short-version;/postlfs/initramfs.html">initramfs, which is an advanced topic. These partitioning methodologies are not recommended for first time LFS users. diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index b0fd383f8..49612eba7 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -105,6 +105,10 @@ done sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' gcc/configure + Also fix a problem identified upstream: + +sed -i 's/if \((code.*))\)/if (\1 \&\& \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c + The GCC documentation recommends building GCC outside of the source directory in a dedicated build directory: diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index 1dce58834..1bd4c4a20 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -95,6 +95,10 @@ mv -v gmp-&gmp-extracted-version; gmp tar -xf ../mpc-&mpc-version;.tar.gz mv -v mpc-&mpc-version; mpc + As in the first build of GCC, fix a problem identified upstream: + +sed -i 's/if \((code.*))\)/if (\1 \&\& \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c + Create a separate build directory again: mkdir -v ../gcc-build diff --git a/chapter06/chapter06.xml b/chapter06/chapter06.xml index 8af18f57a..5607d86a2 100644 --- a/chapter06/chapter06.xml +++ b/chapter06/chapter06.xml @@ -28,13 +28,13 @@ - + diff --git a/chapter06/db.xml b/chapter06/db.xml index 5549c2ed4..e3c185362 100644 --- a/chapter06/db.xml +++ b/chapter06/db.xml @@ -42,7 +42,7 @@ There are instructions to build this package in the BLFS book if you need to build the RPC server or additional language bindings. The additional language bindings will require additional packages to be - installed. See + installed. See for suggested installation instructions. Also, GDBM could be used in place of Berkeley @@ -52,7 +52,7 @@ installed, not with GDBM. If you fully understand the risks versus benefits of using GDBM and wish to use it anyway, see the BLFS instructions located at + url="&blfs-root;view/&short-version;/general/gdbm.html"/> diff --git a/chapter06/gcc.xml b/chapter06/gcc.xml index 7b6ab61a1..8dc997b01 100644 --- a/chapter06/gcc.xml +++ b/chapter06/gcc.xml @@ -40,6 +40,11 @@ Installation of GCC + + As in Chapter 5, fix a problem identified upstream: + +sed -i 's/if \((code.*))\)/if (\1 \&\& \!DEBUG_INSN_P (insn))/' gcc/sched-deps.c + Unless the test results are vastly different from those at the above URL, it is safe to continue. @@ -320,7 +326,7 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib libasan.{a,so}, libatomic.{a,so}, libgcc.a, libgcc_eh.a, libgcc_s.so, libgcov.a, libgomp.{a,so}, libiberty.a, libitm.{a,so}, - liblto_plugin.so, libmudflap.{a,so}, libmudflapth.{a,so}, + liblto_plugin.so, libquadmath.{a,so}, libssp.{a,so}, libssp_nonshared.a, libstdc++.{a,so}, libsupc++.a and libtsan.{a,so} @@ -500,7 +506,7 @@ mv -v /usr/lib/*gdb.py /usr/share/gdb/auto-load/usr/lib - + libquadmath diff --git a/chapter06/iproute2.xml b/chapter06/iproute2.xml index d86037f33..5f4c98d66 100644 --- a/chapter06/iproute2.xml +++ b/chapter06/iproute2.xml @@ -46,7 +46,7 @@ common requirement on a base Linux system, remove the dependency on Berkeley DB by applying the commands below. If the arpd binary is needed, instructions for compiling Berkeley DB can be found in the BLFS Book - at . + at . sed -i '/^TARGETS/s@arpd@@g' misc/Makefile diff --git a/chapter06/perl.xml b/chapter06/perl.xml index 170aa2388..443c4c5ac 100644 --- a/chapter06/perl.xml +++ b/chapter06/perl.xml @@ -47,7 +47,7 @@ echo "127.0.0.1 localhost $(hostname)" > /etc/hosts - This version of Perl now builds the Compress::Raw::Zlib ane + This version of Perl now builds the Compress::Raw::Zlib and Compress::Raw::BZip2 modules. By default Perl will use an internal copy of the sources for the build. Issue the following command so that Perl will use the libraries diff --git a/chapter06/pkgmgt.xml b/chapter06/pkgmgt.xml index 67ffd1cd7..b4734aba0 100644 --- a/chapter06/pkgmgt.xml +++ b/chapter06/pkgmgt.xml @@ -51,14 +51,10 @@ - If one of the toolchain packages (Glibc, GCC or Binutils) needs - to be upgraded to a newer minor version, it is safer to rebuild LFS. - Though you may be able to get by rebuilding all - the packages in their dependency order, we do not recommend it. For - example, if glibc-2.2.x needs to be updated to glibc-2.3.x, it is safer - to rebuild. For micro version updates, a simple reinstallation usually - works, but is not guaranteed. For example, upgrading from glibc-2.3.4 - to glibc-2.3.5 will not usually cause any problems. + If Glibc needs to be upgraded to a newer version, (e.g. from + glibc-2.19 to glibc-2.20, it is safer to rebuild LFS. Though you + may be able to rebuild all the packages in their + dependency order, we do not recommend it. diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml index 19086094a..a44fd17a7 100644 --- a/chapter06/shadow.xml +++ b/chapter06/shadow.xml @@ -43,7 +43,7 @@ If you would like to enforce the use of strong passwords, refer to - for installing + for installing CrackLib prior to building Shadow. Then add --with-libcrack to the configure command below. diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 840440cac..edadde175 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -34,7 +34,7 @@ If you prefer another editor—such as Emacs, Joe, or Nano—please refer to for suggested + url="&blfs-root;view/&short-version;/postlfs/editors.html"/> for suggested installation instructions. @@ -119,7 +119,7 @@ done additional libraries to be installed. For more information on this process, refer to the Vim documentation and the Vim installation page in the BLFS book at . + url="&blfs-root;view/&short-version;/postlfs/vim.html"/>. diff --git a/chapter07/locale.xml b/chapter07/locale.xml index 082c4d2d2..75346eee2 100644 --- a/chapter07/locale.xml +++ b/chapter07/locale.xml @@ -147,6 +147,6 @@ EOF 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/symlinks.xml b/chapter07/symlinks.xml index 65adcc567..1ee23b9fa 100644 --- a/chapter07/symlinks.xml +++ b/chapter07/symlinks.xml @@ -24,7 +24,7 @@ fixable by creating udev rules for custom persistent symlinks. The case of network cards is covered separately in , and sound card configuration can - be found in BLFS. + be found in BLFS. For each of your devices that is likely to have this problem (even if the problem doesn't exist in your current Linux distribution), diff --git a/chapter08/grub.xml b/chapter08/grub.xml index 6d68f8605..424c5fc09 100644 --- a/chapter08/grub.xml +++ b/chapter08/grub.xml @@ -31,7 +31,7 @@ already have a boot device, you can create one. In order for the procedure below to work, you need to jump ahead to BLFS and install xorriso from the + url="http://www.linuxfromscratch.org/blfs/view/&short-version;/multimedia/libisoburn.html"> libisoburn package. cd /tmp && diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index c31fc1e4a..6e0413aa7 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -61,7 +61,7 @@ url="&hints-root;kernel-configuration.txt"/>. BLFS has some information regarding particular kernel configuration requirements of packages outside of LFS at . Additional + url="&blfs-root;view/&short-version;/longindex.html#kernel-config-index"/>. Additional information about configuring and building the kernel can be found at diff --git a/chapter09/reboot.xml b/chapter09/reboot.xml index 2a35b2e45..8d9474853 100644 --- a/chapter09/reboot.xml +++ b/chapter09/reboot.xml @@ -21,42 +21,42 @@ A text mode browser such as Lynx + url='&blfs-root;/view/&short-version;/basicnet/lynx.html'>Lynx will allow you to easily view the BLFS book in one virtual terminal, while building packages in another. The GPM package will allow + url='&blfs-root;/view/&short-version;/general/gpm.html'>GPM package will allow you to perform copy/paste actions in your virtual terminals. If you are in a situation where static IP configuration does not meet your networking requirements, installing a package - such as dhcpcd + such as dhcpcd or the client portion of dhcp may be + url='&blfs-root;/view/&short-version;/basicnet/dhcp.html'>dhcp may be useful. Installing sudo may be useful for + url='&blfs-root;/view/&short-version;/postlfs/sudo.html'>sudo may be useful for building packages as a non-root user and easily installing the resulting packages in your new system. If you want to access your new system from a remote system within a comfortable GUI environment, install openssh and its + url='&blfs-root;/view/&short-version;/postlfs/openssh.html'>openssh and its prerequsite, openssl. + url='&blfs-root;/view/&short-version;/postlfs/openssl.html'>openssl. To make fetching files over the internet easier, install - wget. + wget. If one or more of your disk drives have a GUID partition table (GPT), either gptfdisk or parted will be useful. + url='&blfs-root;/view/&short-version;/postlfs/gptfdisk.html'>gptfdisk or parted will be useful. Finally, a review of the following configuration files diff --git a/general.ent b/general.ent index 4708ccb64..bc751620d 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - - + + +