Changeset f7d1386
- Timestamp:
- 07/04/2017 01:01:13 PM (7 years ago)
- Branches:
- 2.4
- Children:
- 3917eca
- Parents:
- 6a7c218
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Config.in
r6a7c218 rf7d1386 954 954 955 955 config REPORT 956 depends !PKGMNGT957 956 bool "Create SBU and disk usage report" 958 957 default y -
LFS/lfs.xsl
r6a7c218 rf7d1386 237 237 [[ -z $(ls $dir) ]] && rmdir -v $dir 238 238 done 239 PREV_SEC=${SECONDS} 239 240 packInstall 241 SECONDS=${PREV_SEC} 240 242 rm -rf $PKG_DEST 241 243 </xsl:text> … … 309 311 mode="pkgmngt"/> 310 312 <xsl:if test="$dirname = 'chapter06'"> 311 <xsl:text>packInstall 313 <xsl:text>PREV_SEC=${SECONDS} 314 packInstall 315 SECONDS=${PREV_SEC} 312 316 rm -rf $PKG_DEST 313 317 </xsl:text> … … 490 494 <xsl:copy-of select="substring-after(string(),'ZONEINFO=')"/> 491 495 <xsl:text> 496 PREV_SEC=${SECONDS} 492 497 packInstall 498 SECONDS=${PREV_SEC} 493 499 rm -rf $PKG_DEST 494 500 PKG_DEST=$OLD_PKG_DEST -
common/create-sbu_du-report.sh
r6a7c218 rf7d1386 122 122 # root dir, excluding the jhalfs directory (and lost+found). We assume 123 123 # that the rootdir is $LOGSDIR/../.. 124 DU1=`du -skx --exclude=jhalfs --exclude=lost+found $LOGSDIR/../.. | cut -f1`124 DU1=`du -skx --exclude=jhalfs --exclude=lost+found --exclude /var/lib $LOGSDIR/../.. | cut -f1` 125 125 DU1MB=`perl -e 'printf "%.3f" , ('$DU1' / '1024')';` 126 126 INSTALL=`perl -e 'print ('$DU1' - '$DU1PREV')';` -
common/libs/func_wrt_Makefile
r6a7c218 rf7d1386 40 40 LUSER_HOME = \$(LHOME)/\$(LUSER) 41 41 PRT_DU = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found \$(MOUNT_PT) \`\n" 42 PRT_DU_CR = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found / \`\n"42 PRT_DU_CR = echo -e "\nKB: \`du -skx --exclude=\$(SCRIPT_ROOT) --exclude=lost+found --exclude /var/lib / \`\n" 43 43 44 44 ADD_REPORT = $REPORT
Note:
See TracChangeset
for help on using the changeset viewer.