r57 - in trunk/text: chapter01 chapter06

robert at linuxfromscratch.org robert at linuxfromscratch.org
Fri Jan 7 11:07:37 PST 2005


Author: robert
Date: 2005-01-07 12:07:34 -0700 (Fri, 07 Jan 2005)
New Revision: 57

Added:
   trunk/text/chapter06/29-gettext.txt
   trunk/text/chapter06/30-inetutils.txt
   trunk/text/chapter06/31-iproute2.txt
   trunk/text/chapter06/32-perl.txt
   trunk/text/chapter06/33-texinfo.txt
   trunk/text/chapter06/34-autoconf.txt
   trunk/text/chapter06/35-automake.txt
   trunk/text/chapter06/36-bash.txt
   trunk/text/chapter06/37-file.txt
   trunk/text/chapter06/38-libtool.txt
   trunk/text/chapter06/39-bzip2.txt
   trunk/text/chapter06/40-diffutils.txt
   trunk/text/chapter06/41-kbd.txt
   trunk/text/chapter06/42-e2fsprogs.txt
   trunk/text/chapter06/43-grep.txt
   trunk/text/chapter06/44-grub.txt
   trunk/text/chapter06/45-gzip.txt
   trunk/text/chapter06/46-hotplug.txt
   trunk/text/chapter06/47-man.txt
   trunk/text/chapter06/48-make.txt
   trunk/text/chapter06/49-module-init-tools.txt
   trunk/text/chapter06/50-patch.txt
   trunk/text/chapter06/51-procps.txt
   trunk/text/chapter06/52-psmisc.txt
   trunk/text/chapter06/53-shadow.txt
   trunk/text/chapter06/54-libol.txt
   trunk/text/chapter06/55-syslog-ng.txt
   trunk/text/chapter06/56-sysvinit.txt
   trunk/text/chapter06/57-tar.txt
   trunk/text/chapter06/58-udev.txt
   trunk/text/chapter06/59-util-linux.txt
   trunk/text/chapter06/60-stripping.txt
   trunk/text/chapter06/61-revisedchroot.txt
Removed:
   trunk/text/chapter06/29-inetutils.txt
   trunk/text/chapter06/30-iproute2.txt
   trunk/text/chapter06/31-perl.txt
   trunk/text/chapter06/32-texinfo.txt
   trunk/text/chapter06/33-autoconf.txt
   trunk/text/chapter06/34-automake.txt
   trunk/text/chapter06/35-bash.txt
   trunk/text/chapter06/36-file.txt
   trunk/text/chapter06/37-libtool.txt
   trunk/text/chapter06/38-bzip2.txt
   trunk/text/chapter06/39-diffutils.txt
   trunk/text/chapter06/40-kbd.txt
   trunk/text/chapter06/41-e2fsprogs.txt
   trunk/text/chapter06/42-grep.txt
   trunk/text/chapter06/43-grub.txt
   trunk/text/chapter06/44-gzip.txt
   trunk/text/chapter06/45-hotplug.txt
   trunk/text/chapter06/46-man.txt
   trunk/text/chapter06/47-make.txt
   trunk/text/chapter06/48-module-init-tools.txt
   trunk/text/chapter06/49-patch.txt
   trunk/text/chapter06/50-procps.txt
   trunk/text/chapter06/51-psmisc.txt
   trunk/text/chapter06/52-shadow.txt
   trunk/text/chapter06/53-libol.txt
   trunk/text/chapter06/54-syslog-ng.txt
   trunk/text/chapter06/55-sysvinit.txt
   trunk/text/chapter06/56-tar.txt
   trunk/text/chapter06/57-udev.txt
   trunk/text/chapter06/58-util-linux.txt
   trunk/text/chapter06/59-stripping.txt
   trunk/text/chapter06/60-revisedchroot.txt
Modified:
   trunk/text/chapter01/changelog.txt
Log:
Added a Gettext page to chapter 6; did a lot of renaming pages.

Modified: trunk/text/chapter01/changelog.txt
===================================================================
--- trunk/text/chapter01/changelog.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter01/changelog.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -83,4 +83,5 @@
 
 January 7th, 2005 [robert]
 Bump to Texinfo 4.8, removed segfault patch. Bump to Findutils 4.2.11.
+Put a Gettext page in chapter 6.
 

Added: trunk/text/chapter06/29-gettext.txt
===================================================================
--- trunk/text/chapter06/29-gettext.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/29-gettext.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -0,0 +1,15 @@
+- Chapter 6 - Installing Gettext 0.14.1
+
+# Remember for uClibc or disable-nls this package can be skipped.
+
+./configure --prefix=/usr ${disable_nls} &&
+make
+
+# Run the test if you want.
+
+make check
+
+# Then install Gettext.
+
+make install
+

Deleted: trunk/text/chapter06/29-inetutils.txt
===================================================================
--- trunk/text/chapter06/29-inetutils.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/29-inetutils.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,12 +0,0 @@
-- Chapter 6 - Inetutils 1.4.2
-
-patch -Np1 -i ../inetutils-1.4.2-kernel_headers-1.patch &&
-patch -Np1 -i ../inetutils-1.4.2-no_server_man_pages-1.patch &&
-./configure --prefix=/usr --libexecdir=/usr/sbin \
-	--sysconfdir=/etc --localstatedir=/var \
-	--disable-logger --disable-syslogd \
-	--disable-whois --disable-servers ${disable_nls} &&
-make &&
-make install &&
-mv /usr/bin/ping /bin
-

Copied: trunk/text/chapter06/30-inetutils.txt (from rev 55, trunk/text/chapter06/29-inetutils.txt)

Deleted: trunk/text/chapter06/30-iproute2.txt
===================================================================
--- trunk/text/chapter06/30-iproute2.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/30-iproute2.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,13 +0,0 @@
-- Chapter 6 - Iproute2 2.6.9-ss040831
-
-# Not all versions of Iproute compile with uClibc well. We are using this
-# version because it works. The remove_db patch removes a dependency to
-# Berkley DB. The find_update patch re-sorts some make install commands
-# so the new version of Find doesn't complain.
-
-patch -Np1 -i ../iproute2-2.6.9_ss040831-remove_db-1.patch &&
-patch -Np1 -i ../iproute2-2.6.9_ss040831-find_update-1.patch &&
-./configure &&
-make SBINDIR=/sbin &&
-make install SBINDIR=/sbin
-

Copied: trunk/text/chapter06/31-iproute2.txt (from rev 55, trunk/text/chapter06/30-iproute2.txt)

Deleted: trunk/text/chapter06/31-perl.txt
===================================================================
--- trunk/text/chapter06/31-perl.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/31-perl.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,24 +0,0 @@
-- Chapter 6 - Perl 5.8.6
-
-# If you are using uClibc then you will need to apply this patch.
-
-patch -Np1 -i ../perl-5.8.6-uclibc-1.patch
-
-# Configure and make Perl with these commands.
-
-./configure.gnu --prefix=/usr -Dpager="/bin/less -isR" &&
-make
-
-# /etc/hosts is needed for the testsuite. Run this even if you do
-# not run the tests, upcomming packages may depend on it.
-
-echo "127.0.0.1 localhost $(hostname)" > /etc/hosts
-
-# Run the tests if you like. There may be 3 failed tests.
-
-make test
-
-# Then install Perl.
-
-make install
-

Copied: trunk/text/chapter06/32-perl.txt (from rev 55, trunk/text/chapter06/31-perl.txt)

Deleted: trunk/text/chapter06/32-texinfo.txt
===================================================================
--- trunk/text/chapter06/32-texinfo.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/32-texinfo.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,16 +0,0 @@
-- Chapter 6 - Texinfo 4.8
-
-patch -Np1 -i ../texinfo-4.7-segfault-1.patch &&
-env CC="gcc -pie -fPIE" \
-./configure --prefix=/usr ${disable_nls} &&
-make
-
-# Run the testsuite if you like. All the tests should pass.
-
-make check
-
-# Then install Texinfo.
-
-make install &&
-make TEXMF=/usr/share/texmf install-tex
-

Deleted: trunk/text/chapter06/33-autoconf.txt
===================================================================
--- trunk/text/chapter06/33-autoconf.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/33-autoconf.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,14 +0,0 @@
-- Chapter 6 - Autoconf 2.59
-
-./configure --prefix=/usr ${disable_nls} &&
-make
-
-# Run the tests if you like, they should all pass.
-# This testsuite takes a long time to run.
-
-make check
-
-# Then install Autoconf.
-
-make install
-

Copied: trunk/text/chapter06/33-texinfo.txt (from rev 56, trunk/text/chapter06/32-texinfo.txt)

Copied: trunk/text/chapter06/34-autoconf.txt (from rev 55, trunk/text/chapter06/33-autoconf.txt)

Deleted: trunk/text/chapter06/34-automake.txt
===================================================================
--- trunk/text/chapter06/34-automake.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/34-automake.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,14 +0,0 @@
-- Chapter 6 - Installing Automake 1.9.4
-
-./configure --prefix=/usr ${disable_nls} &&
-make
-
-# Run the tests if you like, they should all pass.
-# This testsuite takes a very long time to run.
-
-make check
-
-# Then install Automake.
-
-make install
-

Copied: trunk/text/chapter06/35-automake.txt (from rev 55, trunk/text/chapter06/34-automake.txt)

Deleted: trunk/text/chapter06/35-bash.txt
===================================================================
--- trunk/text/chapter06/35-bash.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/35-bash.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,91 +0,0 @@
-- Chapter 6 - Installing Bash 3.0
-
-# Use this patch if you are using Glibc.
-
-patch -Np1 -i ../bash-3.0-avoid_WCONTINUED-1.patch
-
-# This patch fixes various issues with Bash.
-
-patch -Np1 -i ../bash-3.0-fixes-1.patch
-
-# We have a few options on how to install Bash. Bash is needed to preform
-# any kind of maintence, it is also used for most login shells.
-# Option A: We install a statically linked Bash used for booting and for
-# Root's login, and install a dynamically linked Bash for users. This way
-# we can get the best of both worlds.
-# Option B: We can just install a statically linked Bash and everyone
-# uses it normally.
-# Option C: We can just install a dynamically linked Bash and use it
-# normally.
-# Don't forget to go to the bottom of this page to rerun the new Bash.
-
-# First option A: Build and install both static and shared versions of Bash.
-# We will install /bin/bash-static with /bin/sh symlinked to it, and
-# /bin/bash-shared with /bin/bash symlinked to it. Instruct your users to
-# adjust scripts to use /bin/bash instead of /bin/sh if they can. All
-# boot scripts should use /bin/sh. Use /bin/bash for user login shells
-# with useradd.
-
-./configure --prefix=/usr --bindir=/bin --enable-static-link \
-	--without-bash-malloc --with-installed-readline ${disable_nls} &&
-make
-
-# If you want to run the testsuite do that here. All tests should pass.
-
-make tests
-
-# Then install the static Bash, clean and rebuild the shared Bash.
-
-make install &&
-make distclean &&
-mv /bin/bash /bin/bash-static &&
-ln -sf bash-static /bin/sh &&
-./configure --prefix=/usr --bindir=/bin \
-	--without-bash-malloc --with-installed-readline \
-	${disable_nls} &&
-make
-
-# You may also want to run the tests on this Bash. All tests should pass.
-
-make tests
-
-# Then install the shared Bash.
-
-install bash /bin/bash-shared &&
-ln -sf bash-shared /bin/bash
-
-# Skip this if you preformed option A.
-# Option B: Build and install a static version of Bash.
-
-./configure --prefix=/usr --bindir=/bin --enable-static-link \
-    --without-bash-malloc --with-installed-readline ${disable_nls} &&
-make
-
-# Run the testsuite if you like. All tests should pass.
-
-make tests
-
-# Then install Bash.
-
-make install
-
-# Skip this if you preformed option A or B.
-# Option C: Build and install a shared version of Bash.
-
-./configure --prefix=/usr --bindir=/bin \
-    --without-bash-malloc --with-installed-readline ${disable_nls} &&
-make
-
-# Run the testsuite if you like. All tests should pass.
-
-make tests
-
-# Then install Bash.
-
-make install
-
-# Preform this regarless of which option you installed.
-# Then run the new Bash in your current login.
-
-exec /bin/bash --login +h
-

Copied: trunk/text/chapter06/36-bash.txt (from rev 55, trunk/text/chapter06/35-bash.txt)

Deleted: trunk/text/chapter06/36-file.txt
===================================================================
--- trunk/text/chapter06/36-file.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/36-file.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,6 +0,0 @@
-- Chapter 6 - Installing File 4.12
-
-./configure --prefix=/usr ${disable_nls} &&
-make &&
-make install
-

Copied: trunk/text/chapter06/37-file.txt (from rev 55, trunk/text/chapter06/36-file.txt)

Deleted: trunk/text/chapter06/37-libtool.txt
===================================================================
--- trunk/text/chapter06/37-libtool.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/37-libtool.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,13 +0,0 @@
-- Chapter 6 - Installing Libtool 1.5.10
-
-./configure --prefix=/usr ${disable_nls} &&
-make
-
-# Run the testsuite if you like. All tests should pass.
-
-make check
-
-# Then install Libtool.
-
-make install
-

Deleted: trunk/text/chapter06/38-bzip2.txt
===================================================================
--- trunk/text/chapter06/38-bzip2.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/38-bzip2.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,13 +0,0 @@
-- Chapter 6 - Installing Bzip2 1.0.2
-
-make -f Makefile-libbz2_so &&
-make clean &&
-make CC="gcc -pie -fPIE" &&
-make install &&
-install bzip2-shared /bin/bzip2 &&
-cp -a libbz2.so* /lib &&
-ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so &&
-rm /usr/bin/{bunzip2,bzcat,bzip2} &&
-ln -s bzip2 /bin/bunzip2 &&
-ln -s bzip2 /bin/bzcat
-

Copied: trunk/text/chapter06/38-libtool.txt (from rev 55, trunk/text/chapter06/37-libtool.txt)

Copied: trunk/text/chapter06/39-bzip2.txt (from rev 55, trunk/text/chapter06/38-bzip2.txt)

Deleted: trunk/text/chapter06/39-diffutils.txt
===================================================================
--- trunk/text/chapter06/39-diffutils.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/39-diffutils.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,6 +0,0 @@
-- Chapter 6 - Installing Diffutils 2.8.1
-
-./configure --prefix=/usr ${disable_nls} &&
-make &&
-make install
-

Copied: trunk/text/chapter06/40-diffutils.txt (from rev 55, trunk/text/chapter06/39-diffutils.txt)

Deleted: trunk/text/chapter06/40-kbd.txt
===================================================================
--- trunk/text/chapter06/40-kbd.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/40-kbd.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,6 +0,0 @@
-- Chapter 6 - Installing Kbd 1.12
-
-./configure &&
-make CC="gcc -pie -fPIE" &&
-make install
-

Deleted: trunk/text/chapter06/41-e2fsprogs.txt
===================================================================
--- trunk/text/chapter06/41-e2fsprogs.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/41-e2fsprogs.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,21 +0,0 @@
-- Chapter 6 - Installing E2fsprogs 1.35
-
-# e2fsck is the only critical program in this package, and it is linked
-# statically by default. Therefore there is no need to have a static
-# option for this package.
-
-install -d build &&
-cd build &&
-../configure --prefix=/usr --with-root-prefix="" \
-	--enable-elf-shlibs --disable-evms ${disable_nls} &&
-make
-
-# Run the testsuite if you like. All the tests should pass.
-
-make check
-
-# Then install E2fsprogs.
-
-make install &&
-make install-libs
-

Copied: trunk/text/chapter06/41-kbd.txt (from rev 55, trunk/text/chapter06/40-kbd.txt)

Copied: trunk/text/chapter06/42-e2fsprogs.txt (from rev 55, trunk/text/chapter06/41-e2fsprogs.txt)

Deleted: trunk/text/chapter06/42-grep.txt
===================================================================
--- trunk/text/chapter06/42-grep.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/42-grep.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,26 +0,0 @@
-- Chapter 6 - Installing Grep 2.5.1a
-
-# Grep is used durring booting, mainly for the mount and cleanfs scripts.
-# If you would like to link Grep statically use this command.
-
-env LDFLAGS=-static \
-./configure --prefix=/usr --bindir=/bin --with-included-regex \
-	${disable_nls}
-
-# If you prefer to link Grep dynamically use this command.
-
-./configure --prefix=/usr --bindir=/bin --with-included-regex \
-	${disable_nls}
-
-# Then compile Grep.
-
-make
-
-# Run the testsuite if you like. All the tests should pass.
-
-make check
-
-# Then install Grep.
-
-make install
-

Copied: trunk/text/chapter06/43-grep.txt (from rev 55, trunk/text/chapter06/42-grep.txt)

Deleted: trunk/text/chapter06/43-grub.txt
===================================================================
--- trunk/text/chapter06/43-grub.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/43-grub.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,20 +0,0 @@
-- Chapter 6 - Installing Grub 0.95
-
-# Grub can not be built as a position independent executable. It is
-# statically linked instead. Grub can not be built with the stack guard
-# either.
-
-env CC="gcc -fno-stack-protector -no-pie" \
-./configure --prefix=/usr ${disable_nls} &&
-make
-
-# Run the testsuite if you like. The ffs test is known to always fail.
-
-make -k check
-
-# Then install Grub.
-
-make install &&
-install -d /boot/grub &&
-install -m644 /usr/share/grub/i386-pc/stage{1,2} /boot/grub
-

Copied: trunk/text/chapter06/44-grub.txt (from rev 55, trunk/text/chapter06/43-grub.txt)

Deleted: trunk/text/chapter06/44-gzip.txt
===================================================================
--- trunk/text/chapter06/44-gzip.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/44-gzip.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,15 +0,0 @@
-- Chapter 6 - Installing Gzip 1.3.5
-
-# See chapter 5's Gzip page for an explaination to the DEFS variable.
-
-env DEFS=NO_ASM CC="gcc -pie -fPIE" \
-./configure --prefix=/usr ${disable_nls} &&
-sed -i 's@"BINDIR"@/bin at g' gzexe.in &&
-make &&
-make install &&
-mv /usr/bin/gzip /bin &&
-rm /usr/bin/{gunzip,zcat} &&
-ln -s gzip /bin/gunzip &&
-ln -s gzip /bin/zcat &&
-ln -s gunzip /bin/uncompress
-

Copied: trunk/text/chapter06/45-gzip.txt (from rev 55, trunk/text/chapter06/44-gzip.txt)

Deleted: trunk/text/chapter06/45-hotplug.txt
===================================================================
--- trunk/text/chapter06/45-hotplug.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/45-hotplug.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,11 +0,0 @@
-- Chapter 6 - Installing Hotplug 2004_09_23
-
-# First remove the installation of /etc/init.d/hotplug, lfs-bootscripts has
-# a better one. The first command removes 3 lines (a mkdir, a chmod,
-# and an install). The second command keeps the network device script
-# from being installed because it is not yet supported by lfs-bootscripts.
-
-sed -e '/init.d/d' -i Makefile &&
-mv etc/hotplug/net.agent etc/hotplug/net.agent.unsupported &&
-make install
-

Copied: trunk/text/chapter06/46-hotplug.txt (from rev 55, trunk/text/chapter06/45-hotplug.txt)

Deleted: trunk/text/chapter06/46-man.txt
===================================================================
--- trunk/text/chapter06/46-man.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/46-man.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,22 +0,0 @@
-- Chapter 6 - Installing Man 1.5o1
-
-patch -Np1 -i ../man-1.5o1-80cols-1.patch &&
-sed -i 's at -is@&R at g' configure &&
-sed -i 's at MANPATH./usr/man@#&@g' src/man.conf.in
-
-# "+lang none" is like --disable-nls. If you want to disable native language
-# support use this command.
-
-CC="gcc -pie -fPIE" \
-./configure -confdir=/etc +lang none
-
-# Else use this one.
-
-CC="gcc -pie -fPIE" \
-./configure -confdir=/etc
-
-# Then make Man.
-
-make &&
-make install
-

Deleted: trunk/text/chapter06/47-make.txt
===================================================================
--- trunk/text/chapter06/47-make.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/47-make.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,14 +0,0 @@
-- Chapter 6 - Installing Make 3.80
-
-env CC="gcc -pie -fPIE" \
-./configure --prefix=/usr ${disable_nls} &&
-make
-
-# Run the testsuite if you like. All the tests should pass.
-
-make check
-
-# Then install Make.
-
-make install
-

Copied: trunk/text/chapter06/47-man.txt (from rev 55, trunk/text/chapter06/46-man.txt)

Copied: trunk/text/chapter06/48-make.txt (from rev 55, trunk/text/chapter06/47-make.txt)

Deleted: trunk/text/chapter06/48-module-init-tools.txt
===================================================================
--- trunk/text/chapter06/48-module-init-tools.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/48-module-init-tools.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,13 +0,0 @@
-- Chapter 6 - Module-Init-Tools 3.1
-
-./configure --prefix="" --enable-zlib ${disable_nls} &&
-make DOCBOOKTOMAN=""
-
-# Run the testsuite if you like. The one test should pass.
-
-make check
-
-# Then install Module-Init-Tools.
-
-make install
-

Copied: trunk/text/chapter06/49-module-init-tools.txt (from rev 55, trunk/text/chapter06/48-module-init-tools.txt)

Deleted: trunk/text/chapter06/49-patch.txt
===================================================================
--- trunk/text/chapter06/49-patch.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/49-patch.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,7 +0,0 @@
-- Chapter 6 - Patch 2.5.9
-
-env CC="gcc -pie -fPIE" \
-./configure --prefix=/usr ${disable_nls} &&
-make &&
-make install
-

Copied: trunk/text/chapter06/50-patch.txt (from rev 55, trunk/text/chapter06/49-patch.txt)

Deleted: trunk/text/chapter06/50-procps.txt
===================================================================
--- trunk/text/chapter06/50-procps.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/50-procps.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,5 +0,0 @@
-- Chapter 6 - Installing Procps 3.2.4
-
-make &&
-make install
-

Copied: trunk/text/chapter06/51-procps.txt (from rev 55, trunk/text/chapter06/50-procps.txt)

Deleted: trunk/text/chapter06/51-psmisc.txt
===================================================================
--- trunk/text/chapter06/51-psmisc.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/51-psmisc.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,11 +0,0 @@
-- Chapter 6 - Installing Psmisc 21.5
-
-env CC="gcc -pie -fPIE" \
-./configure --prefix=/usr --exec-prefix="" \
-	${disable_nls} &&
-make &&
-make install &&
-mv /bin/pstree* /usr/bin &&
-ln -sf pstree /usr/bin/pstree.x11 &&
-ln -s killall /bin/pidof
-

Copied: trunk/text/chapter06/52-psmisc.txt (from rev 55, trunk/text/chapter06/51-psmisc.txt)

Deleted: trunk/text/chapter06/52-shadow.txt
===================================================================
--- trunk/text/chapter06/52-shadow.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/52-shadow.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,37 +0,0 @@
-- Chapter 6 - Installing Shadow 4.0.6
-
-# This patch is needed for uClibc.
-
-patch -Np1 -i ../shadow-4.0.6-uclibc-1.patch
-
-#
-
-./configure --libdir=/lib --enable-shared ${disable_nls} &&
-sed -i 's/groups$(EXEEXT) //' src/Makefile &&
-sed -i '/groups/d' man/Makefile &&
-make &&
-make install &&
-install -m644 etc/{limits,login.access} /etc &&
-sed -e's@#MD5_CRYPT_ENAB.no at MD5_CRYPT_ENAB yes@' \
-	-e 's@/var/spool/mail@/var/mail@' \
-	< etc/login.defs.linux > etc/login.defs.new &&
-install -m644 etc/login.defs.new /etc/login.defs &&
-mv /usr/bin/passwd /bin &&
-mv /lib/libshadow.*a /usr/lib &&
-rm /lib/libshadow.so &&
-ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so &&
-install -d /etc/default
-
-# Then configure shadow. If you don't plan to use group passwords then
-# don't enable them.
-
-pwconv &&
-grpconv
-
-# You can read about passwords here:
-# http://geodsoft.com/howto/password/
-
-# This command sets the superuser password.
-
-passwd root
-

Deleted: trunk/text/chapter06/53-libol.txt
===================================================================
--- trunk/text/chapter06/53-libol.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/53-libol.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,7 +0,0 @@
-- Chapter 6 - Installing Libol 0.3.14
-
-./configure --prefix=/usr --enable-shared \
-	${disable_nls} &&
-make &&
-make install
-

Copied: trunk/text/chapter06/53-shadow.txt (from rev 55, trunk/text/chapter06/52-shadow.txt)

Copied: trunk/text/chapter06/54-libol.txt (from rev 55, trunk/text/chapter06/53-libol.txt)

Deleted: trunk/text/chapter06/54-syslog-ng.txt
===================================================================
--- trunk/text/chapter06/54-syslog-ng.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/54-syslog-ng.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,90 +0,0 @@
-- Chapter 6 - Installing Syslog-ng 1.6.5
-
-env CC="gcc -pie -fPIE" \
-./configure --prefix=/usr --sysconfdir=/etc \
-	${disable_nls} &&
-make &&
-make install
-
-# Then create a configuration file.
-
-cat > syslog-ng.conf.new << "EOF"
-# Begin /etc/syslog-ng/syslog-ng.conf
-
-options {       sync (0);
-                time_reopen (10);
-                log_fifo_size (1000);
-                long_hostnames(off); 
-                use_dns (no);
-                use_fqdn (no);
-                create_dirs (no);
-                keep_hostname (yes);
-        };
-
-source src {    unix-stream("/dev/log");
-                internal();
-                pipe("/proc/kmsg");
-            };
-
-destination authlog { file("/var/log/authorize.log"); };
-destination syslog { file("/var/log/syslog.log"); };
-destination cron { file("/var/log/cron.log"); };
-destination daemon { file("/var/log/daemon.log"); };
-destination kernel { file("/var/log/kernel.log"); };
-destination lpr { file("/var/log/lpr.log"); };
-destination user { file("/var/log/user.log"); };
-destination uucp { file("/var/log/uucp.log"); };
-destination mail { file("/var/log/mail.log"); };
-destination news { file("/var/log/news.log"); };
-destination debug { file("/var/log/debug.log"); };
-destination messages { file("/var/log/messages.log"); };
-destination everything { file("/var/log/everything.log"); };
-destination console { usertty("root"); };
-destination console_all { file("/dev/tty12"); };
-
-filter f_auth { facility(auth); };
-filter f_authpriv { facility(auth, authpriv); };
-filter f_syslog { not facility(authpriv, mail); };
-filter f_cron { facility(cron); };
-filter f_daemon { facility(daemon); };
-filter f_kernel { facility(kern); };
-filter f_lpr { facility(lpr); };
-filter f_mail { facility(mail); };
-filter f_news { facility(news); };
-filter f_user { facility(user); };
-filter f_uucp { facility(uucp); };
-filter f_debug { not facility(auth, authpriv, news, mail); };
-filter f_messages { level(info..warn) and not facility(auth, authpriv, mail, news); };
-filter f_everything { level(debug..emerg) and not facility(auth, authpriv); };
-
-filter f_emergency { level(emerg); };
-filter f_info { level(info); };
-filter f_notice { level(notice); };
-filter f_warn { level(warn); };
-filter f_crit { level(crit); };
-filter f_err { level(err); };
-
-log { source(src); filter(f_authpriv); destination(authlog); };
-log { source(src); filter(f_syslog); destination(syslog); };
-log { source(src); filter(f_cron); destination(cron); };
-log { source(src); filter(f_daemon); destination(daemon); };
-log { source(src); filter(f_kernel); destination(kernel); };
-log { source(src); filter(f_lpr); destination(lpr); };
-log { source(src); filter(f_mail); destination(mail); };
-log { source(src); filter(f_news); destination(news); };
-log { source(src); filter(f_user); destination(user); };
-log { source(src); filter(f_uucp); destination(uucp); };
-log { source(src); filter(f_debug); destination(debug); };
-log { source(src); filter(f_messages); destination(messages); };
-log { source(src); filter(f_emergency); destination(console); };
-log { source(src); filter(f_everything); destination(everything); };
-log { source(src); destination(console_all); };
-
-# END /etc/syslog-ng/syslog-ng.conf
-EOF
-
-# And install the new configuration file.
-
-install -d /etc/syslog-ng &&
-install -m644 syslog-ng.conf.new /etc/syslog-ng/syslog-ng.conf
-

Copied: trunk/text/chapter06/55-syslog-ng.txt (from rev 55, trunk/text/chapter06/54-syslog-ng.txt)

Deleted: trunk/text/chapter06/55-sysvinit.txt
===================================================================
--- trunk/text/chapter06/55-sysvinit.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/55-sysvinit.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,42 +0,0 @@
-- Chapter 6 - Installing Sysvinit 2.86
-
-sed -i 's at Sending processes@& started by init at g' \
-    src/init.c &&
-make -C src CC="gcc -pie -fPIE" &&
-make -C src install
-
-# Then create a configuration file.
-
-cat > inittab.new << "EOF"
-# Begin /etc/inittab
-
-id:3:initdefault:
-
-si::sysinit:/etc/rc.d/init.d/rc sysinit
-
-l0:0:wait:/etc/rc.d/init.d/rc 0
-l1:S1:wait:/etc/rc.d/init.d/rc 1
-l2:2:wait:/etc/rc.d/init.d/rc 2
-l3:3:wait:/etc/rc.d/init.d/rc 3
-l4:4:wait:/etc/rc.d/init.d/rc 4
-l5:5:wait:/etc/rc.d/init.d/rc 5
-l6:6:wait:/etc/rc.d/init.d/rc 6
-
-ca:12345:ctrlaltdel:/sbin/shutdown -t1 -a -r now
-
-su:S016:once:/sbin/sulogin
-
-1:2345:respawn:/sbin/agetty -I '\033(K' tty1 9600
-2:2345:respawn:/sbin/agetty -I '\033(K' tty2 9600
-3:2345:respawn:/sbin/agetty -I '\033(K' tty3 9600
-4:2345:respawn:/sbin/agetty -I '\033(K' tty4 9600
-5:2345:respawn:/sbin/agetty -I '\033(K' tty5 9600
-6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
-
-# End /etc/inittab
-EOF
-
-# Then install the configuration file.
-
-install -m644 inittab.new /etc/inittab
-

Copied: trunk/text/chapter06/56-sysvinit.txt (from rev 55, trunk/text/chapter06/55-sysvinit.txt)

Deleted: trunk/text/chapter06/56-tar.txt
===================================================================
--- trunk/text/chapter06/56-tar.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/56-tar.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,15 +0,0 @@
-- Chapter 6 - Installing Tar 1.15.1
-
-env CC="gcc -pie -fPIE" \
-./configure --prefix=/usr --bindir=/bin \
-	--libexecdir=/usr/sbin ${disable_nls} &&
-make
-
-# Run the testsuite if you like. 3 of 24 tests may fail.
-
-make check
-
-# Then install Tar.
-
-make install
-

Copied: trunk/text/chapter06/57-tar.txt (from rev 55, trunk/text/chapter06/56-tar.txt)

Deleted: trunk/text/chapter06/57-udev.txt
===================================================================
--- trunk/text/chapter06/57-udev.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/57-udev.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,22 +0,0 @@
-- Chapter 6 - Installing Udev 050
-
-# Udev is used to populate /dev. If you would like to link Udev statically
-# use the following command.
-
-make udevdir=/dev LDFLAGS=-static
-
-# If you would like to link Udev dynamically use this command.
-
-make udevdir=/dev
-
-# Then install Udev.
-
-make udevdir=/dev install &&
-install -m644 ../udev-config-2.permissions \
-	/etc/udev/permissions.d/25-lfs.permissions &&
-install -m644 ../udev-config-1.rules /etc/udev/rules.d/25-lfs.rules
-
-# Then start the program to set up /dev.
-
-/sbin/udevstart
-

Copied: trunk/text/chapter06/58-udev.txt (from rev 55, trunk/text/chapter06/57-udev.txt)

Deleted: trunk/text/chapter06/58-util-linux.txt
===================================================================
--- trunk/text/chapter06/58-util-linux.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/58-util-linux.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,29 +0,0 @@
-- Chapter 6 - Installing Util-linux 2.12p
-
-# First apply this patch. This is needed regardless whether you will
-# link Util-linux statically or not because our GCC compiles PIC by
-# default. Also reset the path to 'adjtime' and create the directory.
-
-patch -Np1 -i ../util-linux-2.12p-fPIC-1.patch &&
-sed -i 's at etc/adjtime at var/lib/hwclock/adjtime at g' hwclock/hwclock.c &&
-install -d /var/lib/hwclock
-
-# This patch fixes a problem util-linux has with newer libc-linux-headers.
-
-patch -Np1 -i ../util-linux-2.12p-cramfs-1.patch
-
-# We suggest that you install this package with static linking because
-# some of these programs are critical for booting. If you would like
-# to compile this package with static linking use the following command.
-
-env LDFLAGS=-static ./configure
-
-# If you would like to use dynamic linking use this command.
-
-env CC="gcc -pie -fPIE" ./configure
-
-# Then compile Util-linux.
-
-make HAVE_KILL=yes HAVE_SLN=yes &&
-make HAVE_KILL=yes HAVE_SLN=yes install
-

Deleted: trunk/text/chapter06/59-stripping.txt
===================================================================
--- trunk/text/chapter06/59-stripping.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/59-stripping.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,20 +0,0 @@
-- Chapter 6 - Stripping
-
-# First logout.
-logout
-
-# Chroot back in using /tools/bin/bash as the shell.
-
-chroot $LFS /tools/bin/env -i \
-	HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
-	PATH=/bin:/usr/bin:/sbin:/usr/sbin \
-	/tools/bin/bash --login
-
-# Then strip the new system.
-
-/tools/bin/find /{,usr/}{bin,lib,sbin} -type f \
-	-exec /tools/bin/strip --strip-debug '{}' ';'
-
-# The system should be about 1.1GB including /tools and /sources.
-# About 800MB without /tools and /sources.
-

Copied: trunk/text/chapter06/59-util-linux.txt (from rev 55, trunk/text/chapter06/58-util-linux.txt)

Deleted: trunk/text/chapter06/60-revisedchroot.txt
===================================================================
--- trunk/text/chapter06/60-revisedchroot.txt	2005-01-07 17:23:57 UTC (rev 56)
+++ trunk/text/chapter06/60-revisedchroot.txt	2005-01-07 19:07:34 UTC (rev 57)
@@ -1,13 +0,0 @@
-- Chapter 6 - Revised Chroot
-
-# Logout from the previous chroot used for stripping.
-
-logout
-
-# Then chroot back in.
-
-chroot "$LFS" /usr/bin/env -i \
-	HOME=/root TERM="$TERM" PS1='\u:\w\$ ' \
-	PATH=/bin:/usr/bin:/sbin:/usr/sbin \
-	/bin/bash --login
-

Copied: trunk/text/chapter06/60-stripping.txt (from rev 55, trunk/text/chapter06/59-stripping.txt)

Copied: trunk/text/chapter06/61-revisedchroot.txt (from rev 55, trunk/text/chapter06/60-revisedchroot.txt)




More information about the hlfs-dev mailing list