From 21ba4e3570c1c2524b0733d492ced9634b259353 Mon Sep 17 00:00:00 2001 From: Greg Schafer Date: Thu, 9 Oct 2003 23:22:07 +0000 Subject: Internal markup reworking to fix the extraneous whitespace problem in the "tidy generated" web site pages. Essentially replace all ocurrences of with (and of course the matching closing tags). git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2958 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/coreutils-inst.xml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'chapter06/coreutils-inst.xml') diff --git a/chapter06/coreutils-inst.xml b/chapter06/coreutils-inst.xml index 7ef5a0a09..1b52c5e8b 100644 --- a/chapter06/coreutils-inst.xml +++ b/chapter06/coreutils-inst.xml @@ -7,28 +7,28 @@ broken, in that the -p switch always returns "unknown". The following patch fixes this behaviour for Intel architectures: -patch -Np1 -i ../&coreutils-uname-patch; +patch -Np1 -i ../&coreutils-uname-patch; We do not want Coreutils to install its version of the hostname program, because it is inferior to the version provided by Net-tools. Prevent its installation by applying a patch: -patch -Np1 -i ../&coreutils-hostname-patch; +patch -Np1 -i ../&coreutils-hostname-patch; Now prepare Coreutils for compilation: -./configure --prefix=/usr +./configure --prefix=/usr Compile the package: -make +make The su program from Coreutils wasn't installed in Chapter 5 because it needed root privilege to do so. We're going to need it in a few moments for the test suite. Therefore we work around the problem by installing it now: -make install-root +make install-root This package has a test suite available which can perform a number of checks to ensure it built correctly. However, this particular test suite makes @@ -38,40 +38,40 @@ choose not to run the test suite, skip down to "Install the package". The following commands will prepare us for the test suite. Create two dummy groups and a dummy user name: -echo "dummy1:x:1000" >> /etc/group +echo "dummy1:x:1000" >> /etc/group echo "dummy2:x:1001:dummy" >> /etc/group -echo "dummy:x:1000:1000:::/bin/bash" >> /etc/passwd +echo "dummy:x:1000:1000:::/bin/bash" >> /etc/passwd Some tests are meant to run as root: -make check-root +make check-root The remainder of the tests are run as the dummy user: -su dummy -c "make RUN_EXPENSIVE_TESTS=yes check" +su dummy -c "make RUN_EXPENSIVE_TESTS=yes check" Remove the dummy groups and user name: -sed -i.bak '/dummy/d' /etc/passwd /etc/group +sed -i.bak '/dummy/d' /etc/passwd /etc/group Install the package: -make install +make install And move some programs to their proper locations: -mv /usr/bin/{basename,cat,chgrp,chmod,chown,cp,dd,df} /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 +mv /usr/bin/chroot /usr/sbin Finally, create a few necessary symlinks: -ln -s test /bin/[ -ln -s ../../bin/install /usr/bin +ln -s test /bin/[ +ln -s ../../bin/install /usr/bin -- cgit v1.2.3-54-g00ecf