- Timestamp:
- 08/30/2006 07:51:33 PM (18 years ago)
- Branches:
- experimental
- Children:
- 0cc18f7
- Parents:
- 50fb011
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
HLFS/master.sh
r50fb011 r08a4953 13 13 #----------------------------# 14 14 local toolchain=$1 15 local this_ script=$215 local this_file=$2 16 16 local tc_phase 17 17 local binutil_tarball … … 19 19 local TC_MountPT 20 20 local remove_existing 21 21 22 22 tc_phase=`echo $toolchain | sed -e 's@[0-9]\{3\}-@@' -e 's@-toolchain@@'` 23 23 case $tc_phase in … … 62 62 case ${tc_phase} in 63 63 butterfly) 64 [[ "$TEST" != "0" ]] && CHROOT_wrt_test_log "${t his_script}"65 CHROOT_wrt_RunAsRoot "$t oolchain" "$this_script"64 [[ "$TEST" != "0" ]] && CHROOT_wrt_test_log "${toolchain}" 65 CHROOT_wrt_RunAsRoot "$this_file" 66 66 ;; 67 *) LUSER_wrt_RunAsUser "$toolchain" "$this_script"67 *) LUSER_wrt_RunAsUser "$this_file" 68 68 ;; 69 69 esac … … 128 128 fi; 129 129 @chown \$(LUSER) \$(MOUNT_PT)/tools && \\ 130 chown -R \$(LUSER) \$(MOUNT_PT)/\$(SCRIPT_ROOT) && \\ 130 131 chown \$(LUSER) \$(MOUNT_PT)/sources && \\ 131 132 touch \$@ && \\ … … 154 155 chown \$(LUSER):\$(LGROUP) /home/\$(LUSER)/.bashrc && \\ 155 156 touch envars && \\ 157 chown \$(LUSER) envars && \\ 156 158 touch \$@ && \\ 157 159 echo " "\$(BOLD)Target \$(BLUE)\$@ \$(BOLD)OK && \\ … … 554 556 cat << EOF 555 557 556 all: mk_SETUP mk_LUSER mk_CHROOT mk_BOOT 558 all: mk_SETUP mk_LUSER mk_CHROOT mk_BOOT do-housekeeping 557 559 @\$(call echo_finished,$VERSION) 558 560 … … 591 593 BOOT: $chapter7 592 594 593 594 595 596 all: chapter3 chapter5 chapter6 chapter7 do-housekeeping597 @\$(call echo_finished,$VERSION)598 599 chapter3: 020-creatingtoolsdir 021-addinguser 022-settingenvironment600 601 chapter5: chapter3 $chapter5 restore-luser-env602 603 chapter6: chapter5 $chapter6604 605 chapter7: chapter6 $chapter7606 595 607 596 clean-all: clean
Note:
See TracChangeset
for help on using the changeset viewer.