- Timestamp:
- 03/10/2006 01:44:55 AM (18 years ago)
- Branches:
- experimental
- Children:
- 4845f38
- Parents:
- 6db1464
- Location:
- common
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
r6db1464 r12a5707 638 638 --stringparam model $MODEL \ 639 639 --stringparam testsuite $TEST \ 640 --stringparam toolchaintest $TOOLCHAINTEST \641 640 --stringparam vim-lang $VIMLANG \ 642 641 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1 … … 647 646 --xinclude \ 648 647 --stringparam testsuite $TEST \ 649 --stringparam toolchaintest $TOOLCHAINTEST \650 648 --stringparam vim-lang $VIMLANG \ 651 649 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1 … … 701 699 cd $BUILDDIR/sources 702 700 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. 706 703 DIR=`echo $1 | sed 's@-doc@@;s@-linuxthreads@@;s@-libidn@@;s@-testsuite@@'` 707 704 … … 721 718 if [ ! -f $2 ] ; then 722 719 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` ;; 725 722 * ) echo "$DL not supported at this time." ;; 726 723 esac 727 724 elif ! echo "$MD5" | md5sum -c - >/dev/null 2>/dev/null ; then 728 725 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` ;; 731 728 * ) echo "$DL not supported at this time." ;; 732 729 esac … … 767 764 768 765 # There are some entities that aren't valid packages. 769 if [ "$PKG" = "expect-lib" -o "$PKG" = "linux-dl" -o "$PKG" = "groff-patchlevel"] ; then continue ; fi766 if [ "$PKG" = "expect-lib" -o "$PKG" = "linux-dl" ] ; then continue ; fi 770 767 771 768 VRS=`echo $i | sed -e 's/.* //' -e 's/"//g'` -
common/config
r6db1464 r12a5707 1 1 ##### 2 2 # 3 # Masterscriptconfiguration file3 # common configuration file 4 4 # 5 # $Id$ 5 6 ##### 6 7 … … 17 18 RUNMAKE=0 18 19 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 20 25 TEST=1 21 22 #--- Run the toolchain tests 0(no)/1(yes)23 TOOLCHAINTEST=124 26 25 27 #--- Run the stripping phases 0(no)/1(yes) … … 42 44 KEYMAP=/usr/share/kbd/keymaps/i386/qwerty/us.map.gz 43 45 46 #=== Variables needed by ICA === 47 #--- Run ICA testing 0/1 0(no)/1(yes) 48 RUN_ICA=0 49 50 #--- The number of final stage builds to create and compare 51 ITERATIONS= 52 53 #--- ICA report log directory 54 ICALOGDIR=$JHALFSDIR/logs/ICA 55 44 56 #==== INTERNAL VARIABLES ==== 45 57 # Don't edit it unless you know what you are doing -
common/func_check_version.sh
r6db1464 r12a5707 28 28 TXT=$3 29 29 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 35 38 36 39 write_error_and_die() { -
common/func_validate_configs.sh
r6db1464 r12a5707 18 18 inline_doc 19 19 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" 22 21 local -r blfs_PARAM_LIST="BUILDDIR TEST DEPEND" 23 local -r hlfs_PARAM_LIST="BUILDDIR HPKG MODEL TEST TOOLCHAINTESTSTRIP VIMLANG PAGE GRSECURITY_HOST RUNMAKE TIMEZONE"22 local -r hlfs_PARAM_LIST="BUILDDIR HPKG MODEL TEST STRIP VIMLANG PAGE GRSECURITY_HOST RUNMAKE TIMEZONE" 24 23 local -r clfs_PARAM_LIST="ARCH BOOTMINIMAL RUNMAKE MKFILE" 25 local -r global_PARAM_LIST="BUILDDIR HPKG RUNMAKE TEST TOOLCHAINTESTSTRIP PAGE TIMEZONE VIMLANG"24 local -r global_PARAM_LIST="BUILDDIR HPKG RUNMAKE TEST STRIP PAGE TIMEZONE VIMLANG" 26 25 27 26 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}' … … 55 54 HPKG) validation_str="x0x x1x" ;; 56 55 RUNMAKE) validation_str="x0x x1x" ;; 57 TEST) validation_str="x0x x1x " ;;56 TEST) validation_str="x0x x1x x2x x3x" ;; 58 57 STRIP) validation_str="x0x x1x" ;; 59 58 VIMLANG) validation_str="x0x x1x" ;; … … 62 61 PAGE) validation_str="xletterx xA4x" ;; 63 62 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" ;;65 63 GRSECURITY_HOST) validation_str="x0x x1x" ;; 66 64 BOOTMINIMAL) validation_str="x0x x1x";;
Note:
See TracChangeset
for help on using the changeset viewer.