cvs commit: LFS/BOOK/chapter06 grub.xml shadow.xml

winkie at linuxfromscratch.org winkie at linuxfromscratch.org
Tue May 4 14:48:15 PDT 2004


winkie      04/05/04 15:48:15

  Modified:    BOOK/chapter01 Tag: b6_0 changelog.xml
               BOOK/chapter06 Tag: b6_0 grub.xml shadow.xml
  Log:
   - Moved passwd to /bin
   - Removed GCC 3.4-ism (woops)
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.741.2.7 +6 -0      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.741.2.6
  retrieving revision 1.741.2.7
  diff -u -r1.741.2.6 -r1.741.2.7
  --- changelog.xml	4 May 2004 17:34:17 -0000	1.741.2.6
  +++ changelog.xml	4 May 2004 21:48:14 -0000	1.741.2.7
  @@ -90,6 +90,12 @@
   </itemizedlist>
   </listitem>
   
  +<listitem><para>May 4th, 2004 [winkie]: Chapter 6 - Clean up lots of GCC
  +3.4-isms.</para></listitem>
  +
  +<listitem><para>May 4th, 2004 [winkie]: Chapter 6 - Install the
  +<quote>passwd</quote> binary in /bin instead of /usr/bin.</para></listitem>
  +
   <listitem><para>May 4th, 2004 [winkie]: Chapter 8 - Use the full LFS version for
   the GRUB title.</para></listitem>
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.13.2.1  +1 -7      LFS/BOOK/chapter06/grub.xml
  
  Index: grub.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/grub.xml,v
  retrieving revision 1.13
  retrieving revision 1.13.2.1
  diff -u -r1.13 -r1.13.2.1
  --- grub.xml	3 May 2004 21:28:57 -0000	1.13
  +++ grub.xml	4 May 2004 21:48:15 -0000	1.13.2.1
  @@ -32,13 +32,7 @@
   
   <screen><userinput>./configure --prefix=/usr</userinput></screen>
   
  -<para>A few of the files comprising Grub have issues with optimizations done
  -by GCC 3.4. Compile these few files with known-good optimizations:</para>
  -
  -<screen><userinput>make -C stage2 STAGE2_CFLAGS=-O2 \
  -    pre_stage2_exec-builtins.o pre_stage2_exec-serial.o</userinput></screen>
  -
  -<para>Now compile the rest of the package:</para>
  +<para>Now compile the the package:</para>
   
   <screen><userinput>make</userinput></screen>
   
  
  
  
  1.6.2.1   +1 -17     LFS/BOOK/chapter06/shadow.xml
  
  Index: shadow.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/shadow.xml,v
  retrieving revision 1.6
  retrieving revision 1.6.2.1
  diff -u -r1.6 -r1.6.2.1
  --- shadow.xml	3 May 2004 21:28:57 -0000	1.6
  +++ shadow.xml	4 May 2004 21:48:15 -0000	1.6.2.1
  @@ -23,18 +23,7 @@
   <sect2>
   <title>Installation of Shadow</title>
   
  -<para>Shadow hard-wires the path to the <command>passwd</command> binary within
  -the binary itself, but does this the wrong way. If a <command>passwd</command>
  -binary is not present before installing Shadow, the package incorrectly assumes
  -it is going to be located at <filename>/bin/passwd</filename>, but then
  -installs it as <filename>/usr/bin/passwd</filename>. This will lead to errors
  -about not finding <filename>/bin/passwd</filename>. To work around this bug,
  -create a dummy <filename>passwd</filename> file, so that it gets hard-wired
  -properly:</para>
  -
  -<screen><userinput>touch /usr/bin/passwd</userinput></screen>
  -
  -<para>Now prepare Shadow for compilation:</para>
  +<para>Prepare Shadow for compilation:</para>
   
   <screen><userinput>./configure --libdir=/usr/lib --enable-shared</userinput></screen>
   
  @@ -42,11 +31,6 @@
   working:</para>
   
   <screen><userinput>echo '#define HAVE_SETLOCALE 1' >> config.h</userinput></screen>
  -
  -<para>Shadow incorrectly declares the malloc() function, causing compilation
  -failure. Fix this:</para>
  -
  -<screen><userinput>sed -i '/extern char/d' libmisc/xmalloc.c</userinput></screen>
   
   <para>Compile the package:</para>
   
  
  
  



More information about the lfs-book mailing list