Ignore:
Timestamp:
03/20/2006 09:53:24 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
experimental
Children:
7161bc9
Parents:
adfc5b8
Message:

Download only the packages and patches required by each libc implementation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HLFS/patcheslist.xsl

    radfc5b8 rc940100  
    11<?xml version='1.0' encoding='ISO-8859-1'?>
    22
    3 <!-- Get list of patch files from the BLFS Book -->
    4 <!-- $LastChangedBy$ -->
    5 <!-- $Date$ -->
     3<!-- $Id$ -->
     4<!-- Get list of patch files from the HLFS Book -->
    65
    76<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     
    109  <xsl:output method="text"/>
    1110
     11  <!-- What libc implentation must be used? -->
     12  <xsl:param name="model" select="glibc"/>
     13
    1214  <!-- No text needed -->
    1315  <xsl:template match="//text()">
     
    1517  </xsl:template>
    1618
    17   <!-- Just grab the url from the ulink tags that have .patch in the name -->
     19  <!-- Just grab the url from the patches.xml file -->
    1820  <xsl:template match="//ulink">
    19     <xsl:if test="contains(@url, '.patch') or contains(@url, '.patch.gz') and contains(@url, 'linuxfromscratch')">
     21    <xsl:if test="ancestor::varlistentry[@condition=$model]
     22            or not(ancestor::varlistentry[@condition])">
    2023       <xsl:value-of select="@url"/>
    2124       <xsl:text>&#x0a;</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.