Changeset 5f4982d


Ignore:
Timestamp:
12/04/2006 12:49:35 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
14eaa9f
Parents:
4eba1ea
Message:

Simplified sha-bang addition.
We are creating the /bin/bash symlink before entering to the chroot jail.

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • CLFS/clfs.xsl

    r4eba1ea r5f4982d  
    8787            <!-- Creating dirs and files -->
    8888          <exsl:document href="{$dirname}/{$order}-{$filename}" method="text">
    89             <xsl:choose>
    90               <xsl:when test="../@id='chapter-chroot'">
    91                 <xsl:text>#!/tools/bin/bash&#xA;set +h&#xA;set -e&#xA;&#xA;</xsl:text>
    92               </xsl:when>
    93               <xsl:when test="@id='ch-system-stripping'">
    94                 <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
    95               </xsl:when>
    96               <xsl:otherwise>
    97                 <xsl:text>#!/bin/bash&#xA;set +h&#xA;set -e&#xA;&#xA;</xsl:text>
    98               </xsl:otherwise>
    99             </xsl:choose>
     89            <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
     90            <xsl:if test="not(@id='ch-system-stripping')">
     91              <xsl:text>set -e</xsl:text>
     92            </xsl:if>
     93            <xsl:text>&#xA;</xsl:text>
    10094            <xsl:if test="sect2[@role='installation']">
    10195              <xsl:text>cd $PKGDIR&#xA;</xsl:text>
  • CLFS2/clfs2.xsl

    r4eba1ea r5f4982d  
    6969            <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
    7070            <xsl:if test="not(@id='ch-system-stripping')">
    71               <xsl:text>set -e&#xA;&#xA;</xsl:text>
     71              <xsl:text>set -e&#xA;</xsl:text>
    7272            </xsl:if>
     73            <xsl:text>&#xA;</xsl:text>
    7374            <xsl:if test="sect2[@role='installation']">
    7475              <xsl:text>cd $PKGDIR&#xA;</xsl:text>
  • CLFS3/clfs3.xsl

    r4eba1ea r5f4982d  
    6969            <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
    7070            <xsl:if test="not(@id='ch-system-stripping')">
    71               <xsl:text>set -e&#xA;&#xA;</xsl:text>
     71              <xsl:text>set -e&#xA;</xsl:text>
    7272            </xsl:if>
     73            <xsl:text>&#xA;</xsl:text>
    7374            <xsl:if test="sect2[@role='installation']">
    7475              <xsl:text>cd $PKGDIR&#xA;</xsl:text>
  • HLFS/hlfs.xsl

    r4eba1ea r5f4982d  
    8484        <!-- Creating dirs and files -->
    8585      <exsl:document href="{$dirname}/{$order}-{$filename}" method="text">
    86         <xsl:choose>
    87           <xsl:when test="@id='ch-system-changingowner' or
    88                     @id='ch-system-creatingdirs' or
    89                     @id='ch-system-createfiles'">
    90             <xsl:text>#!/tools/bin/bash&#xA;set +h&#xA;set -e&#xA;&#xA;</xsl:text>
    91           </xsl:when>
    92           <xsl:when test="@id='ch-tools-stripping' or
    93                     @id='ch-system-strippingagain'">
    94             <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
    95           </xsl:when>
    96           <xsl:otherwise>
    97             <xsl:text>#!/bin/bash&#xA;set +h&#xA;set -e&#xA;&#xA;</xsl:text>
    98           </xsl:otherwise>
    99         </xsl:choose>
     86        <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
     87        <xsl:if test="not(@id='ch-tools-stripping') and
     88                      not(@id='ch-system-strippingagain')">
     89          <xsl:text>set -e&#xA;</xsl:text>
     90        </xsl:if>
     91        <xsl:text>&#xA;</xsl:text>
    10092        <xsl:if test="(sect2[@role='installation'] and
    10193                           not(@id='bootable-kernel'))">
  • LFS/lfs.xsl

    r4eba1ea r5f4982d  
    7575        <!-- Creating dirs and files -->
    7676      <exsl:document href="{$dirname}/{$order}-{$filename}" method="text">
    77         <xsl:choose>
    78           <xsl:when test="@id='ch-system-changingowner' or
    79                     @id='ch-system-creatingdirs' or
    80                     @id='ch-system-createfiles'">
    81             <xsl:text>#!/tools/bin/bash&#xA;set +h&#xA;set -e&#xA;&#xA;</xsl:text>
    82           </xsl:when>
    83           <xsl:when test="@id='ch-tools-stripping' or
    84                     @id='ch-system-strippingagain'">
    85             <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
    86           </xsl:when>
    87           <xsl:otherwise>
    88             <xsl:text>#!/bin/bash&#xA;set +h&#xA;set -e&#xA;&#xA;</xsl:text>
    89           </xsl:otherwise>
    90         </xsl:choose>
     77        <xsl:text>#!/bin/bash&#xA;set +h&#xA;</xsl:text>
     78        <xsl:if test="not(@id='ch-tools-stripping') and
     79                      not(@id='ch-system-strippingagain')">
     80          <xsl:text>set -e&#xA;</xsl:text>
     81        </xsl:if>
     82        <xsl:text>&#xA;</xsl:text>
    9183        <xsl:if test="sect2[@role='installation']">
    9284          <xsl:text>cd $PKGDIR&#xA;</xsl:text>
Note: See TracChangeset for help on using the changeset viewer.