Changeset 47fddc8 for HLFS


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

Legend:

Unmodified
Added
Removed
  • HLFS/config

    r54f4782 r47fddc8  
    1010MODEL=glibc
    1111
    12 #--- The host system has grsecurity options enabled? 0(no)/1(yes)
    13 GRSECURITY_HOST=0
     12#--- The host system has grsecurity options enabled? n0(no)/y(yes)
     13GRSECURITY_HOST=n
    1414
    1515#--- Unprivileged user and group name
     
    2525
    2626# Get the kernel package and patches even if no configutation file
    27 # has been supplied? 0(no)/1(yes)
    28 GETKERNEL=0
     27# has been supplied? n(no)/y(yes)
     28GETKERNEL=n
    2929
    3030#--- Book's sources directory
  • HLFS/hlfs.xsl

    r54f4782 r47fddc8  
    1818
    1919  <!-- Is the host kernel using grsecurity? -->
    20   <xsl:param name="grsecurity_host" select="0"/>
     20  <xsl:param name="grsecurity_host" select="n"/>
    2121
    2222  <!-- Compile the keymap into the kernel? -->
     
    3232
    3333  <!-- Bomb on test suites failures?
    34        0 = no, I want to build the full system and review the logs
    35        1 = yes, bomb at the first test suite failure to can review the build dir
     34       n = no, I want to build the full system and review the logs
     35       y = yes, bomb at the first test suite failure to can review the build dir
    3636  -->
    37   <xsl:param name="bomb-testsuite" select="0"/>
     37  <xsl:param name="bomb-testsuite" select="n"/>
    3838
    3939  <!-- Time zone -->
     
    144144                  ($testsuite = '2' or $testsuite = '3')">
    145145      <xsl:choose>
    146         <xsl:when test="$bomb-testsuite = '0'">
     146        <xsl:when test="$bomb-testsuite = 'n'">
    147147          <xsl:value-of select="substring-before(string(),'make')"/>
    148148          <xsl:text>make -k</xsl:text>
     
    177177      <xsl:when test="ancestor::sect1[@id='ch-system-kernfs'] and
    178178                contains(string(),'sysctl')
    179                 and $grsecurity_host ='0'"/>
     179                and $grsecurity_host ='n'"/>
    180180      <!-- Setting $LC_ALL and $LANG for /etc/profile -->
    181181      <xsl:when test="ancestor::sect1[@id='bootable-profile'] and
     
    227227            <xsl:if test="contains(string(),'check')">
    228228              <xsl:choose>
    229                 <xsl:when test="$bomb-testsuite = '0'">
     229                <xsl:when test="$bomb-testsuite = 'n'">
    230230                  <xsl:value-of select="substring-before(string(),'check')"/>
    231231                  <xsl:text>-k check</xsl:text>
     
    248248            <xsl:apply-templates/>
    249249            <xsl:choose>
    250               <xsl:when test="$bomb-testsuite = '0'">
     250              <xsl:when test="$bomb-testsuite = 'n'">
    251251                <xsl:text> &gt;&gt; $TEST_LOG 2&gt;&amp;1 || true&#xA;</xsl:text>
    252252              </xsl:when>
     
    264264            <xsl:value-of select="substring-before(string(),'&gt; glibc-')"/>
    265265            <xsl:choose>
    266               <xsl:when test="$bomb-testsuite = '0'">
     266              <xsl:when test="$bomb-testsuite = 'n'">
    267267                <xsl:text> &gt;&gt; $TEST_LOG 2&gt;&amp;1 || true&#xA;</xsl:text>
    268268              </xsl:when>
  • HLFS/master.sh

    r54f4782 r47fddc8  
    176176      *introduction* ) continue ;;
    177177        # Test if the stripping phase must be skipped
    178       *stripping* ) [[ "$STRIP" = "0" ]] && continue ;;
     178      *stripping* ) [[ "$STRIP" = "n" ]] && continue ;;
    179179      *) ;;
    180180    esac
     
    288288      *chroot* )  continue ;;
    289289        # Test if the stripping phase must be skipped
    290       *-stripping* )  [[ "$STRIP" = "0" ]] && continue ;;
     290      *-stripping* )  [[ "$STRIP" = "n" ]] && continue ;;
    291291    esac
    292292
     
    466466
    467467  # Add SBU-disk_usage report target if required
    468   if [[ "$REPORT" = "1" ]] ; then wrt_report ; fi
     468  if [[ "$REPORT" = "y" ]] ; then wrt_report ; fi
    469469}
    470470
     
    483483  chapter6_Makefiles
    484484  # Add the iterations targets, if needed
    485   [[ "$COMPARE" != "0" ]] && wrt_compare_targets
     485  [[ "$COMPARE" = "y" ]] && wrt_compare_targets
    486486  chapter7_Makefiles
    487487
Note: See TracChangeset for help on using the changeset viewer.