Changeset 7432834 for common/common-functions
- Timestamp:
- 07/23/2006 02:44:13 PM (18 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- d763e91
- Parents:
- a708b15
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
ra708b15 r7432834 130 130 ${BOLD} --method BUILDMETHOD ${OFF} 131 131 Select the build method, chroot or boot 132 -EOF- 133 134 [[ ${PROGNAME} = "clfs2" ]] && 135 cat <<- -EOF- 136 137 ${BOLD} -A, --arch ARCH ${OFF} 138 Select the TARGET architecture, valid selections are: 139 32bit builds 140 arm 141 64bit builds 142 143 64bit multi-lib 132 144 -EOF- 133 145 … … 646 658 hlfs) svn_root="HLFS" ;; 647 659 clfs) svn_root="cross-lfs" ;; 660 clfs2) svn_root="cross-lfs" ;; 648 661 *) echo "BOOK not defined in function <get_book>" 649 662 exit 1 ;; … … 661 674 cd $JHALFSDIR 662 675 case $PROGNAME in 663 clfs )676 clfs | clfs2) 664 677 VERSION=$(xmllint --noent $BOOK/prologue/$ARCH/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //' -e 's/<\/.*//') ;; 665 678 *) … … 672 685 fi 673 686 else 674 svn co $SVN/${svn_root}/${TREE} ${PROGNAME}-$LFSVRS >>$LOGDIR/$LOG 2>&1 687 case $PROGNAME in 688 clfs2 ) svn co $SVN/${svn_root}/branches/clfs-2.0/BOOK ${PROGNAME}-$LFSVRS >>$LOGDIR/$LOG 2>&1 ;; 689 *) svn co $SVN/${svn_root}/${TREE} ${PROGNAME}-$LFSVRS >>$LOGDIR/$LOG 2>&1 ;; 690 esac 675 691 echo -ne "done\n" 676 692 extract_commands … … 694 710 cd $JHALFSDIR 695 711 case $PROGNAME in 696 clfs )712 clfs | clfs2 ) 697 713 VERSION=$(xmllint --noent $BOOK/prologue/$ARCH/bookinfo.xml 2>/dev/null | grep subtitle | sed -e 's/^.*ion //' -e 's/<\/.*//') ;; 698 714 *) … … 722 738 -o ./${PROGNAME}-commands/ $XSL $BOOK/$ARCH-index.xml >>$LOGDIR/$LOG 2>&1 723 739 ;; 740 741 clfs2) 742 echo -n " ${L_arrow}${BOLD}$ARCH${R_arrow} target architecture" 743 xsltproc --nonet \ 744 --xinclude \ 745 --stringparam testsuite $TEST \ 746 --stringparam vim-lang $VIMLANG \ 747 --stringparam timezone $TIMEZONE \ 748 --stringparam page $PAGE \ 749 --stringparam lang $LANG \ 750 --stringparam keymap $KEYMAP \ 751 -o ./${PROGNAME}-commands/ $XSL $BOOK/$ARCH-index.xml >>$LOGDIR/$LOG 2>&1 752 ;; 724 753 hlfs) 725 754 echo -n " ${L_arrow}${BOLD}$MODEL${R_arrow} HLFS libc implementation" … … 770 799 echo -n "Creating <${PROGNAME}> list of tarball names for $BOOK $ARCH" 771 800 case ${PROGNAME} in 772 clfs )801 clfs | clfs2) 773 802 xsltproc --nonet --xinclude -o pkg_tarball_list packages.xsl \ 774 803 $BOOK/materials/${ARCH}-chapter.xml >>$LOGDIR/$LOG 2>&1 … … 925 954 echo " ...OK" 926 955 ;; 956 clfs2) 957 echo -n "Creating CLFS2 <${ARCH}> specific URLs file" 958 xsltproc --nonet --xinclude \ 959 --stringparam server $SERVER \ 960 -o $BUILDDIR/sources/urls.lst urls.xsl \ 961 $BOOK/materials/$ARCH-chapter.xml >>$LOGDIR/$LOG 2>&1 962 echo " ...OK" 963 ;; 927 964 hlfs) 928 965 echo -n "Creating HLFS <${MODEL}> specific URLs file"
Note:
See TracChangeset
for help on using the changeset viewer.