Changeset 33a4e41 for LFS/lfs.xsl


Ignore:
Timestamp:
08/17/2021 11:23:24 PM (3 years ago)
Author:
DJ Lucas <dj@…>
Branches:
ablfs-more, legacy, trunk
Children:
22abf37
Parents:
756863b
Message:

Fix package management and put back optional stripping again for backwards compatibility.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LFS/lfs.xsl

    r756863b r33a4e41  
    149149      <xsl:if test="@id='ch-system-creatingdirs' or
    150150                    @id='ch-system-createfiles' or
     151                    @id='ch-system-strippingagain' or
    151152                    @id='ch-system-stripping'">
    152153        <xsl:copy-of select="$bashdir"/>
     
    154155      <xsl:text>/bin/bash&#xA;set +h&#xA;</xsl:text>
    155156      <xsl:if test="not(@id='ch-tools-stripping') and
     157                    not(@id='ch-system-strippingagain') and
    156158                    not(@id='ch-system-stripping')">
    157159        <xsl:text>set -e&#xA;</xsl:text>
     
    188190    <!-- Inclusion of package manager scriptlets -->
    189191    <xsl:if test="$pkgmngt='y' and
    190                   following-sibling::sect1[1][@id='ch-tools-stripping']">
     192                  following-sibling::sect1[1][@id='ch-tools-stripping' or @id='ch-tools-cleanup']">
    191193      <xsl:choose>
    192194        <xsl:when test="$bashdir='/tools'">
     
    211213    </xsl:if>
    212214    <xsl:if test="$pkgmngt='y' and
    213                   following-sibling::sect1[2][@id='ch-system-stripping']">
     215                  following-sibling::sect1[2][@id='ch-system-strippingagain' or @id='ch-system-stripping']">
    214216      <xsl:apply-templates
    215217              select="document('packageManager.xml')//sect1[
Note: See TracChangeset for help on using the changeset viewer.