cvs commit: LFS/BOOK/chapter06 coreutils.xml man.xml shadow.xml

winkie at linuxfromscratch.org winkie at linuxfromscratch.org
Wed Jun 16 06:54:28 PDT 2004


winkie      04/06/16 07:54:28

  Modified:    BOOK/chapter01 changelog.xml
               BOOK/chapter05 util-linux.xml
               BOOK/chapter06 coreutils.xml man.xml shadow.xml
  Log:
  Fix permissions of files that have been edited inline by sed
  
  Revision  Changes    Path
  1.818     +4 -0      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.817
  retrieving revision 1.818
  diff -u -r1.817 -r1.818
  --- changelog.xml	16 Jun 2004 13:24:36 -0000	1.817
  +++ changelog.xml	16 Jun 2004 13:54:27 -0000	1.818
  @@ -75,6 +75,10 @@
   </itemizedlist>
   </listitem>
   
  +<listitem><para>June 16, 2004 [winkie]: Use <command>chmod</command> to fix the
  +permissions of various executable scripts when doing inline stream editing.
  +</para></listitem>
  +
   <listitem><para>June 16, 2004 [winkie]: Upgraded to Linux 2.6.7 and dropped the
   FPU patch.</para></listitem>
   
  
  
  
  1.9       +2 -1      LFS/BOOK/chapter05/util-linux.xml
  
  Index: util-linux.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/util-linux.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- util-linux.xml	7 Jun 2004 19:16:21 -0000	1.8
  +++ util-linux.xml	16 Jun 2004 13:54:27 -0000	1.9
  @@ -36,7 +36,8 @@
   from the <filename class="directory">/tools</filename> directory.  This is fixed by altering the configure
   script:</para>
   
  -<screen><userinput>sed -i 's@/usr/include@/tools/include at g' configure</userinput></screen>
  +<screen><userinput>sed -i 's@/usr/include@/tools/include at g' configure
  +chmod 755 configure</userinput></screen>
   
   <para>Prepare Util-linux for compilation:</para>
   
  
  
  
  1.29      +2 -1      LFS/BOOK/chapter06/coreutils.xml
  
  Index: coreutils.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/coreutils.xml,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- coreutils.xml	13 Jun 2004 12:58:23 -0000	1.28
  +++ coreutils.xml	16 Jun 2004 13:54:27 -0000	1.29
  @@ -73,7 +73,8 @@
   
   <para>When you're done testing, remove the dummy user and groups:</para>
   
  -<screen><userinput>sed -i '/dummy/d' /etc/passwd /etc/group</userinput></screen>
  +<screen><userinput>sed -i '/dummy/d' /etc/passwd /etc/group
  +chmod 644 /etc/passwd /etc/group</userinput></screen>
   
   <para>Install the package:</para>
   
  
  
  
  1.32      +2 -1      LFS/BOOK/chapter06/man.xml
  
  Index: man.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/man.xml,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -r1.31 -r1.32
  --- man.xml	7 Jun 2004 19:16:21 -0000	1.31
  +++ man.xml	16 Jun 2004 13:54:27 -0000	1.32
  @@ -40,7 +40,8 @@
   switch to the <emphasis>PAGER</emphasis> variable so that escape sequences are
   properly handled by Less:</para>
   
  -<screen><userinput>sed -i 's at -is@&R at g' configure</userinput></screen>
  +<screen><userinput>sed -i 's at -is@&R at g' configure
  +chmod 755 configure</userinput></screen>
   
   <para>The third is also a sed substitution to comment out the <quote>MANPATH
   /usr/man</quote> line in the <filename>man.conf</filename> file to prevent
  
  
  
  1.13      +2 -1      LFS/BOOK/chapter06/shadow.xml
  
  Index: shadow.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/shadow.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- shadow.xml	7 Jun 2004 19:16:21 -0000	1.12
  +++ shadow.xml	16 Jun 2004 13:54:27 -0000	1.13
  @@ -68,7 +68,8 @@
   
   <screen><userinput>cp etc/login.defs.linux /etc/login.defs
   sed -i -e 's@#MD5_CRYPT_ENAB.no at MD5_CRYPT_ENAB yes@' \
  -    -e 's@/var/spool/mail@/var/mail@' /etc/login.defs</userinput></screen>
  +    -e 's@/var/spool/mail@/var/mail@' /etc/login.defs
  +chmod 644 /etc/login.defs</userinput></screen>
   
   <para>Move some misplaced symlinks/programs to their proper locations:</para>
   
  
  
  



More information about the lfs-book mailing list