Changeset 08a4953 for HLFS


Ignore:
Timestamp:
08/30/2006 07:51:33 PM (18 years ago)
Author:
George Boudreau <georgeb@…>
Branches:
experimental
Children:
0cc18f7
Parents:
50fb011
Message:

corrections to HLFS code, makefile creation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • HLFS/master.sh

    r50fb011 r08a4953  
    1313#----------------------------#
    1414  local toolchain=$1
    15   local this_script=$2
     15  local this_file=$2
    1616  local tc_phase
    1717  local binutil_tarball
     
    1919  local TC_MountPT
    2020  local remove_existing
    21  
     21
    2222  tc_phase=`echo $toolchain | sed -e 's@[0-9]\{3\}-@@' -e 's@-toolchain@@'`
    2323  case $tc_phase in
     
    6262  case ${tc_phase} in
    6363    butterfly)
    64         [[ "$TEST" != "0" ]] && CHROOT_wrt_test_log "${this_script}"
    65         CHROOT_wrt_RunAsRoot "$toolchain" "$this_script"
     64        [[ "$TEST" != "0" ]] && CHROOT_wrt_test_log "${toolchain}"
     65        CHROOT_wrt_RunAsRoot "$this_file"
    6666      ;;
    67     *)  LUSER_wrt_RunAsUser "$toolchain" "$this_script"
     67    *)  LUSER_wrt_RunAsUser  "$this_file"
    6868      ;;
    6969  esac
     
    128128        fi;
    129129        @chown \$(LUSER) \$(MOUNT_PT)/tools && \\
     130        chown -R \$(LUSER) \$(MOUNT_PT)/\$(SCRIPT_ROOT) && \\
    130131        chown \$(LUSER) \$(MOUNT_PT)/sources && \\
    131132        touch \$@ && \\
     
    154155        chown \$(LUSER):\$(LGROUP) /home/\$(LUSER)/.bashrc && \\
    155156        touch envars && \\
     157        chown \$(LUSER) envars && \\
    156158        touch \$@ && \\
    157159        echo " "\$(BOLD)Target \$(BLUE)\$@ \$(BOLD)OK && \\
     
    554556  cat << EOF
    555557
    556 all:    mk_SETUP mk_LUSER mk_CHROOT mk_BOOT
     558all:    mk_SETUP mk_LUSER mk_CHROOT mk_BOOT do-housekeeping
    557559        @\$(call echo_finished,$VERSION)
    558560
     
    591593BOOT:   $chapter7
    592594
    593 
    594 
    595  
    596 all:  chapter3 chapter5 chapter6 chapter7 do-housekeeping
    597         @\$(call echo_finished,$VERSION)
    598 
    599 chapter3:  020-creatingtoolsdir 021-addinguser 022-settingenvironment
    600 
    601 chapter5:  chapter3 $chapter5 restore-luser-env
    602 
    603 chapter6:  chapter5 $chapter6
    604 
    605 chapter7:  chapter6 $chapter7
    606595
    607596clean-all:  clean
Note: See TracChangeset for help on using the changeset viewer.