[lfs-book] r9972 - in trunk/BOOK: . appendices

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Fri Aug 31 11:33:08 PDT 2012


Author: bdubbs
Date: 2012-08-31 12:32:57 -0600 (Fri, 31 Aug 2012)
New Revision: 9972

Modified:
   trunk/BOOK/appendices/scripts.xml
   trunk/BOOK/process-scripts.sh
Log:
Clean up build rules
Delete obsolete sysconfig/rc file


Modified: trunk/BOOK/appendices/scripts.xml
===================================================================
--- trunk/BOOK/appendices/scripts.xml	2012-08-31 16:59:31 UTC (rev 9971)
+++ trunk/BOOK/appendices/scripts.xml	2012-08-31 18:32:57 UTC (rev 9972)
@@ -26,7 +26,6 @@
   <!ENTITY createfiles        SYSTEM "createfiles.script"> 
   <!ENTITY modules_sys        SYSTEM "modules-sysinit.script"> 
   <!ENTITY cfg_udev_retry     SYSTEM "config-udev-retry.script"> 
-  <!ENTITY rc_sys             SYSTEM "rc-sysinit.script"> 
   <!ENTITY ifup               SYSTEM "ifup.script"> 
   <!ENTITY ifdown             SYSTEM "ifdown.script"> 
   <!ENTITY ipv4_static        SYSTEM "ipv4-static.script"> 
@@ -158,11 +157,6 @@
     <screen>&template;</screen> 
   </sect1>
 
-  <sect1 id="rcsys" role="wrap">
-    <title>/etc/sysconfig/rc</title>
-    <screen>&rc_sys;</screen> 
-  </sect1>
-
   <sect1 id="modulessys" role="wrap">
     <title>/etc/sysconfig/modules</title>
     <screen>&modules_sys;</screen> 

Modified: trunk/BOOK/process-scripts.sh
===================================================================
--- trunk/BOOK/process-scripts.sh	2012-08-31 16:59:31 UTC (rev 9971)
+++ trunk/BOOK/process-scripts.sh	2012-08-31 18:32:57 UTC (rev 9972)
@@ -1,10 +1,11 @@
 #!/bin/bash
 
 # Boot scripts
-for s in bootscripts/lfs/init.d/*                    \
-         bootscripts/lfs/sysconfig/*                 \
+for s in bootscripts/lfs/init.d/*       \
+         bootscripts/lfs/sysconfig/*    \
          bootscripts/lfs/lib/services/* \
-         bootscripts/lfs/sbin/*
+         bootscripts/lfs/sbin/*         \
+         ../udev-lfs/*.rules
 do
   script=$(basename $s)
   
@@ -21,13 +22,3 @@
        -e "s/'/\&apos\;/g" -e 's/"/\&quot\;/g' -e 's/\t/    /g'  \
        $s > appendices/${script}.script 
 done
-
-# Udev rules
-for s in udev-config/*.rules
-do
-  script=$(basename $s)
-
-  sed  -e 's/\&/\&amp\;/g' -e 's/</\&lt\;/g'   -e 's/>/\&gt\;/g' \
-       -e "s/'/\&apos\;/g" -e 's/"/\&quot\;/g' -e 's/\t/    /g'  \
-       $s > appendices/${script}.script 
-done




More information about the lfs-book mailing list