Changeset e2ef100
- Timestamp:
- 06/09/2006 11:05:39 PM (18 years ago)
- Branches:
- 1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 4a444f1
- Parents:
- aed6c72
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
raed6c72 re2ef100 24 24 rm -f /tools && \\ 25 25 ln -s \$(MOUNT_PT)/tools / && \\ 26 touch \$@ 26 touch \$@ && \\ 27 echo " "\$(BOLD)Target \$(BLUE)\$@ \$(BOLD)OK\$(WHITE) && \\ 28 echo -------------------------------------------------------------------------------- 27 29 28 30 021-addinguser: 020-creatingtoolsdir … … 36 38 @chown lfs \$(MOUNT_PT)/tools && \\ 37 39 chmod a+wt \$(MOUNT_PT)/sources && \\ 38 touch \$@ 40 touch \$@ && \\ 41 echo " "\$(BOLD)Target \$(BLUE)\$@ \$(BOLD)OK\$(WHITE) && \\ 42 echo -------------------------------------------------------------------------------- 39 43 40 44 022-settingenvironment: 021-addinguser … … 55 59 chown lfs:lfs /home/lfs/.bashrc && \\ 56 60 touch envars && \\ 57 touch \$@ 61 touch \$@ && \\ 62 echo " "\$(BOLD)Target \$(BLUE)\$@ \$(BOLD)OK\$(WHITE) && \\ 63 echo -------------------------------------------------------------------------------- 58 64 EOF 59 65 ) >> $MKFILE.tmp … … 135 141 # Include a touch of the target name so make can check 136 142 # if it's already been made. 137 echo -e '\t@touch $@' >> $MKFILE.tmp143 wrt_touch 138 144 # 139 145 #--------------------------------------------------------------------# … … 247 253 # Include a touch of the target name so make can check 248 254 # if it's already been made. 249 echo -e '\t@touch $@' >> $MKFILE.tmp255 wrt_touch 250 256 # 251 257 #--------------------------------------------------------------------# … … 329 335 # Include a touch of the target name so make can check 330 336 # if it's already been made. 331 echo -e '\t@touch $@' >> $MKFILE.tmp337 wrt_touch 332 338 # 333 339 #--------------------------------------------------------------------# … … 447 453 fi; 448 454 @chown lfs:lfs /home/lfs/.bash* && \\ 449 touch \$@ 455 touch \$@ && \\ 456 echo " "\$(BOLD)Target \$(BLUE)\$@ \$(BOLD)OK\$(WHITE) && \\ 457 echo -------------------------------------------------------------------------------- 450 458 451 459 do_housekeeping: -
common/common-functions
raed6c72 re2ef100 460 460 rm -r \$(SRC)/$name-build; \\ 461 461 fi; 462 EOF 463 ) >> $MKFILE.tmp 464 } 465 466 467 #----------------------------------# 468 wrt_touch() { # 469 #----------------------------------# 470 ( 471 cat << EOF 472 @touch \$@ && \\ 473 sleep .25 && \\ 474 echo -e "\n "\$(BOLD)Target \$(BLUE)\$@ \$(BOLD)OK\$(WHITE) && \\ 475 echo -------------------------------------------------------------------------------- 462 476 EOF 463 477 ) >> $MKFILE.tmp -
common/makefile-functions
raed6c72 re2ef100 8 8 BLUE= "[1;34m" 9 9 WHITE= "[00m" 10 CURSOR_ON= "[?25h"11 10 12 11 define echo_message … … 14 13 @echo -------------------------------------------------------------------------------- 15 14 @echo $(BOLD)$(1) target $(BLUE)$@$(BOLD) 16 @echo --------------------------------------------------------------------------------$(WHITE)15 @echo $(WHITE) 17 16 endef 18 17 … … 74 73 @echo $(BOLD) 75 74 @echo -------------------------------------------------------------------------------- 76 @echo -e \\t\\t$(GREEN)Have a nice day $(ORANGE):-\)$(BOLD) $(CURSOR_ON)75 @echo -e \\t\\t$(GREEN)Have a nice day $(ORANGE):-\)$(BOLD) 77 76 @echo --------------------------------------------------------------------------------$(WHITE) 78 77 endef … … 99 98 @echo The build process should resume. Follow any instructions that appear. 100 99 @echo -------------------------------------------------------------------------------- 101 @echo -e \\t\\t$(GREEN)Have a nice day $(ORANGE):-\)$(BOLD) $(CURSOR_ON)100 @echo -e \\t\\t$(GREEN)Have a nice day $(ORANGE):-\)$(BOLD) 102 101 @echo --------------------------------------------------------------------------------$(WHITE) 103 102 endef -
common/progress_bar.sh
raed6c72 re2ef100 28 28 echo -n "${CURSOR_ON}" && exit 29 29 fi 30 # Target build complete, leave. If we are here, make is alive and a new 31 # package target may has been started. Close this instance of the script. 32 # The cursor will be restored by echo-finished in makefile-functions. 33 [[ -f ${TARGET} ]] && exit 30 # Target build complete, leave. 31 [[ -f ${TARGET} ]] && echo -n "${CURSOR_ON}" && exit 34 32 # It is safe to write to the screen 35 33 echo -n "$1" … … 43 41 for GRAPHIC_CHAR in ${GRAPHIC_STR} ; do 44 42 write_or_exit "${CSI}${POS}G${GRAPHIC_CHAR}" 45 sleep .2 43 # Compensate code execution time (need verification on other machines) 44 sleep .137 46 45 done 47 46 # Display the accumulated time.
Note:
See TracChangeset
for help on using the changeset viewer.