Changeset d540567 for HLFS/hlfs.xsl


Ignore:
Timestamp:
03/18/2006 11:42:56 AM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
389fe2a
Parents:
e2860d3
Message:

Handled and via XSL.
Fixed the chapter05 GCC installation test run.
Fixed blfs-bootscripts installation.
The build_Makefile code need be adapted to that new XSL code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HLFS/hlfs.xsl

    re2860d3 rd540567  
    1616  <!-- What libc implentation must be used? -->
    1717  <xsl:param name="model" select="glibc"/>
     18
     19  <!-- Is the host kernel using grsecurity? -->
     20  <xsl:param name="grsecurity_host" select="0"/>
     21
     22  <!-- Compile the keymap into the kernel? -->
     23  <xsl:param name="keymap" select="none"/>
    1824
    1925  <!-- Run test suites?
     
    7884          </xsl:otherwise>
    7985        </xsl:choose>
    80         <xsl:if test="sect2[@role='installation'] or
     86        <xsl:if test="(sect2[@role='installation'] and
     87                     not(@id='bootable-kernel')) or
    8188                     @id='ch-tools-adjusting' or
    8289                     @id='ch-system-readjusting'">
     
    153160        <xsl:text>&#xA;</xsl:text>
    154161      </xsl:when>
     162      <!-- grsecurity kernel in the host? -->
     163      <xsl:when test="ancestor::sect1[@id='ch-system-kernfs'] and
     164                contains(string(),'sysctl')
     165                and $grsecurity_host ='0'"/>
    155166      <!-- Setting $LC_ALL and $LANG for /etc/profile -->
    156167      <xsl:when test="ancestor::sect1[@id='bootable-profile'] and
     
    162173        <xsl:text>&#xA;</xsl:text>
    163174      </xsl:when>
     175      <!-- Fixing bootscripts installation -->
     176      <xsl:when test="ancestor::sect1[@id='bootable-bootscripts'] and
     177                string() = 'make install'">
     178        <xsl:text>make install&#xA;</xsl:text>
     179        <xsl:text>cd ../blfs-bootscripts-&blfs-bootscripts-version;&#xA;</xsl:text>
     180      </xsl:when>
     181      <!-- Compile the keymap into the kernel? -->
     182      <xsl:when test="contains(string(),'defkeymap') and
     183                $keymap = 'none'"/>
    164184      <!-- Copying the kernel config file -->
    165185      <xsl:when test="string() = 'make mrproper'">
     
    198218                ancestor::sect1[@id='ch-system-binutils']
    199219                and $testsuite = '0'"/>
    200       <!-- Don't stop on strip run -->
    201       <xsl:when test="contains(string(),'strip ')">
     220      <!-- Don't stop on strip run and chapter05 GCC installation test-->
     221      <xsl:when test="contains(string(),'strip ') or
     222                ancestor::sect2[@id='testing-gcc']">
    202223        <xsl:apply-templates/>
    203224        <xsl:text> || true&#xA;</xsl:text>
     
    219240      <xsl:when test="ancestor::sect1[@id='ch-system-groff']">
    220241        <xsl:text>$PAGE</xsl:text>
     242      </xsl:when>
     243      <xsl:when test="ancestor::sect1[@id='bootable-kernel']">
     244        <xsl:value-of select="$keymap"/>
    221245      </xsl:when>
    222246      <xsl:otherwise>
Note: See TracChangeset for help on using the changeset viewer.