diff --git a/Attic/appendixc/packages.xml b/Attic/appendixc/packages.xml
index fa66e9aa6..0bcfb341c 100644
--- a/Attic/appendixc/packages.xml
+++ b/Attic/appendixc/packages.xml
@@ -8,7 +8,6 @@ package quicker.
- + / \ * 1 diff --git a/chapter01/subscribe.xml b/chapter01/subscribe.xml index 55b22ea4b..4ba8f1fc9 100644 --- a/chapter01/subscribe.xml +++ b/chapter01/subscribe.xml @@ -15,14 +15,12 @@ commands in the body of the email. The email will look like: - To: listar@linuxfromscratch.org Subject: subscribe lfs-discuss subscribe lfs-apps subscribe alfs-discuss - diff --git a/chapter01/unsubscribe.xml b/chapter01/unsubscribe.xml index bd1604652..425071d95 100644 --- a/chapter01/unsubscribe.xml +++ b/chapter01/unsubscribe.xml @@ -16,14 +16,12 @@ like: - To: listar@linuxfromscratch.org Subject: unsubscribe lfs-discuss unsubscribe lfs-apps unsubscribe alfs-discuss - diff --git a/chapter02/install.xml b/chapter02/install.xml index 15dbb6f5f..e5b2e4c3c 100644 --- a/chapter02/install.xml +++ b/chapter02/install.xml @@ -14,9 +14,7 @@ To start with, change to the $LFS/usr/src directory by running: - cd $LFS/usr/src -@@ -26,10 +24,8 @@ filename: @@ -39,9 +35,7 @@ running:- tar xvzf filename.tar.gz tar xvzf filename.tgz -- bzcat filename.tar.bz2 | tar xv -@@ -57,9 +51,7 @@ If a file is just tar'ed, it is unpacked by running: - tar xvf filename.tar -@@ -82,9 +74,7 @@ If a file is gzip'ed, it is unpacked by running: - gunzip filename.gz -@@ -92,9 +82,7 @@ If a file is bzip2'ed, it is unpacked by running: - bunzip2 filename.bz2 -diff --git a/chapter03/creatingdirs.xml b/chapter03/creatingdirs.xml index b610da4e8..0e42e620e 100644 --- a/chapter03/creatingdirs.xml +++ b/chapter03/creatingdirs.xml @@ -9,7 +9,6 @@ Issuing the following commands will create a default directory layout: - cd $LFS mkdir -p bin boot dev/pts etc home lib mnt proc root sbin tmp var @@ -31,7 +30,6 @@ Issuing the following commands will create a default directory layout:done cd $LFS/var mkdir lock log mail run spool tmp -@@ -46,11 +44,9 @@ the so-called "sticky bit" - bit 1 of the 1777 bit mask). - cd $LFS && chmod 0750 root && chmod 1777 tmp usr/tmp usr/local/tmp var/tmp -diff --git a/chapter03/creatingfs.xml b/chapter03/creatingfs.xml index a811ca4ce..14028202d 100644 --- a/chapter03/creatingfs.xml +++ b/chapter03/creatingfs.xml @@ -16,9 +16,7 @@ is used as the only option to the command and the file system is created. - mke2fs /dev/xxx -diff --git a/chapter03/mounting.xml b/chapter03/mounting.xml index 3238508df..562706186 100644 --- a/chapter03/mounting.xml +++ b/chapter03/mounting.xml @@ -15,9 +15,7 @@ Create the /mnt/lfs directory by running: - mkdir -p /mnt/lfs -@@ -25,9 +23,7 @@ Now mount the LFS partition by running: - mount /dev/xxx /mnt/lfs -diff --git a/chapter04/packages.xml b/chapter04/packages.xml index 1ea8a1260..d20e8d8ad 100644 --- a/chapter04/packages.xml +++ b/chapter04/packages.xml @@ -2,7 +2,6 @@ Packages that need to be downloaded - &c3-toplevel; &c3-all; &c3-bash; @@ -65,7 +64,6 @@ &c3-nettools; Total size of all intel-packages: 70,240 KB (68,60 MB) - diff --git a/chapter05/bash-inst.xml b/chapter05/bash-inst.xml index 3ff584bcb..a436f5831 100644 --- a/chapter05/bash-inst.xml +++ b/chapter05/bash-inst.xml @@ -6,7 +6,6 @@ Install Bash by running the following commands:- ./configure --enable-static-link --prefix=$LFS/usr \ --bindir=$LFS/bin --with-curses && @@ -14,7 +13,6 @@ Install Bash by running the following commands:make install && cd $LFS/bin && ln -s bash sh -@@ -30,10 +28,8 @@ first and adjust the path in the following commands accordingly: - cd /usr/lib && ln -s libncurses.a libcurses.a -diff --git a/chapter05/binutils-inst.xml b/chapter05/binutils-inst.xml index f08640f42..bcda9a2a7 100644 --- a/chapter05/binutils-inst.xml +++ b/chapter05/binutils-inst.xml @@ -6,13 +6,11 @@ Install Binutils by running the following commands: diff --git a/chapter05/bzip2-inst.xml b/chapter05/bzip2-inst.xml index 277ee2f5e..847b2637b 100644 --- a/chapter05/bzip2-inst.xml +++ b/chapter05/bzip2-inst.xml @@ -6,7 +6,6 @@ Install Bzip2 by running the following commands:- ./configure --prefix=$LFS/usr --disable-nls && make -e LDFLAGS=-all-static tooldir=$LFS/usr && make -e tooldir=$LFS/usr install -diff --git a/chapter05/diffutils-inst.xml b/chapter05/diffutils-inst.xml index e3e6a6a95..bff2e4813 100644 --- a/chapter05/diffutils-inst.xml +++ b/chapter05/diffutils-inst.xml @@ -6,14 +6,12 @@ Install Diffutils by running the following commands:- sed \ s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS) \$(LDFLAGS) -o"/ \ @@ -15,7 +14,6 @@ Install Bzip2 by running the following commands:make PREFIX=$LFS/usr install && cd $LFS/usr/bin && mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin -diff --git a/chapter05/fileutils-inst.xml b/chapter05/fileutils-inst.xml index fd3958874..8f2f53948 100644 --- a/chapter05/fileutils-inst.xml +++ b/chapter05/fileutils-inst.xml @@ -6,7 +6,6 @@ Install Fileutils by running the following commands:- export CPPFLAGS=-Dre_max_failures=re_max_failures2 && ./configure --prefix=$LFS/usr && unset CPPFLAGS && make LDFLAGS=-static && make install -diff --git a/chapter05/gcc-inst.xml b/chapter05/gcc-inst.xml index 732aeba0b..c7832bd96 100644 --- a/chapter05/gcc-inst.xml +++ b/chapter05/gcc-inst.xml @@ -6,7 +6,6 @@ Install GCC by running the following commands:- patch -Np1 -i ../fileutils-4.0.patch && ./configure --disable-nls \ @@ -16,7 +15,6 @@ Install Fileutils by running the following commands:make install && cd $LFS/usr/bin && ln -s ../../bin/install -diff --git a/chapter05/gettext-inst.xml b/chapter05/gettext-inst.xml index b78d4c711..210ef82ae 100644 --- a/chapter05/gettext-inst.xml +++ b/chapter05/gettext-inst.xml @@ -6,13 +6,11 @@ Install Gettext by running the following commands:- mkdir $LFS/usr/src/gcc-build && cd $LFS/usr/src/gcc-build && ../gcc-2.95.2.1/configure --prefix=/usr \ @@ -27,7 +26,6 @@ Install GCC by running the following commands: &&cd $LFS/usr/bin && ln -s gcc cc -diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml index ecf2051ee..7b5c12b79 100644 --- a/chapter05/grep-inst.xml +++ b/chapter05/grep-inst.xml @@ -6,7 +6,6 @@ Install Grep by running the following commands:- ./configure --disable-nls && make -C lib && make -C intl && make -C src LDFLAGS=-all-static msgfmt && cp src/msgfmt $LFS/usr/bin -diff --git a/chapter05/gzip-inst.xml b/chapter05/gzip-inst.xml index 436410529..5f09cbe84 100644 --- a/chapter05/gzip-inst.xml +++ b/chapter05/gzip-inst.xml @@ -6,7 +6,6 @@ Before Gzip is installed, the gzip patch file needs to be unpacked.- export CPPFLAGS=-Dre_max_failures=re_max_failures2 && ./configure --prefix=$LFS/usr --disable-nls @@ -14,7 +13,6 @@ Install Grep by running the following commands: unset CPPFLAGS && make LDFLAGS=-static && make install -diff --git a/chapter05/introduction.xml b/chapter05/introduction.xml index de413dc92..05278c75c 100644 --- a/chapter05/introduction.xml +++ b/chapter05/introduction.xml @@ -41,9 +41,7 @@ properly if you decided to make use of it. Run the following:- patch -Np1 -i ../gzip-1.2.4a.patch && ./configure --prefix=$LFS/usr && make LDFLAGS=-static && @@ -14,7 +13,6 @@ Before Gzip is installed, the gzip patch file needs to be unpacked.cp $LFS/usr/bin/gunzip $LFS/usr/bin/gzip $LFS/bin && rm $LFS/usr/bin/gunzip $LFS/usr/bin/gzip -- echo $LFS -diff --git a/chapter05/kernel-inst.xml b/chapter05/kernel-inst.xml index a4fc39af0..44974545e 100644 --- a/chapter05/kernel-inst.xml +++ b/chapter05/kernel-inst.xml @@ -14,14 +14,12 @@ The kernel configuration file is created by running the following command: diff --git a/chapter05/make-inst.xml b/chapter05/make-inst.xml index 74fee7dea..4e8929b94 100644 --- a/chapter05/make-inst.xml +++ b/chapter05/make-inst.xml @@ -6,12 +6,10 @@ Install Make by running the following commands:- make mrproper && yes "" | make config && make dep && cd $LFS/usr/include && ln -s ../src/linux/include/linux && ln -s ../src/linux/include/asm -diff --git a/chapter05/mawk-inst.xml b/chapter05/mawk-inst.xml index afc15840c..a1f731bd1 100644 --- a/chapter05/mawk-inst.xml +++ b/chapter05/mawk-inst.xml @@ -6,7 +6,6 @@ Install Mawk by running the following commands:- ./configure --prefix=$LFS/usr --disable-nls && make LDFLAGS=-static && make install -diff --git a/chapter05/oldnsslib.xml b/chapter05/oldnsslib.xml index b56a97906..87357d6e0 100644 --- a/chapter05/oldnsslib.xml +++ b/chapter05/oldnsslib.xml @@ -10,9 +10,7 @@ uses by simply executing the library, like this:- ./configure && sed \ s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) @@ -16,7 +15,6 @@ Install Mawk by running the following commands: make BINDIR=$LFS/usr/bin \ MANDIR=$LFS/usr/share/man/man1 install -- /lib/libc.so.6 -@@ -22,9 +20,7 @@ distribution, copy the NSS library files by running: diff --git a/chapter05/proc.xml b/chapter05/proc.xml index 6c4ab7d8b..27cea3ee5 100644 --- a/chapter05/proc.xml +++ b/chapter05/proc.xml @@ -14,9 +14,7 @@ The proc file system is mounted under $LFS/proc by running the following command- cp -av /lib/libnss* $LFS/lib -diff --git a/chapter05/pwdgroup.xml b/chapter05/pwdgroup.xml index 0e27d6c82..279e73e18 100644 --- a/chapter05/pwdgroup.xml +++ b/chapter05/pwdgroup.xml @@ -22,10 +22,8 @@ following command:- mount proc $LFS/proc -t proc -- echo "root:x:0:0:root:/root:/bin/bash" > $LFS/etc/passwd -@@ -34,7 +32,6 @@ following: - diff --git a/chapter05/sed-inst.xml b/chapter05/sed-inst.xml index 09894fbfb..7be838ca6 100644 --- a/chapter05/sed-inst.xml +++ b/chapter05/sed-inst.xml @@ -6,7 +6,6 @@ Install Sed by running the following commands:cat > $LFS/etc/group << "EOF" root:x:0: bin:x:1: @@ -49,7 +46,6 @@ following: dialout:x:10: audio:x:11:EOF -diff --git a/chapter05/shellutils-inst.xml b/chapter05/shellutils-inst.xml index 5c65eefc7..3da0e0b18 100644 --- a/chapter05/shellutils-inst.xml +++ b/chapter05/shellutils-inst.xml @@ -6,7 +6,6 @@ Install Shellutils by running the following commands:- export CPPFLAGS=-Dre_max_failures=re_max_failures2 && ./configure --prefix=$LFS/usr @@ -14,7 +13,6 @@ Install Sed by running the following commands: unset CPPFLAGS && make LDFLAGS=-static && make install -diff --git a/chapter05/tar-inst.xml b/chapter05/tar-inst.xml index 6eeba1ef3..50851a19d 100644 --- a/chapter05/tar-inst.xml +++ b/chapter05/tar-inst.xml @@ -13,11 +13,9 @@ Apply the patch by running the following command:- ./configure --prefix=$LFS/usr --disable-nls && make LDFLAGS=-static && @@ -14,7 +13,6 @@ Install Shellutils by running the following commands:cd $LFS/usr/bin && mv date echo false pwd stty $LFS/bin && mv su true uname hostname $LFS/bin -- cd src && patch -i ../../gnutarpatch.txt && cd .. -@@ -25,7 +23,6 @@ Install Tar by running the following commands: diff --git a/chapter05/texinfo-inst.xml b/chapter05/texinfo-inst.xml index 34633361a..317630604 100644 --- a/chapter05/texinfo-inst.xml +++ b/chapter05/texinfo-inst.xml @@ -6,12 +6,10 @@ Install Texinfo by running the following commands:- ./configure --prefix=$LFS/usr --disable-nls \ --libexecdir=$LFS/usr/bin && @@ -33,7 +30,6 @@ Install Tar by running the following commands: make LDFLAGS=-static && make install && mv $LFS/usr/bin/tar $LFS/bin -diff --git a/chapter05/textutils-inst.xml b/chapter05/textutils-inst.xml index 2fe91620c..c21d6cd53 100644 --- a/chapter05/textutils-inst.xml +++ b/chapter05/textutils-inst.xml @@ -6,13 +6,11 @@ Install Textutils by running the following commands:- ./configure --prefix=$LFS/usr --disable-nls && make LDFLAGS=-static && make install -diff --git a/chapter06/autoconf-inst.xml b/chapter06/autoconf-inst.xml index 6d66859a3..ac52be9ff 100644 --- a/chapter06/autoconf-inst.xml +++ b/chapter06/autoconf-inst.xml @@ -6,11 +6,9 @@ Install Autoconf by running the following commands:- ./configure --prefix=$LFS/usr --disable-nls && make LDFLAGS=-static && make install && mv $LFS/usr/bin/cat $LFS/bin -diff --git a/chapter06/automake-inst.xml b/chapter06/automake-inst.xml index a15fd7f82..9d3238e77 100644 --- a/chapter06/automake-inst.xml +++ b/chapter06/automake-inst.xml @@ -6,10 +6,8 @@ Install Automake by running the following commands:- ./configure --prefix=/usr && make && make install -diff --git a/chapter06/bash-inst.xml b/chapter06/bash-inst.xml index feb1f3796..bc5c142c6 100644 --- a/chapter06/bash-inst.xml +++ b/chapter06/bash-inst.xml @@ -6,13 +6,11 @@ Install Bash by running the following commands:- ./configure --prefix=/usr && make install -- ./configure --prefix=/usr --with-curses && make && make install && logout -@@ -21,7 +19,6 @@ environment is re-entered by running: diff --git a/chapter06/findutils-inst.xml b/chapter06/findutils-inst.xml index 7a0ca519a..cfb308bfb 100644 --- a/chapter06/findutils-inst.xml +++ b/chapter06/findutils-inst.xml @@ -10,12 +10,10 @@ Install Findutils by running the following commands:- mv $LFS/usr/bin/bash $LFS/usr/bin/bashbug $LFS/bin && chroot $LFS /usr/bin/env -i HOME=/root diff --git a/chapter06/bashprofile.xml b/chapter06/bashprofile.xml index 00c56f3b7..bb7f6115a 100644 --- a/chapter06/bashprofile.xml +++ b/chapter06/bashprofile.xml @@ -15,7 +15,6 @@ by running the following. - cat > $LFS/root/.bash_profile << "EOF" # Begin /root/.bash_profile @@ -26,7 +25,6 @@ export PS1 PATH # End /root/.bash_profileEOF -diff --git a/chapter06/bin86-inst.xml b/chapter06/bin86-inst.xml index bd75c6d25..e4d83eaef 100644 --- a/chapter06/bin86-inst.xml +++ b/chapter06/bin86-inst.xml @@ -6,10 +6,8 @@ Install Bin86 by running the following commands: diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml index 49e751e2e..8710e62d6 100644 --- a/chapter06/binutils-inst.xml +++ b/chapter06/binutils-inst.xml @@ -5,12 +5,10 @@ Install Binutils by running the following commands:- make && make PREFIX=/usr install -diff --git a/chapter06/bison-inst.xml b/chapter06/bison-inst.xml index 6d44ec182..f5ae99dbe 100644 --- a/chapter06/bison-inst.xml +++ b/chapter06/bison-inst.xml @@ -6,13 +6,11 @@ Install Bison by running the following commands:- ./configure --prefix=/usr --enable-shared && make -e tooldir=/usr && make -e tooldir=/usr install && make -e tooldir=/usr install-info -- ./configure --prefix=/usr \ --datadir=/usr/share/bison && make && make install -@@ -28,7 +26,6 @@ following: - diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml index 16ce4a2bc..b34f5ee50 100644 --- a/chapter06/bzip2-inst.xml +++ b/chapter06/bzip2-inst.xml @@ -6,7 +6,6 @@ Install Bzip2 by running the following commands:cat > /usr/bin/yacc << "EOF" #!/bin/sh # Begin /usr/bin/yacc @@ -38,7 +35,6 @@ following: # End /usr/bin/yaccEOF chmod 755 /usr/bin/yacc -- make -f Makefile-libbz2_so && make bzip2recover libbz2.a && cp bzip2-shared /bin/bzip2 && @@ -23,7 +22,6 @@ Install Bzip2 by running the following commands:ln -s bzip2.1 bunzip2.1 && ln -s bzip2.1 bzcat.1 && ln -s bzip2.1 bzip2recover.1 -diff --git a/chapter06/chroot.xml b/chapter06/chroot.xml index 040f34df7..906d71b48 100644 --- a/chapter06/chroot.xml +++ b/chapter06/chroot.xml @@ -14,12 +14,10 @@ actually /mnt/lfs but the shell doesn't know that). - cd $LFS && chroot $LFS /usr/bin/env -i HOME=/root \ TERM=$TERM /bin/bash --login -diff --git a/chapter06/config-glibc.xml b/chapter06/config-glibc.xml index 5c6b514ae..7acdfcce9 100644 --- a/chapter06/config-glibc.xml +++ b/chapter06/config-glibc.xml @@ -13,7 +13,6 @@ following: - cat > /etc/nsswitch.conf << "EOF" # Begin /etc/nsswitch.conf @@ -35,7 +34,6 @@ netgroup: db files # End /etc/nsswitch.confEOF -@@ -51,11 +49,9 @@ by running: - cd /etc && ln -sf ../usr/share/zoneinfo/<tzselect's output> localtime -@@ -68,9 +64,7 @@ The symlink a user would create with that information would be: - ln -s ../usr/share/zoneinfo/EST5EDT localtime -@@ -78,10 +72,8 @@ Or: diff --git a/chapter06/config-ldso.xml b/chapter06/config-ldso.xml index 75256b5fd..d8057fbf8 100644 --- a/chapter06/config-ldso.xml +++ b/chapter06/config-ldso.xml @@ -18,7 +18,6 @@ following:- ln -s ../usr/share/zoneinfo/Canada/Eastern localtime -- cat > /etc/ld.so.conf << "EOF" # Begin /etc/ld.so.conf @@ -28,7 +27,6 @@ following: # End /etc/ld.so.confEOF -diff --git a/chapter06/config-sysklogd.xml b/chapter06/config-sysklogd.xml index 12a12563b..900010b28 100644 --- a/chapter06/config-sysklogd.xml +++ b/chapter06/config-sysklogd.xml @@ -6,7 +6,6 @@ following: - diff --git a/chapter06/config-sysvinit.xml b/chapter06/config-sysvinit.xml index 71b43faad..fafb372f7 100644 --- a/chapter06/config-sysvinit.xml +++ b/chapter06/config-sysvinit.xml @@ -6,7 +6,6 @@ following:cat > /etc/syslog.conf << "EOF" # Begin /etc/syslog.conf @@ -20,7 +19,6 @@ user.* -/var/log/user.log # End /etc/syslog.confEOF -- diff --git a/chapter06/config-vim.xml b/chapter06/config-vim.xml index 4e8146aa1..8ebe220b8 100644 --- a/chapter06/config-vim.xml +++ b/chapter06/config-vim.xml @@ -8,7 +8,6 @@ have included Vim in this book but the original Vi). Create thecat > /etc/inittab << "EOF" # Begin /etc/inittab @@ -35,7 +34,6 @@ su:S016:respawn:/sbin/sulogin # End /etc/inittabEOF -- diff --git a/chapter06/create-password.xml b/chapter06/create-password.xml index 4c2aee8ab..71492ffdf 100644 --- a/chapter06/create-password.xml +++ b/chapter06/create-password.xml @@ -7,9 +7,7 @@ command:cat > /root/.vimrc << "EOF" " Begin /root/.vimrc @@ -17,7 +16,6 @@ set bs=2 " End /root/.vimrcEOF -diff --git a/chapter06/create-utmp.xml b/chapter06/create-utmp.xml index 977c1b93c..cbc5703ff 100644 --- a/chapter06/create-utmp.xml +++ b/chapter06/create-utmp.xml @@ -16,12 +16,10 @@ following commands:- passwd root -diff --git a/chapter06/diffutils-inst.xml b/chapter06/diffutils-inst.xml index 9b2dd5587..7a6bd1607 100644 --- a/chapter06/diffutils-inst.xml +++ b/chapter06/diffutils-inst.xml @@ -6,11 +6,9 @@ Install Diffutils by running the following commands:- touch /var/run/utmp /var/log/wtmp /var/log/btmp /var/log/lastlog && chmod 644 /var/run/utmp /var/log/wtmp /var/log/btmp /var/log/lastlog -diff --git a/chapter06/e2fsprogs-inst.xml b/chapter06/e2fsprogs-inst.xml index d06fd605e..88d2aadb2 100644 --- a/chapter06/e2fsprogs-inst.xml +++ b/chapter06/e2fsprogs-inst.xml @@ -11,13 +11,11 @@ to be like this. We did not forget to supply a value there.- ./configure --prefix=/usr && make && make install -diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml index 9e846d210..1cafca834 100644 --- a/chapter06/ed-inst.xml +++ b/chapter06/ed-inst.xml @@ -6,12 +6,10 @@ Install Ed by running the following commands:- ./configure --prefix=/usr --with-root-prefix= \ --enable-elf-shlibs && make && make install && make install-libs -diff --git a/chapter06/file-inst.xml b/chapter06/file-inst.xml index 333f43868..d3d9566cc 100644 --- a/chapter06/file-inst.xml +++ b/chapter06/file-inst.xml @@ -6,12 +6,10 @@ Install File by running the following commands:- ./configure --prefix=/usr && make && make install && mv /usr/bin/ed /usr/bin/red /bin -- ./configure --prefix=/usr --datadir=/usr/share/misc && make && make install -@@ -29,9 +27,7 @@ it was meant to be: diff --git a/chapter06/fileutils-inst.xml b/chapter06/fileutils-inst.xml index 55023e615..8c790d242 100644 --- a/chapter06/fileutils-inst.xml +++ b/chapter06/fileutils-inst.xml @@ -6,7 +6,6 @@ Install Fileutils by running the following commands:- file -C -- patch -Np1 -i ../fileutils-4.0.patch && ./configure --prefix=/usr --bindir=/bin \ @@ -14,7 +13,6 @@ Install Fileutils by running the following commands: &&make && make install -diff --git a/chapter06/flex-inst.xml b/chapter06/flex-inst.xml index f93f42bcb..a14173da8 100644 --- a/chapter06/flex-inst.xml +++ b/chapter06/flex-inst.xml @@ -6,13 +6,11 @@ Install Flex by running the following commands:- patch -Np1 -i ../findutils-4.1.patch && ./configure --prefix=/usr && make && make libexecdir=/usr/bin install -diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index b65465afa..474455134 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -6,7 +6,6 @@ Install GCC by running the following commands:- ./configure --prefix=/usr && make && make install && cd /usr/bin && ln -s flex lex -diff --git a/chapter06/gettext-inst.xml b/chapter06/gettext-inst.xml index a88793b82..228d2dc93 100644 --- a/chapter06/gettext-inst.xml +++ b/chapter06/gettext-inst.xml @@ -6,11 +6,9 @@ Install Gettext by running the following commands:- mkdir /usr/src/gcc-build && cd /usr/src/gcc-build && ../gcc-2.95.2.1/configure --prefix=/usr \ @@ -16,7 +15,6 @@ Install GCC by running the following commands: --enable-languages=c,c++ &&make bootstrap && make install -diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index e253af973..10160b200 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -11,7 +11,6 @@ Install Glibc by running the following commands:- ./configure --prefix=/usr && make && make install -- mknod -m 0666 /dev/null c 1 3 && touch /etc/ld.so.conf && mkdir /usr/src/glibc-build && @@ -38,7 +37,6 @@ Install Glibc by running the following commands:make && make install && make localedata/install-locales -@@ -54,7 +52,6 @@ Run the following commands to accomplish this: - logout chroot $LFS /usr/bin/env -i HOME=/root \ diff --git a/chapter06/grep-inst.xml b/chapter06/grep-inst.xml index d461dc799..8b48c2c42 100644 --- a/chapter06/grep-inst.xml +++ b/chapter06/grep-inst.xml @@ -6,11 +6,9 @@ Install Grep by running the following commands:diff --git a/chapter06/groff-inst.xml b/chapter06/groff-inst.xml index 62cff4745..1bc083172 100644 --- a/chapter06/groff-inst.xml +++ b/chapter06/groff-inst.xml @@ -6,11 +6,9 @@ Install Groff by running the following commands:- ./configure --prefix=/usr && make && make install -diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml index 32147581c..80de916ae 100644 --- a/chapter06/gzip-inst.xml +++ b/chapter06/gzip-inst.xml @@ -6,7 +6,6 @@ Install Gzip by running the following commands:- ./configure --prefix=/usr && make && make install -diff --git a/chapter06/kbd-inst.xml b/chapter06/kbd-inst.xml index 638ceab5b..adc5e3443 100644 --- a/chapter06/kbd-inst.xml +++ b/chapter06/kbd-inst.xml @@ -6,13 +6,11 @@ Install Kbd by running the following commands:- ./configure --prefix=/usr && make && make install && @@ -17,7 +16,6 @@ Install Gzip by running the following commands:ln -sf gzip gunzip && ln -s gzip compress && ln -s gunzip uncompress -- ./configure --datadir=/usr/share/kbd && make && make install && rm /usr/share/kbd/keymaps/i386/qwerty/defkeymap.map.gz -@@ -22,10 +20,8 @@ as a default. Then execute this command: - cd /usr/share/kbd/keymaps && ln -s <path-to-keymap> defkeymap.map.gz -diff --git a/chapter06/ldso-inst.xml b/chapter06/ldso-inst.xml index d89670ab4..011a87251 100644 --- a/chapter06/ldso-inst.xml +++ b/chapter06/ldso-inst.xml @@ -6,11 +6,9 @@ Install Ld.so by running the following commands: diff --git a/chapter06/less-inst.xml b/chapter06/less-inst.xml index 6deacf428..f4804c6aa 100644 --- a/chapter06/less-inst.xml +++ b/chapter06/less-inst.xml @@ -6,11 +6,9 @@ Install Less by running the following commands:- cd man && cp ldd.1 /usr/share/man/man1 && cp *.8 /usr/share/man/man8 -diff --git a/chapter06/libtool-inst.xml b/chapter06/libtool-inst.xml index 1a651a38b..6e41a07d3 100644 --- a/chapter06/libtool-inst.xml +++ b/chapter06/libtool-inst.xml @@ -6,11 +6,9 @@ Install Libtool by running the following commands:- ./configure --prefix=/usr --bindir=/bin && make && make install -diff --git a/chapter06/lilo-inst.xml b/chapter06/lilo-inst.xml index b9ea040f7..1d69545b0 100644 --- a/chapter06/lilo-inst.xml +++ b/chapter06/lilo-inst.xml @@ -6,10 +6,8 @@ Install Lilo by running the following commands:- ./configure --prefix=/usr && make && make install -- make && make install -diff --git a/chapter06/m4-inst.xml b/chapter06/m4-inst.xml index 31e583d33..5d175839d 100644 --- a/chapter06/m4-inst.xml +++ b/chapter06/m4-inst.xml @@ -6,11 +6,9 @@ Install M4 by running the following commands: - ./configure --prefix=/usr && make && make install -@@ -32,13 +30,11 @@ commands: - logout cd $LFS/usr/src/m4-1.4 ./configure --prefix=/usr make LDFLAGS=-static make prefix=$LFS/usr install -@@ -49,9 +45,7 @@ after having rebooted into the LFS system rather than chrooting into it. diff --git a/chapter06/make-inst.xml b/chapter06/make-inst.xml index 1f7e4e3d0..e4e50076a 100644 --- a/chapter06/make-inst.xml +++ b/chapter06/make-inst.xml @@ -6,11 +6,9 @@ Install Make by running the following commands:- chroot $LFS env -i HOME=/root bash --login -diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml index 91ee436ee..c3f6bee1b 100644 --- a/chapter06/makedev-inst.xml +++ b/chapter06/makedev-inst.xml @@ -11,12 +11,10 @@ Create the device files by running the following commands:- ./configure --prefix=/usr && make && make install -- chmod 755 MAKEDEV && cp MAKEDEV /dev && cd /dev && ./MAKEDEV -v generic -diff --git a/chapter06/man-inst.xml b/chapter06/man-inst.xml index b3e9eec8f..a92e4cd46 100644 --- a/chapter06/man-inst.xml +++ b/chapter06/man-inst.xml @@ -6,7 +6,6 @@ Install Man by running the following commands: diff --git a/chapter06/manpages-inst.xml b/chapter06/manpages-inst.xml index 9a03eb9d1..1ad88f7e0 100644 --- a/chapter06/manpages-inst.xml +++ b/chapter06/manpages-inst.xml @@ -6,9 +6,7 @@ Install Man-pages by running the following commands:- sed -e 's|in \(.*\$PATH\)|in `echo \1`|' \ configure > tmp~ @@ -23,7 +22,6 @@ Install Man by running the following commands: mv makewhatis-new /usr/sbin/makewhatis && chmod 755 /usr/sbin/makewhatis -diff --git a/chapter06/mawk-inst.xml b/chapter06/mawk-inst.xml index 735294010..a04a4c4d0 100644 --- a/chapter06/mawk-inst.xml +++ b/chapter06/mawk-inst.xml @@ -6,7 +6,6 @@ Install Mawk by running the following commands:- make install -diff --git a/chapter06/modutils-inst.xml b/chapter06/modutils-inst.xml index d682fd2ab..dbe4a3291 100644 --- a/chapter06/modutils-inst.xml +++ b/chapter06/modutils-inst.xml @@ -6,11 +6,9 @@ Install Modutils by running the following commands:- ./configure && make && make BINDIR=/usr/bin \ @@ -14,7 +13,6 @@ Install Mawk by running the following commands: &&cd /usr/bin && ln -s mawk awk -diff --git a/chapter06/ncurses-inst.xml b/chapter06/ncurses-inst.xml index 4dd204e30..a314c20a4 100644 --- a/chapter06/ncurses-inst.xml +++ b/chapter06/ncurses-inst.xml @@ -6,7 +6,6 @@ Install Ncurses by running the following commands:- ./configure && make && make install -diff --git a/chapter06/netkitbase-inst.xml b/chapter06/netkitbase-inst.xml index 86d995ef8..e631d2e56 100644 --- a/chapter06/netkitbase-inst.xml +++ b/chapter06/netkitbase-inst.xml @@ -12,7 +12,6 @@ Install Netkit-base by running the following commands:- ./configure --prefix=/usr --libdir=/lib \ --with-shared --disable-termcap && @@ -14,7 +13,6 @@ Install Ncurses by running the following commands:make install && cd /lib && ln -s libncurses.a libcurses.a -make install && cd etc.sample && cp services protocols /etc -diff --git a/chapter06/nettools-inst.xml b/chapter06/nettools-inst.xml index b651472de..663b75c4e 100644 --- a/chapter06/nettools-inst.xml +++ b/chapter06/nettools-inst.xml @@ -11,10 +11,8 @@ Install Net-tools by running the following commands: diff --git a/chapter06/patch-inst.xml b/chapter06/patch-inst.xml index a63f77030..e4a570eb2 100644 --- a/chapter06/patch-inst.xml +++ b/chapter06/patch-inst.xml @@ -6,11 +6,9 @@ Install Patch by running the following commands:- make && make install -diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml index 93c71707d..05c565f7f 100644 --- a/chapter06/perl-inst.xml +++ b/chapter06/perl-inst.xml @@ -6,11 +6,9 @@ Install Perl by running the following commands:- ./configure --prefix=/usr && make && make install -- ./Configure -Dprefix=/usr && make && make install -@@ -22,11 +20,9 @@ to perl as well. The commands with these parameters included will be: diff --git a/chapter06/procinfo-inst.xml b/chapter06/procinfo-inst.xml index e491563e8..e7ace1191 100644 --- a/chapter06/procinfo-inst.xml +++ b/chapter06/procinfo-inst.xml @@ -6,11 +6,9 @@ Install Procinfo by running the following commands:- ./Configure -Dprefix=/usr -d -e && make && make install -diff --git a/chapter06/procps-inst.xml b/chapter06/procps-inst.xml index f89712ad0..3c93dc08f 100644 --- a/chapter06/procps-inst.xml +++ b/chapter06/procps-inst.xml @@ -6,12 +6,10 @@ Install Procps by running the following commands:- sed "s/-ltermcap/-lncurses/" Makefile | make -f - && make install -diff --git a/chapter06/psmisc-inst.xml b/chapter06/psmisc-inst.xml index e00629db7..556b82f56 100644 --- a/chapter06/psmisc-inst.xml +++ b/chapter06/psmisc-inst.xml @@ -6,11 +6,9 @@ Install Psmisc by running the following commands:- make && make XSCPT='' install && mv /usr/bin/kill /bin -diff --git a/chapter06/removeoldnss.xml b/chapter06/removeoldnss.xml index 71c689997..0e2d138af 100644 --- a/chapter06/removeoldnss.xml +++ b/chapter06/removeoldnss.xml @@ -8,9 +8,7 @@ them now by running:- ./configure --prefix=/usr && make && make install -diff --git a/chapter06/sed-inst.xml b/chapter06/sed-inst.xml index ef0146123..010b7f17d 100644 --- a/chapter06/sed-inst.xml +++ b/chapter06/sed-inst.xml @@ -6,11 +6,9 @@ Install Sed by running the following commands:- rm /lib/libnss*.so.1 /lib/libnss*2.0* -diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index 3cff4accd..6d21c7197 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -6,7 +6,6 @@ Install the Shadow Password Suite by running the following commands:- ./configure --prefix=/usr --bindir=/bin && make && make install -diff --git a/chapter06/shellutils-inst.xml b/chapter06/shellutils-inst.xml index c3aa812f6..2f7c802eb 100644 --- a/chapter06/shellutils-inst.xml +++ b/chapter06/shellutils-inst.xml @@ -6,14 +6,12 @@ Install Shellutils by running the following commands:- patch -Np1 -i ../shadow-20001016.patch && ./configure --prefix=/usr && make && @@ -15,7 +14,6 @@ Install the Shadow Password Suite by running the following commands:cp limits login.access login.defs.linux /etc && mv /etc/login.defs.linux /etc/login.defs -diff --git a/chapter06/sysklogd-inst.xml b/chapter06/sysklogd-inst.xml index b0c15fcd4..4e669586a 100644 --- a/chapter06/sysklogd-inst.xml +++ b/chapter06/sysklogd-inst.xml @@ -6,10 +6,8 @@ Install Sysklogd by running the following commands:- ./configure --prefix=/usr && make && make install && cd /usr/bin && mv date echo false pwd stty /bin && mv su true uname hostname /bin -diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml index 441fdc1b8..544ea3669 100644 --- a/chapter06/sysvinit-inst.xml +++ b/chapter06/sysvinit-inst.xml @@ -26,10 +26,8 @@ Install Sysvinit by running the following commands:- make && make install -diff --git a/chapter06/tar-inst.xml b/chapter06/tar-inst.xml index 4072394db..b4dc00e13 100644 --- a/chapter06/tar-inst.xml +++ b/chapter06/tar-inst.xml @@ -14,11 +14,9 @@ Apply the patch by running the following command:- make -C src && make -C src install -- cd src && patch -i ../../gnutarpatch.txt && cd .. -@@ -27,13 +25,11 @@ directory: diff --git a/chapter06/texinfo-inst.xml b/chapter06/texinfo-inst.xml index 540f438a5..2e44629ff 100644 --- a/chapter06/texinfo-inst.xml +++ b/chapter06/texinfo-inst.xml @@ -6,11 +6,9 @@ Install Texinfo by running the following commands:- ./configure --prefix=/usr --libexecdir=/usr/bin && make && make install && mv /usr/bin/tar /bin -diff --git a/chapter06/textutils-inst.xml b/chapter06/textutils-inst.xml index 0dc129bc9..76e401f10 100644 --- a/chapter06/textutils-inst.xml +++ b/chapter06/textutils-inst.xml @@ -6,12 +6,10 @@ Install Textutils by running the following commands:- ./configure --prefix=/usr && make && make install -diff --git a/chapter06/utillinux-inst.xml b/chapter06/utillinux-inst.xml index 9f875eee2..b6652e8b4 100644 --- a/chapter06/utillinux-inst.xml +++ b/chapter06/utillinux-inst.xml @@ -6,7 +6,6 @@ Install Util-Linux by running the following commands:- ./configure --prefix=/usr && make && make install && mv /usr/bin/cat /bin -diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml index 53f0f303a..2610dcd26 100644 --- a/chapter06/vim-inst.xml +++ b/chapter06/vim-inst.xml @@ -18,13 +18,11 @@ in which order it is done. Install Vim by running the following commands:- sed s/HAVE_SLN=no/HAVE_SLN=yes/ \ MCONFIG > MCONFIG~ && @@ -14,7 +13,6 @@ Install Util-Linux by running the following commands:./configure && make && make install -- ./configure --prefix=/usr && make && make install && cd /usr/bin && ln -s vim vi -diff --git a/chapter07/checkfs.xml b/chapter07/checkfs.xml index 762bfacae..d19959303 100644 --- a/chapter07/checkfs.xml +++ b/chapter07/checkfs.xml @@ -7,7 +7,6 @@ the following: - diff --git a/chapter07/createdirs.xml b/chapter07/createdirs.xml index 6b54ae3fe..4c12a423f 100644 --- a/chapter07/createdirs.xml +++ b/chapter07/createdirs.xml @@ -7,12 +7,10 @@ the boot scripts. These directories are created by running:cat > checkfs << "EOF" #!/bin/sh # Begin /etc/init.d/checkfs @@ -109,7 +108,6 @@ fi # End /etc/init.d/checkfsEOF -diff --git a/chapter07/ethnet-symperm.xml b/chapter07/ethnet-symperm.xml index c9df60e9b..d2bda8582 100644 --- a/chapter07/ethnet-symperm.xml +++ b/chapter07/ethnet-symperm.xml @@ -7,7 +7,6 @@ running the following commands:- cd /etc && mkdir sysconfig rc0.d rc1.d rc2.d rc3.d && mkdir rc4.d rc5.d rc6.d init.d rcS.d && cd init.d -diff --git a/chapter07/ethnet.xml b/chapter07/ethnet.xml index 46644fd4a..ac1cca09d 100644 --- a/chapter07/ethnet.xml +++ b/chapter07/ethnet.xml @@ -12,7 +12,6 @@ following:- cd /etc/init.d && chmod 754 ethnet && cd ../rc3.d && @@ -16,7 +15,6 @@ running the following commands:ln -s ../init.d/ethnet S200ethnet && cd ../rc5.d && ln -s ../init.d/ethnet S200ethnet -- cat > /etc/init.d/ethnet << "EOF" #!/bin/sh # Begin /etc/init.d/ethnet @@ -111,7 +110,6 @@ esac # End /etc/init.d/ethnetEOF -@@ -122,11 +120,9 @@ If a default gateway is required to be setup, the following command does that: diff --git a/chapter07/localnet.xml b/chapter07/localnet.xml index 26bf21919..8ba6480d2 100644 --- a/chapter07/localnet.xml +++ b/chapter07/localnet.xml @@ -7,7 +7,6 @@ the following:- cat >> /etc/sysconfig/network << "EOF" GATEWAY=192.168.1.2EOF -@@ -150,9 +146,7 @@ First the network-scripts directory is created by running: - mkdir /etc/sysconfig/network-scripts -@@ -162,7 +156,6 @@ This creates a sample file ifcfg-eth0: - cat > /etc/sysconfig/network-scripts/ifcfg-eth0 << EOF ONBOOT=yes @@ -171,7 +164,6 @@ IP=192.168.1.1 NETMASK=255.255.255.0 BROADCAST=192.168.1.255EOF -diff --git a/chapter07/fstab.xml b/chapter07/fstab.xml index 63f9e305a..d896e5f77 100644 --- a/chapter07/fstab.xml +++ b/chapter07/fstab.xml @@ -9,7 +9,6 @@ following: - cat > /etc/fstab << "EOF" # Begin /etc/fstab @@ -19,7 +18,6 @@ proc /proc proc defaults 0 0 # End /etc/fstabEOF -diff --git a/chapter07/functions.xml b/chapter07/functions.xml index 48be12468..3845f0f1d 100644 --- a/chapter07/functions.xml +++ b/chapter07/functions.xml @@ -7,7 +7,6 @@ the following: - diff --git a/chapter07/halt.xml b/chapter07/halt.xml index 92264f5ab..f3938d17b 100644 --- a/chapter07/halt.xml +++ b/chapter07/halt.xml @@ -7,7 +7,6 @@ following:cat > functions << "EOF" #!/bin/sh # Begin /etc/init.d/functions @@ -448,7 +447,6 @@ statusproc() # End /etc/init.d/functionsEOF -- diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml index 787ab47b2..490306a81 100644 --- a/chapter07/hosts.xml +++ b/chapter07/hosts.xml @@ -8,9 +8,7 @@ example is:cat > halt << "EOF" #!/bin/sh # Begin /etc/init.d/halt @@ -20,7 +19,6 @@ following: # End /etc/init.d/haltEOF -- <my-IP> myhost.mydomain.org aliases - @@ -19,12 +17,10 @@ IP-address range. Valid ranges are: - Class Networks A 10.0.0.0 B 172.16.0.0 through 172.31.0.0 C 192.168.0.0 through 192.168.255.0 - @@ -44,7 +40,6 @@ If a network card is not going to be configured, a new file - cat > /etc/hosts << "EOF" # Begin /etc/hosts (no network card version) @@ -52,7 +47,6 @@ If a network card is not going to be configured, a new file # End /etc/hosts (no network card version)EOF -@@ -61,7 +55,6 @@ If a network card is to be configured, a new file - cat > /etc/hosts << "EOF" # Begin /etc/hosts (network card version) @@ -70,7 +63,6 @@ If a network card is to be configured, a new file # End /etc/hosts (network card version)EOF -diff --git a/chapter07/loadkeys.xml b/chapter07/loadkeys.xml index 7c9cad9bd..a04b5b1a8 100644 --- a/chapter07/loadkeys.xml +++ b/chapter07/loadkeys.xml @@ -9,7 +9,6 @@ created: - diff --git a/chapter07/localnet-symperm.xml b/chapter07/localnet-symperm.xml index dc71d1f3f..ee0e92140 100644 --- a/chapter07/localnet-symperm.xml +++ b/chapter07/localnet-symperm.xml @@ -7,12 +7,10 @@ running the following commands:cat > loadkeys << "EOF" #!/bin/sh # Begin /etc/init.d/loadkeys @@ -30,7 +29,6 @@ evaluate_retval # End /etc/init.d/loadkeysEOF -- cd /etc/init.d && chmod 754 localnet && cd ../rcS.d && ln -s ../init.d/localnet S100localnet -- &c9-localnet-symperm; diff --git a/chapter07/mountfs.xml b/chapter07/mountfs.xml index e084b512e..242924f42 100644 --- a/chapter07/mountfs.xml +++ b/chapter07/mountfs.xml @@ -7,7 +7,6 @@ the following:cat > /etc/init.d/localnet << "EOF" #!/bin/sh # Begin /etc/init.d/localnet @@ -50,7 +49,6 @@ esac # End /etc/init.d/localnetEOF -- diff --git a/chapter07/network.xml b/chapter07/network.xml index 64d61bd04..2ed3f702b 100644 --- a/chapter07/network.xml +++ b/chapter07/network.xml @@ -7,9 +7,7 @@ hostname is put in it by running:cat > mountfs << "EOF" #!/bin/sh # Begin /etc/init.d/mountfs @@ -103,7 +102,6 @@ esac # End /etc/init.d/mountfsEOF -- echo "HOSTNAME=lfs" > /etc/sysconfig/network -diff --git a/chapter07/rc.xml b/chapter07/rc.xml index 7fcf4d71e..2e86e031c 100644 --- a/chapter07/rc.xml +++ b/chapter07/rc.xml @@ -7,7 +7,6 @@ A new file /etc/init.d/rc is created containing the following:- diff --git a/chapter07/rcS.xml b/chapter07/rcS.xml index 7eb6884ab..83b3df9c5 100644 --- a/chapter07/rcS.xml +++ b/chapter07/rcS.xml @@ -7,7 +7,6 @@ new filecat > rc << "EOF" #!/bin/sh # Begin /etc/init.d/rc @@ -246,7 +245,6 @@ fi # End /etc/init.d/rcEOF -/etc/init.d/rcS containing the following:- diff --git a/chapter07/reboot.xml b/chapter07/reboot.xml index e57410c48..9ce1a6037 100644 --- a/chapter07/reboot.xml +++ b/chapter07/reboot.xml @@ -7,7 +7,6 @@ following:cat > rcS << "EOF" #!/bin/sh # Begin /etc/init.d/rcS @@ -36,7 +35,6 @@ done # End /etc/init.d/rcSEOF -- diff --git a/chapter07/sendsignals.xml b/chapter07/sendsignals.xml index 3aff74996..b2ed0c80e 100644 --- a/chapter07/sendsignals.xml +++ b/chapter07/sendsignals.xml @@ -7,7 +7,6 @@ containing the following:cat > reboot << "EOF" #!/bin/sh # Begin /etc/init.d/reboot @@ -23,7 +22,6 @@ echo "System reboot in progress..." # End /etc/init.d/rebootEOF -- diff --git a/chapter07/setclock.xml b/chapter07/setclock.xml index 11809c770..994626de6 100644 --- a/chapter07/setclock.xml +++ b/chapter07/setclock.xml @@ -21,7 +21,6 @@ value ofcat > sendsignals << "EOF" #!/bin/sh # Begin /etc/init.d/sendsignals @@ -37,7 +36,6 @@ evaluate_retval # End /etc/init.d/sendsignalsEOF -1 .- cat > setclock << "EOF" #!/bin/sh # Begin /etc/init.d/setclock @@ -59,7 +58,6 @@ evaluate_retval # End /etc/init.d/setclockEOF -@@ -71,7 +69,6 @@ the following: - cat > /etc/sysconfig/clock << "EOF" # Begin /etc/sysconfig/clock @@ -79,7 +76,6 @@ UTC=1 # End /etc/sysconfig/clockEOF -diff --git a/chapter07/symperm.xml b/chapter07/symperm.xml index f8195aea7..d650737ae 100644 --- a/chapter07/symperm.xml +++ b/chapter07/symperm.xml @@ -9,7 +9,6 @@ below. diff --git a/chapter07/sysklogd.xml b/chapter07/sysklogd.xml index bad6e6450..e6a188af0 100644 --- a/chapter07/sysklogd.xml +++ b/chapter07/sysklogd.xml @@ -7,7 +7,6 @@ the following:- cd /etc/init.d && chmod 754 rc rcS functions checkfs halt loadkeys mountfs reboot && @@ -42,7 +41,6 @@ below.ln -s ../init.d/sysklogd S100sysklogd && cd ../rc5.d && ln -s ../init.d/sysklogd S100sysklogd -- diff --git a/chapter07/template.xml b/chapter07/template.xml index 37a1363f2..6a366b6f8 100644 --- a/chapter07/template.xml +++ b/chapter07/template.xml @@ -7,7 +7,6 @@ the following:cat > sysklogd << "EOF" #!/bin/sh # Begin /etc/init.d/sysklogd @@ -60,7 +59,6 @@ esac # End /etc/init.d/sysklogdEOF -- diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml index 5737df221..54a1efa80 100644 --- a/chapter08/kernel.xml +++ b/chapter08/kernel.xml @@ -10,7 +10,6 @@ following commands are run to build the kernel:cat > template << "EOF" #!/bin/sh # Begin /etc/init.d/ @@ -53,7 +52,6 @@ esac # End /etc/init.d/EOF -- cd /usr/src/linux && make mrproper && make menuconfig && @@ -21,7 +20,6 @@ following commands are run to build the kernel:cp arch/i386/boot/bzImage /boot/lfskernel && cp System.map /boot -diff --git a/chapter08/lilo.xml b/chapter08/lilo.xml index 598eb334f..bacecdc49 100644 --- a/chapter08/lilo.xml +++ b/chapter08/lilo.xml @@ -19,10 +19,8 @@ First we'll exit chroot and copy the lfskernel file to the host system: - logout cp $LFS/boot/lfskernel /boot -@@ -31,14 +29,12 @@ choose LFS when booting the computer: - cat >> /etc/lilo.conf << "EOF" image=/boot/lfskernel label=lfs root=<partition> read-onlyEOF -@@ -50,9 +46,7 @@ Now the boot loader gets updated by running: - /sbin/lilo -@@ -61,10 +55,8 @@ LFS system: - cp /etc/lilo.conf $LFS/etc && cp <kernel images> $LFS/boot -