Author: pierre
Date: Sun Jun 14 08:54:44 2020
New Revision: 4173

Log:
Change names for lfs chapters in blfs tools:
- change "6" to "final system"
- change "7" to "configuration"
- change "8" to "Bootable"
- change "9" to "The End"
- also fix a id that has changed in January in the lfs book

Modified:
   jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl
   jhalfs/trunk/BLFS/xsl/lfs_make_book.xsl

Modified: jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl
==============================================================================
--- jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl      Sun Jun 14 00:08:19 2020        
(r4172)
+++ jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl      Sun Jun 14 08:54:44 2020        
(r4173)
@@ -31,9 +31,9 @@
         <name>LFS Packages</name>
         <xsl:text>&#xA;    </xsl:text>
         <sublist>
-          <xsl:attribute name="id">lfs-6</xsl:attribute>
+          <xsl:attribute name="id">lfs-system</xsl:attribute>
           <xsl:text>&#xA;      </xsl:text>
-          <name>LFS Chapter 6</name>
+          <name>LFS Final System</name>
           <xsl:apply-templates
                select='document($lfs-full)//
                             chapter[@id="chapter-building-system"]/
@@ -41,26 +41,26 @@
           <xsl:text>&#xA;    </xsl:text>
         </sublist>
         <sublist>
-          <xsl:attribute name="id">lfs-7</xsl:attribute>
+          <xsl:attribute name="id">lfs-conf</xsl:attribute>
           <xsl:text>&#xA;      </xsl:text>
-          <name>LFS Chapter 7</name>
+          <name>LFS Configuration files</name>
           <xsl:apply-templates
                select='document($lfs-full)//
-                            chapter[@id="chapter-bootscripts"]/
+                            chapter[@id="chapter-config"]/
                                  
sect1/sect1info[./productname="bootscripts"]'/>
           <xsl:text>&#xA;    </xsl:text>
         </sublist>
         <sublist>
-          <xsl:attribute name="id">lfs-8</xsl:attribute>
+          <xsl:attribute name="id">lfs-boot</xsl:attribute>
           <xsl:text>&#xA;      </xsl:text>
-          <name>LFS Chapter 8</name>
+          <name>LFS Making Bootable</name>
           <xsl:apply-templates 
select='document($lfs-full)//chapter[@id="chapter-bootable"]/sect1/sect1info[./productname="kernel"]'/>
           <xsl:text>&#xA;    </xsl:text>
         </sublist>
         <sublist>
-          <xsl:attribute name="id">lfs-9</xsl:attribute>
+          <xsl:attribute name="id">lfs-theend</xsl:attribute>
           <xsl:text>&#xA;      </xsl:text>
-          <name>LFS Chapter 9</name>
+          <name>LFS The end</name>
           <xsl:apply-templates 
select='document($lfs-full)//sect1[@id="ch-finish-theend"]//userinput[starts-with(string(),"echo")]'/>
           <xsl:text>&#xA;    </xsl:text>
         </sublist>

Modified: jhalfs/trunk/BLFS/xsl/lfs_make_book.xsl
==============================================================================
--- jhalfs/trunk/BLFS/xsl/lfs_make_book.xsl     Sun Jun 14 00:08:19 2020        
(r4172)
+++ jhalfs/trunk/BLFS/xsl/lfs_make_book.xsl     Sun Jun 14 08:54:44 2020        
(r4173)
@@ -40,7 +40,7 @@
                       $package='shadow'"/>
       <xsl:when test="$package='bootscripts'">
         <xsl:for-each select="document($lfsbook)">
-          <xsl:apply-templates 
select="key('idlfs',$package)[ancestor::chapter/@id='chapter-bootscripts']" 
mode="lfs"/>
+          <xsl:apply-templates 
select="key('idlfs',$package)[ancestor::chapter/@id='chapter-config']" 
mode="lfs"/>
         </xsl:for-each>
       </xsl:when>
       <xsl:when test="$package='kernel'">
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to