Changeset 47fddc8 for LFS


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:
LFS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LFS/config

    r54f4782 r47fddc8  
    1919
    2020# Get the kernel package and patches even if no configuration file
    21 # has been supplied? 0(no)/1(yes)
    22 GETKERNEL=0
     21# has been supplied? n(no)/y(yes)
     22GETKERNEL=n
    2323
    2424#--- Book's sources directory
  • LFS/lfs.xsl

    r54f4782 r47fddc8  
    2323
    2424  <!-- Bomb on test suites failures?
    25        0 = no, I want to build the full system and review the logs
    26        1 = yes, bomb at the first test suite failure to can review the build dir
     25       n = no, I want to build the full system and review the logs
     26       y = yes, bomb at the first test suite failure to can review the build dir
    2727  -->
    28   <xsl:param name="bomb-testsuite" select="0"/>
     28  <xsl:param name="bomb-testsuite" select="n"/>
    2929
    3030  <!-- Install vim-lang package? -->
    31   <xsl:param name="vim-lang" select="1"/>
     31  <xsl:param name="vim-lang" select="y"/>
    3232
    3333  <!-- Time zone -->
     
    9191        <xsl:if test="sect2[@role='installation']">
    9292          <xsl:text>cd $PKGDIR&#xA;</xsl:text>
    93           <xsl:if test="@id='ch-system-vim' and $vim-lang = '1'">
     93          <xsl:if test="@id='ch-system-vim' and $vim-lang = 'y'">
    9494            <xsl:text>tar -xvf ../vim-&vim-version;-lang.* --strip-components=1&#xA;</xsl:text>
    9595          </xsl:if>
     
    118118            $testsuite = '3')">
    119119      <xsl:choose>
    120         <xsl:when test="$bomb-testsuite = '0'">
     120        <xsl:when test="$bomb-testsuite = 'n'">
    121121          <xsl:value-of select="substring-before(string(),'make')"/>
    122122          <xsl:text>make -k</xsl:text>
     
    182182            <xsl:if test="contains(string(),'check')">
    183183              <xsl:choose>
    184                 <xsl:when test="$bomb-testsuite = '0'">
     184                <xsl:when test="$bomb-testsuite = 'n'">
    185185                  <xsl:value-of select="substring-before(string(),'check')"/>
    186186                  <xsl:text>-k check</xsl:text>
     
    205205                    $testsuite = '3'">
    206206            <xsl:choose>
    207               <xsl:when test="$bomb-testsuite = '0'">
     207              <xsl:when test="$bomb-testsuite = 'n'">
    208208                <xsl:text>make -k check &gt;&gt; $TEST_LOG 2&gt;&amp;1 || true&#xA;</xsl:text>
    209209              </xsl:when>
  • LFS/master.sh

    r54f4782 r47fddc8  
    8080      *expect)    [[ "${TEST}" = "0" ]] && continue ;;
    8181      *dejagnu)   [[ "${TEST}" = "0" ]] && continue ;;
    82       *stripping) [[ "${STRIP}" = "0" ]] && continue ;;
     82      *stripping) [[ "${STRIP}" = "n" ]] && continue ;;
    8383      *glibc)     [[ "${TEST}" = "3" ]] && \
    8484                  sed -i 's@/usr/lib/locale@/tools/lib/locale@' $file ;;
     
    177177    case "${this_script}" in
    178178      *chroot)      continue ;;
    179       *stripping*) [[ "${STRIP}" = "0" ]] && continue ;;
     179      *stripping*) [[ "${STRIP}" = "n" ]] && continue ;;
    180180    esac
    181181
     
    335335
    336336  # Add SBU-disk_usage report target if required
    337   if [[ "$REPORT" = "1" ]] ; then wrt_report ; fi
     337  if [[ "$REPORT" = "y" ]] ; then wrt_report ; fi
    338338}
    339339
     
    352352  chapter6_Makefiles
    353353  # Add the iterations targets, if needed
    354   [[ "$COMPARE" != "0" ]] && wrt_compare_targets
     354  [[ "$COMPARE" = "y" ]] && wrt_compare_targets
    355355  chapter789_Makefiles
    356356
Note: See TracChangeset for help on using the changeset viewer.