Changeset d035526 for HLFS/hlfs.xsl


Ignore:
Timestamp:
06/04/2007 07:36:27 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
513b259
Parents:
c1f28d5
Message:

HLFS: Added support for additional build features.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HLFS/hlfs.xsl

    rc1f28d5 rd035526  
    3636  -->
    3737  <xsl:param name="bomb-testsuite" select="n"/>
     38
     39  <!-- Additional features -->
     40  <xsl:param name="features">,ssp,aslr,pax,hardened_tmp,warnings,misc,blowfish,</xsl:param>
    3841
    3942  <!-- Time zone -->
     
    150153    <xsl:if test="(@condition=$model or not(@condition)) and
    151154                  (@vendor=$kernel or not(@vendor)) and
    152                   child::* = userinput and not(@role = 'nodump')">
     155                  child::* = userinput and (not(@role) or
     156                  (@role and contains($features,concat(',',@role,','))))">
    153157      <xsl:apply-templates select="userinput" mode="screen"/>
    154158    </xsl:if>
Note: See TracChangeset for help on using the changeset viewer.