- Timestamp:
- 05/18/2006 06:44:10 PM (18 years ago)
- Branches:
- experimental
- Children:
- f8615e5
- Parents:
- 3a27393
- Location:
- common
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
r3a27393 r25b52e2 54 54 use VER version of the book as the system to build. 55 55 Supported versions are: dev*, trunk, SVN 56 These are aliases for the Development version of {C,H ,B}LFS56 These are aliases for the Development version of {C,H}LFS 57 57 58 58 ${BOLD} -D --directory DIR${OFF} … … 69 69 Optimize [0-2] 70 70 0 = no optimization 71 1 = optimize chapter06only72 2 = optimize both chapter05 and chapter0671 1 = optimize final system only 72 2 = optimize both temporary tools and final system 73 73 Edit common/opt_config{,.d/*} and common/opt_override as desired. 74 74 … … 80 80 3 = all temporary tools and final system testsuites 81 81 In CLFS, 3 is an alias to 2 82 In BLFS, 1, 2, and 3 are equivalents and means that the testsuites83 will be run.84 82 85 83 ${BOLD} -W, --working-copy DIR${OFF} 86 84 use the local working copy placed in DIR as the $(echo $PROGNAME | tr [a-z] [A-Z]) book 87 -EOF-88 89 [[ ${PROGNAME} != "blfs" ]] &&90 cat <<- -EOF-91 85 92 86 ${BOLD} -C, --comparasion TYPE${OFF} … … 142 136 -EOF- 143 137 144 [[ ${PROGNAME} = "blfs" ]] &&145 cat <<- -EOF-146 147 ${BOLD} --dependencies 0/1/2${OFF}148 add dependencies of type TYPE to the build tree.149 If not set, both required and recommended are used.150 151 Possible values are:152 0 - required only required dependecies are used153 1 - recommended both required a recommended dependencies are used154 2 - optional all dependencies are used155 -EOF-156 157 138 cat <<- -EOF- 158 139 ${DD_BORDER} … … 195 176 help="${nl_}Try '$0 --help' for more information." 196 177 197 198 178 exit_missing_arg="\ 199 179 echo \"Option '\$1' requires an argument\" >&2 200 180 echo \"\$help\" >&2 201 181 exit 1" 202 203 no_dl_client="\204 echo \"Could not find a way to download the ${BOLD}$(echo $PROGNAME | tr [a-z] [A-Z])${OFF} sources.\" >&2205 echo \"Attempting to continue.\" >&2"206 182 207 183 HEADER="# This file is automatically generated by jhalfs-X … … 494 470 hlfs) svn_root="HLFS" ;; 495 471 clfs) svn_root="cross-lfs" ;; 496 blfs) svn_root="BLFS" ;;497 472 *) echo "BOOK not defined in function <get_book>" 498 473 exit 1 ;; … … 595 570 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1 596 571 ;; 597 blfs)598 echo -n " ${L_arrow}${BOLD}BLFS${R_arrow} build"599 xsltproc --nonet \600 --xinclude \601 --stringparam testsuite $TEST \602 --stringparam server $SERVER \603 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1604 ;;605 572 *) exit 1 ;; 606 573 esac … … 613 580 # Create the packages file. We need it for proper Makefile creation 614 581 rm -f packages 615 if [[ "${PROGNAME}" != "blfs" ]] ; then 616 echo -n "Creating <${PROGNAME}> specific packages file" 617 grep "\-version " $BOOK/packages.ent | sed -e 's@<!ENTITY @@' \ 618 -e 's@">@"@' > packages 619 echo " ...OK" 620 fi 582 echo -n "Creating <${PROGNAME}> specific packages file" 583 grep "\-version " $BOOK/packages.ent | sed -e 's@<!ENTITY @@' \ 584 -e 's@">@"@' > packages 585 echo " ...OK" 621 586 622 587 # Done. Moving on... -
common/config
r3a27393 r25b52e2 32 32 #=== Build options === 33 33 #--- Run the makefile at the end 0(no)/1(yes) 34 # In BLFS the Makefile can't be run automatically35 34 RUNMAKE=0 36 35 … … 46 45 # 0 = none 47 46 # 1 = only chapter06 Glibc, GCC and Binutils testsuites 48 # (in BLFS, run the package testsuite, if any)49 47 # 2 = all chapter06 testsuites 50 # (in BLFS, alias to 1)51 48 # 3 = all chapter05 and chapter06 testsuites 52 # (in BLFS, alias to 1)53 49 # (in CLFS, alias to 2) 54 50 TEST=1 -
common/func_validate_configs.sh
r3a27393 r25b52e2 77 77 input vars: none 78 78 externals: color constants 79 PROGNAME (lfs,clfs,hlfs ,blfs)79 PROGNAME (lfs,clfs,hlfs) 80 80 modifies: none 81 81 returns: nothing … … 85 85 86 86 # First internal variables, then the ones that change the book's flavour, and lastly system configuration variables 87 local -r blfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG DEPEND TEST OPTIMIZE"88 87 local -r hlfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE MODEL GRSECURITY_HOST TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB CONFIG KEYMAP PAGE TIMEZONE LANG LC_ALL" 89 88 local -r clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE METHOD ARCH TARGET TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG KEYMAP VIMLANG PAGE TIMEZONE LANG" … … 204 203 STRIP) validate_against_str "x0x x1x" ;; 205 204 VIMLANG) validate_against_str "x0x x1x" ;; 206 DEPEND) validate_against_str "x0x x1x x2x" ;;207 205 MODEL) validate_against_str "xglibcx xuclibcx" ;; 208 206 PAGE) validate_against_str "xletterx xA4x" ;;
Note:
See TracChangeset
for help on using the changeset viewer.