cvs commit: LFS/BOOK/chapter06 bash-inst.xml createfiles.xml gzip-inst.xml makedev-inst.xml man-exp.xml man-inst.xml sysvinit-inst.xml utillinux-inst.xml

timothy at linuxfromscratch.org timothy at linuxfromscratch.org
Mon Sep 2 08:46:19 PDT 2002


timothy     02/09/02 08:46:19

  Modified:    BOOK     index.xml
               BOOK/chapter01 changelog.xml
               BOOK/chapter05 gcc-inst.xml
               BOOK/chapter06 bash-inst.xml createfiles.xml gzip-inst.xml
                        makedev-inst.xml man-exp.xml man-inst.xml
                        sysvinit-inst.xml utillinux-inst.xml
  Log:
  Symlink sh to bash, and bash to /static/bin/bash. Shortened some cp commands. Changed call to less so SGR will work.
  
  Revision  Changes    Path
  1.474     +2 -2      LFS/BOOK/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/index.xml,v
  retrieving revision 1.473
  retrieving revision 1.474
  diff -u -r1.473 -r1.474
  --- index.xml	2 Sep 2002 00:01:21 -0000	1.473
  +++ index.xml	2 Sep 2002 15:46:18 -0000	1.474
  @@ -4,8 +4,8 @@
   
   <!ENTITY book SYSTEM "book/book.xml">
   
  -<!ENTITY version "20020901">
  -<!ENTITY releasedate "September 1st, 2002">
  +<!ENTITY version "20020902">
  +<!ENTITY releasedate "September 2nd, 2002">
   
   <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
   <!ENTITY http-root "http://ftp.linuxfromscratch.org">
  
  
  
  1.355     +6 -0      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.354
  retrieving revision 1.355
  diff -u -r1.354 -r1.355
  --- changelog.xml	2 Sep 2002 00:01:22 -0000	1.354
  +++ changelog.xml	2 Sep 2002 15:46:18 -0000	1.355
  @@ -52,6 +52,12 @@
   </itemizedlist>
   </para></listitem>
   
  +<listitem><para>September 2nd, 2002 [timothy]: Chapter 06 - Bash: Removed
  +creation of sh symlink. Creating the bash and sh symlinks: Added /bin/bash
  +symlink, symlinked sh to bash. Gzip, Sysvinit, Util-Linux: Shortened cp
  +command. Makedev: Removed /bin/bash creation and removal. Man: Modified sed
  +statement to edit less call, so SGR will work.</para></listitem>
  +
   <listitem><para>September 1st, 2002 [timothy]: Chapter 06 - About
   debugging symbols: Removed info. about stripping /static. Man: Added sed
   statement to prevent groff from using SGR escape sequences.</para></listitem>
  
  
  
  1.35      +1 -1      LFS/BOOK/chapter05/gcc-inst.xml
  
  Index: gcc-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/gcc-inst.xml,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- gcc-inst.xml	30 Aug 2002 23:08:48 -0000	1.34
  +++ gcc-inst.xml	2 Sep 2002 15:46:18 -0000	1.35
  @@ -19,7 +19,7 @@
   cd ../gcc-build &&
   ../gcc-&gcc-version;/configure --prefix=/static --enable-languages=c \
      --disable-nls --disable-shared --enable-threads=posix &&
  -echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &&
  +echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &&
   make BOOT_LDFLAGS=-static bootstrap &&
   make prefix=$LFS/static install &&
   ln -s gcc $LFS/static/bin/cc</userinput></screen></para>
  
  
  
  1.21      +0 -1      LFS/BOOK/chapter06/bash-inst.xml
  
  Index: bash-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/bash-inst.xml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- bash-inst.xml	14 Aug 2002 02:07:20 -0000	1.20
  +++ bash-inst.xml	2 Sep 2002 15:46:18 -0000	1.21
  @@ -6,7 +6,6 @@
   <para><screen><userinput>./configure --prefix=/usr --bindir=/bin &&
   make &&
   make install &&
  -ln -sf bash /bin/sh &&
   exec /bin/bash --login</userinput></screen></para>
   
   </sect2>
  
  
  
  1.3       +8 -7      LFS/BOOK/chapter06/createfiles.xml
  
  Index: createfiles.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/createfiles.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- createfiles.xml	15 Aug 2002 20:36:23 -0000	1.2
  +++ createfiles.xml	2 Sep 2002 15:46:18 -0000	1.3
  @@ -1,15 +1,16 @@
   <sect1 id="ch06-createfiles">
  -<title>Creating the /bin/sh symlink</title>
  +<title>Creating the bash and sh symlinks</title>
   <?dbhtml filename="createfiles.html" dir="chapter06"?>
   
  -<para>Some programs hard-wire paths that don't exist yet.  The only one
  -which may cause us trouble is <filename>/bin/sh</filename>.
  -We therefore create this for the time being and replace it 
  -properly when the bash package is (re)installed.</para>
  +<para>Some programs hard-wire paths to programs which don't exist yet. In
  +order to satisfy these programs, we create the <filename>/bin/bash</filename>
  +and <filename>/bin/sh</filename> symlinks.</para>
   
  -<para>Create the /bin/sh symlink by running the following commands:</para>
  +<para>Create the /bin/bash and /bin/sh symlinks by running the following
  +commands:</para>
   
  -<para><screen><userinput>ln -s /static/bin/bash /bin/sh</userinput></screen></para>
  +<para><screen><userinput>ln -s /static/bin/bash /bin/bash &&
  +ln -s bash /bin/sh</userinput></screen></para>
   
   </sect1>
   
  
  
  
  1.14      +1 -1      LFS/BOOK/chapter06/gzip-inst.xml
  
  Index: gzip-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/gzip-inst.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- gzip-inst.xml	18 Aug 2002 17:26:57 -0000	1.13
  +++ gzip-inst.xml	2 Sep 2002 15:46:18 -0000	1.14
  @@ -4,7 +4,7 @@
   <para>Install Gzip by running the following commands:</para>
   
   <para><screen><userinput>./configure --prefix=/usr &&
  -cp gzexe.in gzexe.in.backup &&
  +cp gzexe.in{,.backup} &&
   sed 's%"BINDIR"%/bin%' gzexe.in.backup > gzexe.in &&
   make &&
   make install &&
  
  
  
  1.24      +5 -8      LFS/BOOK/chapter06/makedev-inst.xml
  
  Index: makedev-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/makedev-inst.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- makedev-inst.xml	30 Aug 2002 23:08:48 -0000	1.23
  +++ makedev-inst.xml	2 Sep 2002 15:46:18 -0000	1.24
  @@ -1,13 +1,12 @@
   <sect2>
   <title>Creating devices</title>
   
  -<para>Note: the MAKEDEV-&makedev-version;.bz2 file you have unpacked is not an archive, so it 
  -won't create a directory for you to cd into.</para>
  +<para>Note: the MAKEDEV-&makedev-version;.bz2 file you have unpacked is not
  +an archive, so it won't create a directory for you to cd into.</para>
   
   <para>Create the device files by running the following commands:</para>
   
  -<para><screen><userinput>ln -s /static/bin/bash /bin/bash &&
  -cp MAKEDEV-&makedev-version; /dev/MAKEDEV &&
  +<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV &&
   cd /dev &&
   chmod 754 MAKEDEV</userinput></screen></para>
   
  @@ -15,12 +14,10 @@
   can run one of two commands:</para>
   
   <para>If you do not intend to use devpts, run:</para>
  -<para><screen><userinput>./MAKEDEV -v generic &&
  -rm /bin/bash</userinput></screen></para>
  +<para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para>
   
   <para>If you do intend to use devpts, then run:</para>
  -<para><screen><userinput>./MAKEDEV -v generic-nopty &&
  -rm /bin/bash</userinput></screen></para>
  +<para><screen><userinput>./MAKEDEV -v generic-nopty</userinput></screen></para>
   
   <para>Note that if you aren't sure, it's best to use 
   the <userinput>./MAKEDEV -v generic</userinput> command as this will
  
  
  
  1.10      +4 -3      LFS/BOOK/chapter06/man-exp.xml
  
  Index: man-exp.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/man-exp.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- man-exp.xml	2 Sep 2002 00:01:22 -0000	1.9
  +++ man-exp.xml	2 Sep 2002 15:46:18 -0000	1.10
  @@ -8,9 +8,10 @@
   ./configure command, we make sure that man doesn't use the /static versions
   of our programs.</para>
   
  -<para><userinput>sed -e '/^NROFF/s/-mandoc/-c -mandoc/'</userinput>:
  -This prevents groff from using SGR (Set Graphics Rendition) escape
  -sequences on our man pages.</para>
  +<para><userinput>sed '/^PAGER/s/-is/-isR/'</userinput>:
  +The version of groff we installed supports SGR (Set Graphics Rendition)
  +escape sequences. In order for our man pages to display properly, we
  +add the R argument to the call for the less pager.</para>
   
   </sect2>
   
  
  
  
  1.27      +6 -2      LFS/BOOK/chapter06/man-inst.xml
  
  Index: man-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/man-inst.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- man-inst.xml	2 Sep 2002 00:01:22 -0000	1.26
  +++ man-inst.xml	2 Sep 2002 15:46:18 -0000	1.27
  @@ -7,9 +7,13 @@
       ./configure -default -confdir=/etc &&
   make &&
   cp src/man.conf{,.backup} &&
  -sed -e '/^NROFF/s/-mandoc/-c -mandoc/' \
  -    src/man.conf.backup > src/man.conf &&
  +sed '/^PAGER/s/-is/-isR/' \
  +    src/man.conf.backup > src/man.conf &&
   make install</userinput></screen></para>
  +
  +<para>Note: If you wish to disable SGR escape sequences, you should
  +edit the man.conf file and add the <userinput>-c</userinput> argument
  +to nroff.</para>
   
   <para>You may want to take a look at the man hint 
   at <ulink url="&hints-root;man.txt"/> which deals with formatting 
  
  
  
  1.22      +1 -1      LFS/BOOK/chapter06/sysvinit-inst.xml
  
  Index: sysvinit-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/sysvinit-inst.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- sysvinit-inst.xml	3 Jul 2002 18:32:30 -0000	1.21
  +++ sysvinit-inst.xml	2 Sep 2002 15:46:18 -0000	1.22
  @@ -10,7 +10,7 @@
   by running the following commands. If you don't want to change it,
   skip it.</para>
   
  -<para><screen><userinput>cp src/init.c src/init.c.backup &&
  +<para><screen><userinput>cp src/init.c{,.backup} &&
   sed 's/Sending processes/Sending processes started by init/g' \
       src/init.c.backup > src/init.c</userinput></screen></para>
   
  
  
  
  1.25      +1 -1      LFS/BOOK/chapter06/utillinux-inst.xml
  
  Index: utillinux-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/utillinux-inst.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- utillinux-inst.xml	26 May 2002 21:25:09 -0000	1.24
  +++ utillinux-inst.xml	2 Sep 2002 15:46:18 -0000	1.25
  @@ -5,7 +5,7 @@
   adjtime file, instead of the usual /etc. To make hwclock, which is part of the
   util-linux package, FHS-compliant, run the following.</para>
   
  -<para><screen><userinput>cp hwclock/hwclock.c hwclock/hwclock.c.backup &&
  +<para><screen><userinput>cp hwclock/hwclock.c{,.backup} &&
   sed 's%etc/adjtime%var/lib/hwclock/adjtime%' \
       hwclock/hwclock.c.backup > hwclock/hwclock.c &&
   mkdir -p /var/lib/hwclock</userinput></screen></para>
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list