Changeset 12a5707 for common


Ignore:
Timestamp:
03/10/2006 01:44:55 AM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
experimental
Children:
4845f38
Parents:
6db1464
Message:

Adjusting scripts to new structure. Added jhalfs trunk changes. Will now create a lfs makefile.

Location:
common
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    r6db1464 r12a5707  
    638638                  --stringparam model $MODEL \
    639639                  --stringparam testsuite $TEST \
    640                   --stringparam toolchaintest $TOOLCHAINTEST \
    641640                  --stringparam vim-lang $VIMLANG \
    642641                  -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
     
    647646                 --xinclude \
    648647                 --stringparam testsuite $TEST \
    649                  --stringparam toolchaintest $TOOLCHAINTEST \
    650648                 --stringparam vim-lang $VIMLANG \
    651649                 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
     
    701699  cd $BUILDDIR/sources
    702700
    703   # Hackish fix for the bash-doc, glibc-{linuxthreads,libidn} and
    704   # module-init-tools-testsuite packages that don't conform to
    705   # norms in the URL scheme.
     701  # Hackish fix for the bash-doc, glibc-{linuxthreads,libidn}
     702  # that don't conform to norms in the URL scheme.
    706703  DIR=`echo $1 | sed 's@-doc@@;s@-linuxthreads@@;s@-libidn@@;s@-testsuite@@'`
    707704
     
    721718  if [ ! -f $2 ] ; then
    722719    case $DL in
    723       wget )  wget $HTTP/$DIR/$2            ;;
    724       curl )  `curl -# $HTTP/$DIR/$2 -o $2`     ;;
     720      wget )  wget --passive $FTP/$DIR/$2            ;;
     721      curl )  `curl -# $FTP/$DIR/$2 -o $2`     ;;
    725722      * )     echo "$DL not supported at this time."  ;;
    726723    esac
    727724  elif ! echo "$MD5" | md5sum -c - >/dev/null 2>/dev/null ; then
    728725    case $DL in
    729       wget )  wget -c $HTTP/$DIR/$2         ;;
    730       curl )  `curl -# -C - $HTTP/$DIR/$2 -o $2`    ;;
     726      wget )  wget --passive -c $FTP/$DIR/$2         ;;
     727      curl )  `curl -# -C - $FTP/$DIR/$2 -o $2`    ;;
    731728      * )     echo "$DL not supported at this time."  ;;
    732729    esac
     
    767764
    768765      # There are some entities that aren't valid packages.
    769       if [ "$PKG" = "expect-lib" -o "$PKG" = "linux-dl" -o "$PKG" = "groff-patchlevel" ] ; then continue ; fi
     766      if [ "$PKG" = "expect-lib" -o "$PKG" = "linux-dl" ] ; then continue ; fi
    770767
    771768      VRS=`echo $i | sed -e 's/.* //' -e 's/"//g'`
  • common/config

    r6db1464 r12a5707  
    11#####
    22#
    3 # Masterscript configuration file
     3# common configuration file
    44#
     5# $Id$
    56#####
    67
     
    1718RUNMAKE=0
    1819
    19 #--- Run test suites  0(no)/1(yes)
     20#--- Run test suites  [0-3]
     21#  0 = none
     22#  1 = only chapter06 Glibc, GCC and Binutils testsuites
     23#  2 = all chapter06 testsuites
     24#  3 = all chapter05 and chapter06 testsuites
    2025TEST=1
    21 
    22 #--- Run the toolchain tests  0(no)/1(yes)
    23 TOOLCHAINTEST=1
    2426
    2527#--- Run the stripping phases  0(no)/1(yes)
     
    4244KEYMAP=/usr/share/kbd/keymaps/i386/qwerty/us.map.gz
    4345
     46#=== Variables needed by ICA ===
     47#--- Run ICA testing 0/1  0(no)/1(yes)
     48RUN_ICA=0
     49
     50#--- The number of final stage builds to create and compare
     51ITERATIONS=
     52
     53#--- ICA report log directory
     54ICALOGDIR=$JHALFSDIR/logs/ICA
     55
    4456#==== INTERNAL VARIABLES ====
    4557# Don't edit it unless you know what you are doing
  • common/func_check_version.sh

    r6db1464 r12a5707  
    2828  TXT=$3
    2929
    30   if  echo $ref_version | grep [[:alpha:]] 2>&1 >/dev/null ||
    31       echo $tst_version | grep [[:alpha:]] 2>&1 >/dev/null ;then
    32     echo "Cannot test for text, 0.0.0a, version types, assuming 'success' "
    33     return   
    34   fi
     30  # This saves us the save/restore hassle of the system IFS value
     31  local IFS
     32
     33#  if  echo $ref_version | grep [[:alpha:]] 2>&1 >/dev/null ||
     34#      echo $tst_version | grep [[:alpha:]] 2>&1 >/dev/null ;then
     35#    echo "Cannot test for text, 0.0.0a, version types, assuming 'success' "
     36#    return   
     37#  fi
    3538   
    3639  write_error_and_die() {
  • common/func_validate_configs.sh

    r6db1464 r12a5707  
    1818inline_doc
    1919
    20   local svn_tracking='$Id$'
    21   local -r  lfs_PARAM_LIST="BUILDDIR HPKG TEST TOOLCHAINTEST STRIP VIMLANG PAGE RUNMAKE"
     20  local -r  lfs_PARAM_LIST="BUILDDIR HPKG TEST STRIP VIMLANG PAGE RUNMAKE"
    2221  local -r blfs_PARAM_LIST="BUILDDIR TEST DEPEND"
    23   local -r hlfs_PARAM_LIST="BUILDDIR HPKG MODEL TEST TOOLCHAINTEST STRIP VIMLANG PAGE GRSECURITY_HOST RUNMAKE TIMEZONE"
     22  local -r hlfs_PARAM_LIST="BUILDDIR HPKG MODEL TEST STRIP VIMLANG PAGE GRSECURITY_HOST RUNMAKE TIMEZONE"
    2423  local -r clfs_PARAM_LIST="ARCH BOOTMINIMAL RUNMAKE MKFILE"
    25   local -r global_PARAM_LIST="BUILDDIR HPKG RUNMAKE TEST TOOLCHAINTEST STRIP PAGE TIMEZONE VIMLANG"
     24  local -r global_PARAM_LIST="BUILDDIR HPKG RUNMAKE TEST STRIP PAGE TIMEZONE VIMLANG"
    2625
    2726  local -r ERROR_MSG='The variable \"${L_arrow}${config_param}${R_arrow}\" value ${L_arrow}${BOLD}${!config_param}${R_arrow} is invalid, ${nl_}check the config file ${BOLD}${GREEN}\<$PROGNAME.conf\>${OFF}'
     
    5554        HPKG)      validation_str="x0x x1x"  ;;
    5655        RUNMAKE)   validation_str="x0x x1x"  ;;
    57         TEST)      validation_str="x0x x1x"  ;;
     56        TEST)      validation_str="x0x x1x x2x x3x"  ;;
    5857        STRIP)     validation_str="x0x x1x"  ;;
    5958        VIMLANG)   validation_str="x0x x1x"  ;;
     
    6261        PAGE)      validation_str="xletterx xA4x"  ;;
    6362        ARCH)      validation_str="xx86x xx86_64x xx86_64-64x xsparcx xsparcv8x xsparc64x xsparc64-64x xmipsx xmips64x xmips64-64x xppcx xalphax" ;;
    64         TOOLCHAINTEST)    validation_str="x0x x1x"  ;;
    6563        GRSECURITY_HOST)  validation_str="x0x x1x"  ;;
    6664        BOOTMINIMAL)      validation_str="x0x x1x";;
Note: See TracChangeset for help on using the changeset viewer.