diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 7ab8f242a..170665033 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -65,15 +65,23 @@ fileutils-4.1 fileutils-4.1.patch +findutils-4.1-segfault.patch +findutils-4.1.patch +gzip-1.2.4b.patch netkit-base-0.17 sh-utils-2.0 sh-utils-2.0.patch sh-utils-2.0-hostname.patch +tar-1.13.patch textutils-2.1 vim-6.1.patch +May 12th, 2003 [winkie]: Removed all occurrences &&. +Updated bug syntax. Added "make check/test" where necessary in Chapter +6. + May 12th, 2003 [winkie]: Applied "Changing ownership" patch to polish the text. Closes bug #511. @@ -150,19 +158,21 @@ addition. --without-bash-malloc configure option. May 11th, 2003 [gerard]: Updated to -gcc-3.2.3-specs-4.patch +gcc-3.2.3-specs-4.patch. -May 11th, 2003 (Bug #359 & #515) [winkie]: Chapter -06 - Setting up Basic Networking: Added section. Create a basic /etc/hosts -files, and create /etc/services and /etc/protocols from IANA. +May 11th, 2003 [winkie]: Chapter 06 - Setting up Basic +Networking: Added section. Create a basic /etc/hosts files, and create +/etc/services and /etc/protocols from IANA. Fixes bugs #359 & +#515. May 11th, 2003 [winkie]: Upgrading to lfs-utils-0.2.2. This adds two files needed for proper networking configuration. -May 11th, 2003 (Bug #490) [winkie]: Removed Netkit-base -0.17. Added Inetutils 1.4.2. +May 11th, 2003 [winkie]: Removed Netkit-base 0.17. Added +Inetutils 1.4.2. Fixes bug #490. -May 11th, 2003 (Bug #493) [winkie]: Added lfs-utils-0.2.1. +May 11th, 2003 [winkie]: Added lfs-utils-0.2.1. Fixes bug +#493. May 11th, 2003 [winkie]: Chapter 06 - Installing Ncurses: Fix up the symlinks so that they follow suit of other library symlinks. @@ -198,7 +208,7 @@ After installation, remove /usr/include/libiberty.h. It is not used outside of the GCC build tree. May 11th, 2003 [winkie]: Upgraded to Bash 2.05b and -added its patch +added its patch. May 11th, 2003 [winkie]: Chapter 06 - Installing Zlib: Apply a patch to fix the buffer overflow in gzprintf(). diff --git a/chapter03/mounting.xml b/chapter03/mounting.xml index c1cdd954f..aad021ca0 100644 --- a/chapter03/mounting.xml +++ b/chapter03/mounting.xml @@ -15,7 +15,7 @@ by running: Now create the mount point and mount the LFS file system by running: -mkdir -p $LFS && +mkdir -p $LFS mount /dev/xxx $LFS Replace xxx with the designation of the LFS @@ -25,9 +25,9 @@ partition. / and another for /usr), mount them like this: -mkdir -p $LFS && -mount /dev/xxx $LFS && -mkdir $LFS/usr && +mkdir -p $LFS +mount /dev/xxx $LFS +mkdir $LFS/usr mount /dev/yyy $LFS/usr Of course, replace xxx and yyy diff --git a/chapter05/gettext-inst.xml b/chapter05/gettext-inst.xml index 334c45df4..c2fcf73c3 100644 --- a/chapter05/gettext-inst.xml +++ b/chapter05/gettext-inst.xml @@ -3,8 +3,8 @@ Installation of Gettext -./configure --prefix=/stage1 && -make && +./configure --prefix=/stage1 +make make check make install diff --git a/chapter05/glibc-inst.xml b/chapter05/glibc-inst.xml index 7be5e261f..0758ae04f 100644 --- a/chapter05/glibc-inst.xml +++ b/chapter05/glibc-inst.xml @@ -20,7 +20,7 @@ is putting your system at a very high risk. The documentation that comes with Glibc recommends to build the package not in the source directory but in a separate, dedicated directory: -mkdir ../glibc-build && +mkdir ../glibc-build cd ../glibc-build Next, prepare Glibc to be compiled: diff --git a/chapter05/kernelheaders-inst.xml b/chapter05/kernelheaders-inst.xml index fc79a0e25..dac03be82 100644 --- a/chapter05/kernelheaders-inst.xml +++ b/chapter05/kernelheaders-inst.xml @@ -43,8 +43,8 @@ symlink: Install the platform specific-header files: -mkdir /stage1/include/asm && -cp include/asm/* /stage1/include/asm && +mkdir /stage1/include/asm +cp include/asm/* /stage1/include/asm cp -R include/asm-generic /stage1/include Install the cross-platform kernel header files: diff --git a/chapter05/perl-inst.xml b/chapter05/perl-inst.xml index bc66b3950..c8bc5244e 100644 --- a/chapter05/perl-inst.xml +++ b/chapter05/perl-inst.xml @@ -5,12 +5,12 @@ patch -Np1 -i ../perl-&perl-version;-libc.patch chmod u+w hints/linux.sh echo 'static_ext="IO re Fcntl"' >> hints/linux.sh -./configure.gnu --prefix=/stage1 && +./configure.gnu --prefix=/stage1 make perl -make utilities && -cp perl /stage1/bin/perl && -cp pod/pod2man /stage1/bin && -mkdir -p /stage1/lib/perl5/5.8.0 && +make utilities +cp perl /stage1/bin/perl +cp pod/pod2man /stage1/bin +mkdir -p /stage1/lib/perl5/5.8.0 cp -R lib/* /stage1/lib/perl5/5.8.0 diff --git a/chapter06/adjustingtoolchain.xml b/chapter06/adjustingtoolchain.xml index 345282ed9..e1001d236 100644 --- a/chapter06/adjustingtoolchain.xml +++ b/chapter06/adjustingtoolchain.xml @@ -5,7 +5,7 @@ cd binutils-build make -C ld INSTALL=/stage1/bin/install install-data-local -SPECFILE=/stage1/lib/gcc-lib/*/*/specs && +SPECFILE=/stage1/lib/gcc-lib/*/*/specs sed -e 's@/stage1/lib/ld.so.1@/lib/ld.so.1@g' \     -e 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2@g' $SPECFILE > XX mv XX $SPECFILE diff --git a/chapter06/autoconf-inst.xml b/chapter06/autoconf-inst.xml index 9a6800680..9f3086f6e 100644 --- a/chapter06/autoconf-inst.xml +++ b/chapter06/autoconf-inst.xml @@ -10,6 +10,8 @@ make +make check + And finish off installing the package: make install diff --git a/chapter06/automake-inst.xml b/chapter06/automake-inst.xml index 4214b6648..b0c8c5ba4 100644 --- a/chapter06/automake-inst.xml +++ b/chapter06/automake-inst.xml @@ -11,6 +11,8 @@ make +make check + And finish off installing the package: make install diff --git a/chapter06/bash-inst.xml b/chapter06/bash-inst.xml index 19a54c714..597490117 100644 --- a/chapter06/bash-inst.xml +++ b/chapter06/bash-inst.xml @@ -17,6 +17,8 @@ patch: make +make tests + And finish off installing the package: make install diff --git a/chapter06/binutils-inst.xml b/chapter06/binutils-inst.xml index 0c2d4f973..d080a7a5d 100644 --- a/chapter06/binutils-inst.xml +++ b/chapter06/binutils-inst.xml @@ -11,14 +11,13 @@ or modifying them when building binutils. It is recommended by the Binutils installation documentation to build Binutils outside of the source directory: -mkdir ../binutils-build && +mkdir ../binutils-build cd ../binutils-build Next, prepare Binutils to be compiled: ../binutils-&binutils-version;/configure \ -    --prefix=/usr --mandir=/usr/share/man \ -    --infodir=/usr/share/info --enable-shared +    --prefix=/usr --enable-shared Continue with compiling the package: diff --git a/chapter06/bison-inst.xml b/chapter06/bison-inst.xml index d44fe385c..c346a6270 100644 --- a/chapter06/bison-inst.xml +++ b/chapter06/bison-inst.xml @@ -11,6 +11,8 @@ make +make check + Finish installing the package: make install diff --git a/chapter06/bzip2-inst.xml b/chapter06/bzip2-inst.xml index fdcee6fd4..cabfc4c63 100644 --- a/chapter06/bzip2-inst.xml +++ b/chapter06/bzip2-inst.xml @@ -5,7 +5,7 @@ Begin compiling the package: -make -f Makefile-libbz2_so && +make -f Makefile-libbz2_so make clean The -f flag will cause bzip2 to be built @@ -26,12 +26,12 @@ against it. class="directory">/bin directory, make some necessary symbolic links and clean up. -cp 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} && -mv /usr/bin/{bzip2recover,bzless,bzmore} /bin && -ln -s bzip2 /bin/bunzip2 && +cp 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} +mv /usr/bin/{bzip2recover,bzless,bzmore} /bin +ln -s bzip2 /bin/bunzip2 ln -s bzip2 /bin/bzcat diff --git a/chapter06/coreutils-inst.xml b/chapter06/coreutils-inst.xml index f1225d77c..5a002dc8e 100644 --- a/chapter06/coreutils-inst.xml +++ b/chapter06/coreutils-inst.xml @@ -23,16 +23,18 @@ Prevent the installation of hostname with this patch: make +make check-root + Install the package: make install Move files to their proper locations: -mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin && -mv /usr/bin/{dir,dircolors,du,date,echo,false,head} /bin && -mv /usr/bin/{install,ln,ls,mkdir,mkfifo,mknod,mv,pwd} /bin && -mv /usr/bin/{rm,rmdir,shred,sync,sleep,stty,su,test} /bin && +mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /bin +mv /usr/bin/{dir,dircolors,du,date,echo,false,head} /bin +mv /usr/bin/{install,ln,ls,mkdir,mkfifo,mknod,mv,pwd} /bin +mv /usr/bin/{rm,rmdir,shred,sync,sleep,stty,su,test} /bin mv /usr/bin/{touch,true,uname,vdir} /bin mv /usr/bin/chroot /usr/sbin diff --git a/chapter06/creatingdirs.xml b/chapter06/creatingdirs.xml index 3763bf202..6e1c597af 100644 --- a/chapter06/creatingdirs.xml +++ b/chapter06/creatingdirs.xml @@ -6,8 +6,8 @@ a directory tree. Issuing the following commands will create a more or less standard tree: -mkdir -p /{bin,boot,dev/pts,etc/opt,home,lib,mnt,proc} && -mkdir -p /{root,sbin,tmp,usr/local,var,opt} && +mkdir -p /{bin,boot,dev/pts,etc/opt,home,lib,mnt,proc} +mkdir -p /{root,sbin,tmp,usr/local,var,opt} for dirname in /usr /usr/local     do     mkdir $dirname/{bin,etc,include,lib,sbin,share,src} @@ -15,19 +15,19 @@ for dirname in /usr /usr/local     mkdir $dirname/share/{dict,doc,info,locale,man}     mkdir $dirname/share/{nls,misc,terminfo,zoneinfo}     mkdir $dirname/share/man/man{1,2,3,4,5,6,7,8} -done && -mkdir /usr/lib/locale && -mkdir /var/{lock,log,mail,run,spool} && -mkdir -p /var/{tmp,opt,cache,lib/misc,local} && -mkdir /opt/{bin,doc,include,info} && -mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}} && +done +mkdir /usr/lib/locale +mkdir /var/{lock,log,mail,run,spool} +mkdir -p /var/{tmp,opt,cache,lib/misc,local} +mkdir /opt/{bin,doc,include,info} +mkdir -p /opt/{lib,man/man{1,2,3,4,5,6,7,8}} ln -s ../var/tmp /usr Directories are, by default, created with permission mode 755, but this isn't desirable for all directories. We will make two changes: one to the home directory of root, and another to the directories for temporary files. -chmod 0750 /root && +chmod 0750 /root chmod 1777 /tmp /var/tmp The first mode change ensures that not just anybody can enter the diff --git a/chapter06/diffutils-inst.xml b/chapter06/diffutils-inst.xml index c845b456a..2f655113d 100644 --- a/chapter06/diffutils-inst.xml +++ b/chapter06/diffutils-inst.xml @@ -11,6 +11,8 @@ make +make check + And finish off installing the package: make install diff --git a/chapter06/e2fsprogs-inst.xml b/chapter06/e2fsprogs-inst.xml index 0f4c620f9..7a77606d6 100644 --- a/chapter06/e2fsprogs-inst.xml +++ b/chapter06/e2fsprogs-inst.xml @@ -6,7 +6,7 @@ It is recommended to build E2fsprogs outside of the source tree: -mkdir ../e2fsprogs-build && +mkdir ../e2fsprogs-build cd ../e2fsprogs-build Prepare E2fsprogs to be compiled: @@ -38,6 +38,8 @@ of. make +make check + Begin installing the package: make install diff --git a/chapter06/ed-inst.xml b/chapter06/ed-inst.xml index 64c4e10bd..b34122bb2 100644 --- a/chapter06/ed-inst.xml +++ b/chapter06/ed-inst.xml @@ -27,6 +27,8 @@ temporary files. make +make check + And finish off installing the package: make install diff --git a/chapter06/findutils-inst.xml b/chapter06/findutils-inst.xml index a0fe09251..4a54d0c40 100644 --- a/chapter06/findutils-inst.xml +++ b/chapter06/findutils-inst.xml @@ -16,6 +16,8 @@ option to configure. make +make check + Finish installing the package: make install diff --git a/chapter06/flex-inst.xml b/chapter06/flex-inst.xml index 69d315e93..c21aca04d 100644 --- a/chapter06/flex-inst.xml +++ b/chapter06/flex-inst.xml @@ -11,6 +11,8 @@ make +make bigcheck + Install the package: make install diff --git a/chapter06/gawk-inst.xml b/chapter06/gawk-inst.xml index a05730321..3c5268a53 100644 --- a/chapter06/gawk-inst.xml +++ b/chapter06/gawk-inst.xml @@ -41,6 +41,8 @@ with its contents on a make uninstall. make +make check + Finish installing the package: make install diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index 0d35d818c..a8fa65fdd 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -21,7 +21,7 @@ patch -Np1 -i ../gcc-&gcc-version;-mmap_test.patch in a dedicated directory outside of the source tree. Create the build directory: -mkdir ../gcc-build && +mkdir ../gcc-build cd ../gcc-build Prepare GCC to be compiled: @@ -29,8 +29,6 @@ cd ../gcc-build ../gcc-&gcc-version;/configure --prefix=/usr \     --enable-shared --enable-threads=posix \     --enable-__cxa_atexit --enable-clocale=gnu \ -    --mandir=/usr/share/man \ -    --infodir=/usr/share/info \     --enable-languages=c,c++ The meanings of the configure options are: diff --git a/chapter06/gettext-inst.xml b/chapter06/gettext-inst.xml index 19d883e0e..dfaf8cf3d 100644 --- a/chapter06/gettext-inst.xml +++ b/chapter06/gettext-inst.xml @@ -11,6 +11,8 @@ make +make check + Finish installing the package: make install diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 6e2c78970..a44fedbc1 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -6,7 +6,7 @@ The documentation that comes with Glibc recommends to build the package not in the source directory but in a separate, dedicated directory: -mkdir ../glibc-build && +mkdir ../glibc-build cd ../glibc-build Next, prepare Glibc to be compiled: @@ -14,8 +14,7 @@ cd ../glibc-build ../glibc-&glibc-version;/configure --prefix=/usr \     --disable-profile --enable-add-ons \     --libexecdir=/usr/bin \ -    --with-headers=/usr/include \ -    --mandir=/usr/share/man --infodir=/usr/share/info +    --with-headers=/usr/include The meaning of the configure options are: diff --git a/chapter06/grep-inst.xml b/chapter06/grep-inst.xml index f34a045cc..474686e4b 100644 --- a/chapter06/grep-inst.xml +++ b/chapter06/grep-inst.xml @@ -12,6 +12,8 @@ make +make check + And finish off installing the package: make install diff --git a/chapter06/groff-inst.xml b/chapter06/groff-inst.xml index 6c95604d7..4a4b7549e 100644 --- a/chapter06/groff-inst.xml +++ b/chapter06/groff-inst.xml @@ -18,8 +18,8 @@ Some groff/man document programs, such as xman, will not work work properly without the following symlinks: -ln -s soelim /usr/bin/zsoelim && -ln -s eqn /usr/bin/geqn && +ln -s soelim /usr/bin/zsoelim +ln -s eqn /usr/bin/geqn ln -s tbl /usr/bin/gtbl diff --git a/chapter06/gzip-inst.xml b/chapter06/gzip-inst.xml index 9022dfe96..1eb523511 100644 --- a/chapter06/gzip-inst.xml +++ b/chapter06/gzip-inst.xml @@ -11,7 +11,7 @@ be installed in the /bin directory: -cp gzexe.in{,.backup} && +cp gzexe.in{,.backup} sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in Continue with compiling the package: @@ -25,10 +25,10 @@ sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in Move the Gzip binaries to the /bin directory: -mv /usr/bin/gzip /bin && -rm /usr/bin/{gunzip,zcat} && -ln -s gzip /bin/gunzip && -ln -s gzip /bin/zcat && +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 diff --git a/chapter06/inetutils-inst.xml b/chapter06/inetutils-inst.xml index 37cfff695..080ce8411 100644 --- a/chapter06/inetutils-inst.xml +++ b/chapter06/inetutils-inst.xml @@ -6,8 +6,7 @@ Prepare Inetutils to be compiled: ./configure --prefix=/usr --disable-syslogd \ -    --libexecdir=/usr/sbin --infodir=/usr/share/info \ -    --mandir=/usr/share/man --disable-logger +    --libexecdir=/usr/sbin --disable-logger The meanings of the configure options are: diff --git a/chapter06/kernel-inst.xml b/chapter06/kernel-inst.xml index 734a75951..bd16795ef 100644 --- a/chapter06/kernel-inst.xml +++ b/chapter06/kernel-inst.xml @@ -43,7 +43,7 @@ symlink: Install the platform specific-header files: -cp -HR include/asm /usr/include && +cp -HR include/asm /usr/include cp -R include/asm-generic /usr/include Install the cross-platform kernel header files: diff --git a/chapter06/libtool-inst.xml b/chapter06/libtool-inst.xml index 8cd0e499c..4bf62e2ea 100644 --- a/chapter06/libtool-inst.xml +++ b/chapter06/libtool-inst.xml @@ -11,6 +11,8 @@ make +make check + And finish off installing the package: make install diff --git a/chapter06/m4-inst.xml b/chapter06/m4-inst.xml index b1b9683cd..65d25e6d6 100644 --- a/chapter06/m4-inst.xml +++ b/chapter06/m4-inst.xml @@ -11,6 +11,8 @@ make +make check + Finish installing the package: make install diff --git a/chapter06/make-inst.xml b/chapter06/make-inst.xml index b71919d79..d3c7002c0 100644 --- a/chapter06/make-inst.xml +++ b/chapter06/make-inst.xml @@ -11,6 +11,8 @@ make +make check + And finish off installing the package: make install diff --git a/chapter06/patch-inst.xml b/chapter06/patch-inst.xml index ac7423d34..f9bc0ae13 100644 --- a/chapter06/patch-inst.xml +++ b/chapter06/patch-inst.xml @@ -11,6 +11,8 @@ make +make check + Finish installing the package: make install diff --git a/chapter06/perl-inst.xml b/chapter06/perl-inst.xml index b65a177bc..70bb43ee3 100644 --- a/chapter06/perl-inst.xml +++ b/chapter06/perl-inst.xml @@ -18,6 +18,8 @@ above. make +make test + And finish off installing the package: make install diff --git a/chapter06/sed-inst.xml b/chapter06/sed-inst.xml index 4cfa45522..0007f5d6a 100644 --- a/chapter06/sed-inst.xml +++ b/chapter06/sed-inst.xml @@ -11,6 +11,8 @@ make +make check + Finish installing the package: make install diff --git a/chapter06/shadowpwd-inst.xml b/chapter06/shadowpwd-inst.xml index ba30a1a46..57a4266c4 100644 --- a/chapter06/shadowpwd-inst.xml +++ b/chapter06/shadowpwd-inst.xml @@ -18,7 +18,7 @@ shutdown and a record of bas login attempts. Create these files with their proper permissions by running the following commands: -touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} && +touch /var/run/utmp /var/log/{btmp,lastlog,wtmp} chmod 644 /var/run/utmp /var/log/{btmp,lastlog,wtmp} Shadow hard-codes the path to the passwd binary within itself, but @@ -84,7 +84,7 @@ find them in them in the /usr/lib directory. To account for this, create the following symlinks: -ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so && +ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so Sh-utils and Shadow Password Suite each install a unique diff --git a/chapter06/sysvinit-inst.xml b/chapter06/sysvinit-inst.xml index 8ec1ffe00..8020695c4 100644 --- a/chapter06/sysvinit-inst.xml +++ b/chapter06/sysvinit-inst.xml @@ -13,7 +13,7 @@ signal". Edit the halt message: -cp src/init.c{,.backup} && +cp src/init.c{,.backup} sed 's/Sending processes/Sending processes started by init/g' \     src/init.c.backup > src/init.c diff --git a/chapter06/tar-inst.xml b/chapter06/tar-inst.xml index 5478202a7..07b462c50 100644 --- a/chapter06/tar-inst.xml +++ b/chapter06/tar-inst.xml @@ -12,6 +12,8 @@ make +make check + Finish installing the package: make install diff --git a/chapter06/texinfo-inst.xml b/chapter06/texinfo-inst.xml index 51db2e43a..5d73d36d0 100644 --- a/chapter06/texinfo-inst.xml +++ b/chapter06/texinfo-inst.xml @@ -11,6 +11,8 @@ make +make check + Install the package: make install diff --git a/chapter06/utillinux-inst.xml b/chapter06/utillinux-inst.xml index d3bb7afa5..d4065822f 100644 --- a/chapter06/utillinux-inst.xml +++ b/chapter06/utillinux-inst.xml @@ -7,9 +7,9 @@ usual /etc, as the location of the adjtime file. To make hwclock FHS-compliant, run the following: -cp hwclock/hwclock.c{,.backup} && +cp hwclock/hwclock.c{,.backup} sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \ -    hwclock/hwclock.c.backup > hwclock/hwclock.c && +    hwclock/hwclock.c.backup > hwclock/hwclock.c mkdir -p /var/lib/hwclock diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml index be9843265..97885db8c 100644 --- a/chapter06/zlib-inst.xml +++ b/chapter06/zlib-inst.xml @@ -21,10 +21,11 @@ quality in the dynamic zlib library. Install the libraries: -make install && -make clean && -./configure --prefix=/usr && -make && +make install +make clean +./configure --prefix=/usr +make +make test make install The shared zlib library should be installed in the diff --git a/chapter08/lilo.xml b/chapter08/lilo.xml index 336728c7a..4c7cb1fa0 100644 --- a/chapter08/lilo.xml +++ b/chapter08/lilo.xml @@ -41,7 +41,7 @@ the line read-only should be changed to The last step is synchronizing the host system's lilo configuration files with the LFS system's: -cp /etc/lilo.conf $LFS/etc && +cp /etc/lilo.conf $LFS/etc cp $(grep "image.*=" /etc/lilo.conf | cut -f 2 -d "=") $LFS/boot diff --git a/chapter09/reboot.xml b/chapter09/reboot.xml index da568746b..2cd660444 100644 --- a/chapter09/reboot.xml +++ b/chapter09/reboot.xml @@ -6,15 +6,15 @@ the computer. Before we reboot, let's unmount $LFS/proc and the LFS partition itself by running: -umount $LFS/proc && +umount $LFS/proc umount $LFS If you decided to create multiple partitions, you need to umount the other partitions before you umount $LFS, like this: -umount $LFS/proc && -umount $LFS/usr && -umount $LFS/home && +umount $LFS/proc +umount $LFS/usr +umount $LFS/home umount $LFS And you can reboot your system by running something like: