Changeset 47fddc8 for CLFS


Ignore:
Timestamp:
08/12/2006 07:59:11 PM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
experimental
Children:
3fa20d4
Parents:
54f4782
Message:

Change bool parameter definitions from 0/1 to y/n to match the new menu app

Location:
CLFS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CLFS/clfs.xsl

    r54f4782 r47fddc8  
    2929
    3030  <!-- Bomb on test suites failures?
    31        0 = no, I want to build the full system and review the logs
    32        1 = yes, bomb at the first test suite failure to can review the build dir
     31       n = no, I want to build the full system and review the logs
     32       y = yes, bomb at the first test suite failure to can review the build dir
    3333  -->
    34   <xsl:param name="bomb-testsuite" select="0"/>
     34  <xsl:param name="bomb-testsuite" select="n"/>
    3535
    3636  <!-- Install vim-lang package? -->
    37   <xsl:param name="vim-lang" select="1"/>
     37  <xsl:param name="vim-lang" select="y"/>
    3838
    3939  <!-- Time zone -->
     
    103103            <xsl:if test="sect2[@role='installation']">
    104104              <xsl:text>cd $PKGDIR&#xA;</xsl:text>
    105               <xsl:if test="@id='ch-system-vim' and $vim-lang = '1'">
     105              <xsl:if test="@id='ch-system-vim' and $vim-lang = 'y'">
    106106                <xsl:text>tar -xvf ../vim-&vim-version;-lang.* --strip-components=1&#xA;</xsl:text>
    107107              </xsl:if>
     
    126126            ($testsuite = '2' or $testsuite = '3')">
    127127      <xsl:choose>
    128         <xsl:when test="$bomb-testsuite = '0'">
     128        <xsl:when test="$bomb-testsuite = 'n'">
    129129          <xsl:value-of select="substring-before(string(),'make')"/>
    130130          <xsl:text>make -k</xsl:text>
     
    194194            <xsl:if test="contains(string(),'check')">
    195195              <xsl:choose>
    196                 <xsl:when test="$bomb-testsuite = '0'">
     196                <xsl:when test="$bomb-testsuite = 'n'">
    197197                  <xsl:value-of select="substring-before(string(),'check')"/>
    198198                  <xsl:text>-k check</xsl:text>
     
    215215          <xsl:when test="$testsuite != '0'">
    216216            <xsl:choose>
    217               <xsl:when test="$bomb-testsuite = '0'">
     217              <xsl:when test="$bomb-testsuite = 'n'">
    218218                <xsl:text>make -k check &gt;&gt; $TEST_LOG 2&gt;&amp;1 || true&#xA;</xsl:text>
    219219              </xsl:when>
     
    231231            <xsl:value-of select="substring-before(string(),'&gt;g')"/>
    232232            <xsl:choose>
    233               <xsl:when test="$bomb-testsuite = '0'">
     233              <xsl:when test="$bomb-testsuite = 'n'">
    234234                <xsl:text>&gt;&gt; $TEST_LOG 2&gt;&amp;1 || true&#xA;</xsl:text>
    235235              </xsl:when>
  • CLFS/config

    r54f4782 r47fddc8  
    5555
    5656# Get the kernel package and patches even if no configutation file
    57 # has been supplied? 0(no)/1(yes)
    58 GETKERNEL=0
     57# has been supplied? n(no)/y(yes)
     58GETKERNEL=n
    5959
    6060#--- Book's sources directory
  • CLFS/master.sh

    r54f4782 r47fddc8  
    498498    # Skip alsp temp-perl for iterative runs
    499499    case $this_script in
    500       *stripping*) [[ "$STRIP" = "0" ]] && continue ;;
     500      *stripping*) [[ "$STRIP" = "n" ]] && continue ;;
    501501      *temp-perl*) [[ -n "$N" ]] && continue ;;
    502502    esac
     
    608608    # Skip alsp temp-perl for iterative runs
    609609    case $this_script in
    610       *stripping*) [[ "$STRIP" = "0" ]] && continue ;;
     610      *stripping*) [[ "$STRIP" = "n" ]] && continue ;;
    611611      *temp-perl*) [[ -n "$N" ]] && continue ;;
    612612    esac
     
    883883
    884884  # Add SBU-disk_usage report target if required
    885   if [[ "$REPORT" = "1" ]] ; then wrt_report ; fi
     885  if [[ "$REPORT" = "y" ]] ; then wrt_report ; fi
    886886
    887887}
     
    962962
    963963  # Add SBU-disk_usage report target if required
    964   if [[ "$REPORT" = "1" ]] ; then wrt_report ; fi
     964  if [[ "$REPORT" = "y" ]] ; then wrt_report ; fi
    965965
    966966}
     
    986986    final_system_Makefiles         # $basicsystem
    987987    # Add the iterations targets, if needed
    988     [[ "$COMPARE" != "0" ]] && wrt_compare_targets
     988    [[ "$COMPARE" = "y" ]] && wrt_compare_targets
    989989    bootscripts_Makefiles          # $bootscripttools
    990990    bootable_Makefiles             # $bootabletools
     
    996996    bm_final_system_Makefiles      # $basicsystem
    997997    # Add the iterations targets, if needed
    998     [[ "$COMPARE" != "0" ]] && wrt_compare_targets
     998    [[ "$COMPARE" = "y" ]] && wrt_compare_targets
    999999    bm_bootscripts_Makefiles       # $bootscipttools
    10001000    bm_bootable_Makefiles          # $bootabletoosl
Note: See TracChangeset for help on using the changeset viewer.