From c226182dc5ff37f733c895ab16483ebd37c02bcc Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Thu, 3 Aug 2006 19:29:29 +0000 Subject: Ported updates from 6.2 branch. Small tags fixes. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7758 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/db.xml | 4 ++++ chapter06/e2fsprogs.xml | 7 +++++++ chapter06/glibc.xml | 16 +++++++++++++--- chapter06/grub.xml | 4 ++-- chapter06/kernfs.xml | 2 +- chapter06/linux-libc-headers.xml | 5 +++++ chapter06/udev.xml | 3 +++ chapter06/vim.xml | 22 ++++++++++++++++++++-- 8 files changed, 55 insertions(+), 8 deletions(-) (limited to 'chapter06') diff --git a/chapter06/db.xml b/chapter06/db.xml index 367f85e65..e0a0cbfc1 100644 --- a/chapter06/db.xml +++ b/chapter06/db.xml @@ -55,6 +55,10 @@ Installation of Berkeley DB + Patch the package to eliminate potential trap events: + +patch -Np1 -i ../&db-fixes-patch; + Prepare Berkeley DB for compilation: cd build_unix && diff --git a/chapter06/e2fsprogs.xml b/chapter06/e2fsprogs.xml index 7d27eefb5..ed8beb67e 100644 --- a/chapter06/e2fsprogs.xml +++ b/chapter06/e2fsprogs.xml @@ -94,6 +94,13 @@ cd build To test the results, issue: make check. + One of the E2fsprogs tests will attempt to allocate 256 MB + of memory. If you do not have significantly more RAM than this, it + is recommended to enable sufficient swap space for the test. See + and + for details on creating and enabling + swap space. + Install the binaries and documentation: make install diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml index eb6d8d080..0e010f9fd 100644 --- a/chapter06/glibc.xml +++ b/chapter06/glibc.xml @@ -57,8 +57,8 @@ The glibc-libidn tarball adds support for internationalized domain names (IDN) to Glibc. Many programs that support IDN require the full - libidn library (see - ), not this add-on. + libidn library, not this add-on (see + ). Unpack the tarball from within the Glibc source directory: tar -xf ../glibc-libidn-&glibc-version;.tar.bz2 @@ -69,6 +69,11 @@ patch -Np1 -i ../&glibc-linux_types-patch; + Add a header to define syscall functions for the inotify feature + available in newer Linux kernels: + +patch -Np1 -i ../&glibc-inotify-patch; + In the vi_VN.TCVN locale, bash enters an infinite loop at startup. It is unknown whether this is a bash bug or a Glibc problem. Disable installation of this locale in order to avoid the @@ -167,9 +172,14 @@ grep Error glibc-check-log make install + Install the inotify header to the system header location: + +cp -v ../glibc-&glibc-version;/sysdeps/unix/sysv/linux/inotify.h \ + /usr/include/sys + The locales that can make the system respond in a different language were not installed by the above command. None of the locales are required, - but, if some of them are misssing, testuites of the future packages would + but if some of them are missing, testsuites of the future packages would skip important testcases. Individual locales can be installed using the diff --git a/chapter06/grub.xml b/chapter06/grub.xml index 8570a6ac2..2750c5442 100644 --- a/chapter06/grub.xml +++ b/chapter06/grub.xml @@ -42,8 +42,8 @@ unset them when building GRUB. Start by applying the following patch to allow for better drive - detection, fix some GCC 4.x issues, and provide - better SATA support for some disk controllers: + detection, fix some GCC 4.x issues, and provide better SATA support + for some disk controllers: patch -Np1 -i ../&grub-geometry-patch; diff --git a/chapter06/kernfs.xml b/chapter06/kernfs.xml index 034d60422..1570de4be 100644 --- a/chapter06/kernfs.xml +++ b/chapter06/kernfs.xml @@ -62,7 +62,7 @@ mknod -m 666 $LFS/dev/null c 1 3 mount --bind /dev $LFS/dev - + Mounting Virtual Kernel File Systems diff --git a/chapter06/linux-libc-headers.xml b/chapter06/linux-libc-headers.xml index 9496c0b99..e1fed38f6 100644 --- a/chapter06/linux-libc-headers.xml +++ b/chapter06/linux-libc-headers.xml @@ -43,6 +43,11 @@ which was designed to maintain an API stable version of the Linux headers. + Add a userspace header and syscall support for the inotify feature + available in newer Linux kernels: + +patch -Np1 -i ../&linux-inotify-patch; + Install the header files: install -dv /usr/include/asm diff --git a/chapter06/udev.xml b/chapter06/udev.xml index 516133d31..f73da536d 100644 --- a/chapter06/udev.xml +++ b/chapter06/udev.xml @@ -73,6 +73,9 @@ ln -sv /proc/kcore /lib/udev/devices/core To test the results, issue: make test. + Note that the Udev testsuite will produce numerous messages in + the host system's logs. These are harmless and can be ignored. + Install the package: make DESTDIR=/ \ diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 4d67ad037..c8b613b6a 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -59,6 +59,12 @@ patch -Np1 -i ../&vim-mandir-patch; + There is an issue introduced by one of the upstream patches that + creates a problem downloading spellfiles via HTTP. Until this is updated + by the developers, the following patch fixes the problem: + +patch -Np1 -i ../&vim-spellfile-patch; + Finally, change the default location of the vimrc configuration file to /etc: @@ -188,8 +194,20 @@ EOF By default, Vim only installs spell files for the English language. - To install spell files for your preferred language, please read the README - file located here: + To install spell files for your preferred language, download the + *.spl and optionally, the *.sug + files for your language and character encoding from and and save them to + /usr/share/vim/vim70/spell/. + + To use these spell files, some configuration in + /etc/vimrc is needed, e.g.: + +set spelllang=en,ru +set spell + + For more information, see the appropriate README file located + at the the URL above. -- cgit v1.2.3-54-g00ecf