Changeset 7eb9402


Ignore:
Timestamp:
07/04/2006 02:02:48 AM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
7d1f862
Parents:
483ab89
Message:

The never ending story of cleaning up CLFS scripts..

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLFS/master.sh

    r483ab89 r7eb9402  
    443443    # Drop in the name of the target on a new line, and the previous target
    444444    # as a dependency. Also call the echo_message function.
    445     wrt_target "${this_script}" "$PREV"
     445    wrt_target_boot "${this_script}" "$PREV"
    446446    #
    447447    wrt_unpack3 "$pkg_tarball"
     
    648648    # Drop in the name of the target on a new line, and the previous target
    649649    # as a dependency. Also call the echo_message function.
    650     wrt_target "${this_script}${N}" "$PREV"
     650    wrt_target_boot "${this_script}${N}" "$PREV"
    651651
    652652    # If $pkg_tarball isn't empty, we've got a package...
     
    786786    # Drop in the name of the target on a new line, and the previous target
    787787    # as a dependency. Also call the echo_message function.
    788     wrt_target "${this_script}" "$PREV"
     788    wrt_target_boot "${this_script}" "$PREV"
    789789    #
    790790    # If $pkg_tarball isn't empty, we've got a package...
     
    927927    # Drop in the name of the target on a new line, and the previous target
    928928    # as a dependency. Also call the echo_message function.
    929     wrt_target "${this_script}" "$PREV"
     929    wrt_target_boot "${this_script}" "$PREV"
    930930    #
    931931    # If $pkg_tarball isn't empty, we've got a package...
  • common/common-functions

    r483ab89 r7eb9402  
    204204        @./progress_bar.sh \$@ &
    205205        @echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=${SCRIPT_ROOT} \$(MOUNT_PT)\`\n" >logs/$LOGFILE
     206EOF
     207) >> $MKFILE.tmp
     208}
     209
     210
     211#----------------------------------#
     212wrt_target_boot() {                # Create target and initialize log file
     213#----------------------------------#
     214  local i=$1
     215  local PREV=$2
     216  case $i in
     217    iteration* ) local LOGFILE=$this_script.log ;;
     218             * ) local LOGFILE=$this_script ;;
     219  esac
     220(
     221cat << EOF
     222
     223$i:  $PREV
     224        @\$(call echo_message, Building)
     225        @./progress_bar.sh \$@ &
     226        @echo -e "\n\`date\`\n\nKB: \`du -skx --exclude=${SCRIPT_ROOT}\`\n" >logs/$LOGFILE
    206227EOF
    207228) >> $MKFILE.tmp
Note: See TracChangeset for help on using the changeset viewer.