- Timestamp:
- 12/05/2006 03:25:00 PM (18 years ago)
- Branches:
- 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
- Children:
- 2512414
- Parents:
- 6bb080e
- Location:
- common
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
r6bb080e r10c8b78 56 56 # Clean the build directory 57 57 echo -n "Cleaning $BUILDDIR ..." 58 sudo rm -rf $BUILDDIR/{bin,boot, dev,etc,home,lib,media,mnt,opt,proc,root,sbin,srv,sys,tmp,tools,cross-tools,usr,var}58 sudo rm -rf $BUILDDIR/{bin,boot,etc,home,lib,media,mnt,opt,root,sbin,srv,tmp,tools,cross-tools,usr,var} 59 59 echo "done" 60 60 echo -n "Cleaning $JHALFSDIR ..." -
common/create-sbu_du-report.sh
r6bb080e r10c8b78 20 20 # If there is iteration logs directories, copy the logs inside iteration-1 21 21 # to the top level dir 22 [[ -d "$LOGSDIR"/ iteration-1 ]] && \23 cp $LOGSDIR/ iteration-1/* $LOGSDIR22 [[ -d "$LOGSDIR"/build_1 ]] && \ 23 cp $LOGSDIR/build_1/* $LOGSDIR 24 24 25 25 # Set the report file -
common/libs/func_compare.sh
r6bb080e r10c8b78 14 14 CHROOT_wrt_target "$ITERATION" "$PREV" 15 15 wrt_compare_work "$ITERATION" "$PREV_IT" 16 wrt_logs "$N" 16 17 wrt_touch 17 18 PREV_IT=$ITERATION … … 47 48 fi 48 49 fi 49 50 echo -e "\nsystem_build_$RUN: $PREV_IT $system_build" >> $MKFILE.tmp51 50 } 52 51 … … 107 106 echo -e "\t@extras/farce --directory $OUTPUT $PREDIR $PREFILE $ITEDIR $ITEFILE >>logs/\$@ 2>&1" >> $MKFILE.tmp 108 107 } 108 109 #----------------------------------# 110 wrt_logs() { # 111 #----------------------------------# 112 local build=build_$1 113 local file 114 115 ( 116 cat << EOF 117 @cd logs && \\ 118 mkdir $build && \\ 119 mv -f ${system_build} $build && \\ 120 if [ ! $build = build_1 ] ; then \\ 121 cd $build && \\ 122 for file in \`ls .\` ; do \\ 123 mv -f \$\$file \`echo \$\$file | sed -e 's,-$build,,'\` ; \\ 124 done ; \\ 125 fi ; 126 @cd /\$(SCRIPT_ROOT) 127 @if [ -d test-logs ] ; then \\ 128 cd test-logs && \\ 129 mkdir $build && \\ 130 mv -f ${system_build} $build && \\ 131 if [ ! $build = build_1 ] ; then \\ 132 cd $build && \\ 133 for file in \`ls .\` ; do \\ 134 mv -f \$\$file \`echo \$\$file | sed -e 's,-$build,,'\` ; \\ 135 done ; \\ 136 fi ; \\ 137 cd /\$(SCRIPT_ROOT) ; \\ 138 fi ; 139 EOF 140 ) >> $MKFILE.tmp 141 } -
common/libs/func_wrt_Makefile
r6bb080e r10c8b78 187 187 cat << EOF 188 188 @echo "export TEST_LOG=\$(TESTLOGDIR)/$TESTLOGFILE" >> envars && \\ 189 echo '\$(nl_)\`date\`\$(nl_)'>\$(TESTLOGDIR)/\$@189 echo "\$(nl_)\`date\`\$(nl_)" >\$(TESTLOGDIR)/\$@ 190 190 EOF 191 191 ) >> $MKFILE.tmp
Note:
See TracChangeset
for help on using the changeset viewer.