Changeset bef0a98


Ignore:
Timestamp:
03/10/2006 03:28:52 PM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
experimental
Children:
6aeb5b7
Parents:
3f858ca
Message:

Housekeeping for HLFS.. changes to common/common_funtions to get HLFS running

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • HLFS/config

    r3f858ca rbef0a98  
    2828
    2929#--- Files that will be copied to $JHAHLFSDIR
    30 FILES="hlfs-patcheslist_.xsl"
     30FILES="patcheslist.xsl"
    3131
    3232#--- Default stylesheet
  • common/common-functions

    r3f858ca rbef0a98  
    218218        @ROOT=\`head -n1 /tmp/unpacked | sed 's@^./@@;s@/.*@@'\` && \\
    219219        echo "export PKGDIR=\$(MOUNT_PT)\$(SRC)/\$\$ROOT" > envars && \\
    220 
    221220        chown -R lfs \$(MOUNT_PT)\$(SRC)/\$\$ROOT
    222221EOF
     
    569568build_patches_file() {       # Supply a suitably formated list of patches.
    570569#----------------------------#
    571   local saveIFS=$IFS
     570  local IFS
     571  echo -ne "Creating the patch file list "
    572572
    573573  LOC_add_patches_entry() {
     
    580580           --xinclude \
    581581           -o patcheslist_.wget \
    582            hlfs-patcheslist_.xsl \
    583            $BOOK/index.xml > /dev/null 2>&1
     582           patcheslist.xsl \
     583           $BOOK/index.xml 
     584           #> /dev/null 2>&1
    584585
    585586  rm -f patches
     
    587588  IFS=$'\x0A'  # Modify the 'internal field separator' to break on 'LF' only
    588589  for f in `cat packages`; do
    589     IFS=$saveIFS
    590590    LOC_add_patches_entry \
    591591    `echo $f | sed -e 's/-version//' \
     
    600600  done
    601601
    602   IFS=$saveIFS
    603602  rm -f patcheslist_.wget
     603  echo "...OK"
    604604}
    605605
     
    621621    mkdir -v commands
    622622  fi
    623   echo -n "Extracting commands..."
     623  echo -n "Extracting commands for"
    624624
    625625  # Dump the commands in shell script form from the HLFS book.
    626626  case ${PROGNAME} in
    627627    clfs)
    628         echo "${tab_}Extracting commands for ${L_arrow}${BOLD}$ARCH${R_arrow} target architecture"
     628        echo -n "${tab_} ${L_arrow}${BOLD}$ARCH${R_arrow} target architecture"
    629629        xsltproc --xinclude \
    630630                 --nonet \
     
    633633      ;;
    634634    hlfs)
    635         echo "${tab_}Extracting commands for ${L_arrow}${BOLD}$MODEL${R_arrow} HLFS architecture"
     635        echo -n "${tab_} ${L_arrow}${BOLD}$MODEL${R_arrow} HLFS architecture"
    636636        xsltproc  --nonet \
    637637                  --xinclude \
    638638                  --stringparam model $MODEL \
    639639                  --stringparam testsuite $TEST \
     640                  --stringparam testchaintest 0 \
    640641                  --stringparam vim-lang $VIMLANG \
    641642                  -o ./${PROGNAME}-commands/ $XSL $BOOK/index.xml >>$LOGDIR/$LOG 2>&1
    642643      ;;
    643644    lfs)
    644         echo "${tab_}Extracting commands for ${L_arrow}${BOLD}LFS${R_arrow} build"
     645        echo -n "${tab_} ${L_arrow}${BOLD}LFS${R_arrow} build"
    645646        xsltproc --nonet \
    646647                 --xinclude \
     
    650651      ;;
    651652    blfs)
    652         echo "${tab_}Extracting commands for ${L_arrow}${BOLD}BLFS${R_arrow} build"
     653        echo -n "${tab_} ${L_arrow}${BOLD}BLFS${R_arrow} build"
    653654        xsltproc --nonet \
    654655                 --xinclude \
     
    660661  esac
    661662   
    662 
     663  echo " ...OK"
    663664
    664665  # Make the scripts executable.
     
    687688  esac
    688689 
    689 
    690690  # Done. Moving on...
    691   echo -ne "    ... done\n"
    692691  get_sources
    693692}
Note: See TracChangeset for help on using the changeset viewer.