Changeset 2639f65 for common


Ignore:
Timestamp:
11/11/2006 12:09:42 AM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
837797e
Parents:
ee21f67
Message:

Initial commit of CLFS3 changes, pt2.

Location:
common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    ree21f67 r2639f65  
    7676    clfs  ) MOUNT_ENV="CLFS" ;;
    7777    clfs2 ) MOUNT_ENV="CLFS" ;;
     78    clfs3 ) MOUNT_ENV="CLFS" ;;
    7879    hlfs  ) MOUNT_ENV="HLFS" ;;
    7980    *) echo "undefined progname $PROGNAME"; exit 1 ;;
     
    458459      clfs) svn_root="cross-lfs" ;;
    459460      clfs2) svn_root="cross-lfs" ;;
     461      clfs3) svn_root="cross-lfs" ;;
    460462      *) echo "BOOK not defined in function <get_book>"
    461463          exit 1 ;;
     
    473475        cd $JHALFSDIR
    474476        case $PROGNAME in
    475           clfs | clfs2)
     477          clfs | clfs2 | clfs3 )
    476478            VERSION=$(xmllint --noent $BOOK/prologue/$ARCH/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //'  -e 's/<\/.*//') ;;
    477479          *)
     
    545547                 -o ./${PROGNAME}-commands/ $XSL $BOOK/$ARCH-index.xml >>$LOGDIR/$LOG 2>&1
    546548      ;;
     549
     550    clfs3)
     551        echo -n " ${L_arrow}${BOLD}$ARCH${R_arrow} target architecture"
     552        xsltproc --nonet \
     553                 --xinclude \
     554                 --stringparam vim-lang $VIMLANG \
     555                 --stringparam timezone $TIMEZONE \
     556                 --stringparam page $PAGE \
     557                 --stringparam lang $LANG \
     558                 -o ./${PROGNAME}-commands/ $XSL $BOOK/$ARCH-index.xml >>$LOGDIR/$LOG 2>&1
     559      ;;
     560
    547561    hlfs)
    548562        echo -n " ${L_arrow}${BOLD}$MODEL${R_arrow} HLFS libc implementation"
     
    571585                 -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
    572586      ;;
    573     *) exit 1 ;;
     587    *)  echo -n " ${L_arrow}${BOLD}${PROGNAME}${R_arrow} book invalid, terminate build"
     588        exit 1 ;;
    574589  esac
    575590
     
    597612  echo -n "Creating <${PROGNAME}> list of tarball names for $BOOK $ARCH"
    598613  case ${PROGNAME} in
    599     clfs | clfs2)
     614    clfs | clfs2 | clfs3 )
    600615        xsltproc --nonet --xinclude -o pkg_tarball_list packages.xsl \
    601616                 $BOOK/materials/${ARCH}-chapter.xml >>$LOGDIR/$LOG 2>&1
     
    779794        echo " ...OK"
    780795      ;;
     796    clfs3)
     797        echo -n "Creating CLFS3 <${ARCH}> specific URLs file"
     798        xsltproc --nonet --xinclude \
     799                 --stringparam server $SERVER \
     800                 -o $BUILDDIR/sources/urls.lst urls.xsl \
     801                 $BOOK/materials/$ARCH-chapter.xml >>$LOGDIR/$LOG 2>&1
     802        echo " ...OK"
     803      ;;
    781804    hlfs)
    782805        echo -n "Creating HLFS <${MODEL}> specific URLs file"
  • common/func_validate_configs.sh

    ree21f67 r2639f65  
    2424  local -r  clfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE METHOD ARCH TARGET TARGET32 TEST BOMB_TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB BOOT_CONFIG CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG        LUSER LGROUP BLFS_TOOL              REBUILD_MAKEFILE"
    2525  local -r clfs2_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE        ARCH TARGET                         OPTIMIZE REPORT                                      STRIP FSTAB             CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG        LUSER LGROUP BLFS_TOOL              REBUILD_MAKEFILE"
     26  local -r clfs3_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE        ARCH TARGET                         OPTIMIZE REPORT                                      STRIP FSTAB             CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG        LUSER LGROUP BLFS_TOOL              REBUILD_MAKEFILE"
    2627  local -r   lfs_PARAM_LIST="BOOK BUILDDIR SRC_ARCHIVE GETPKG RUNMAKE                             TEST BOMB_TEST OPTIMIZE REPORT COMPARE RUN_ICA RUN_FARCE ITERATIONS STRIP FSTAB             CONFIG GETKERNEL VIMLANG PAGE TIMEZONE LANG        LUSER LGROUP BLFS_TOOL CUSTOM_TOOLS REBUILD_MAKEFILE"
    2728  local -r  blfs_PARAM_LIST="BRANCH_ID BLFS_ROOT BLFS_XML TRACKING_DIR"
Note: See TracChangeset for help on using the changeset viewer.