Changeset 9bbb9c8
- Timestamp:
- 07/04/2017 12:19:46 PM (7 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- d0e13dd
- Parents:
- 322226d
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Config.in
r322226d r9bbb9c8 1071 1071 1072 1072 config REPORT 1073 depends !PKGMNGT1074 1073 bool "Create SBU and disk usage report" 1075 1074 default y -
LFS/lfs.xsl
r322226d r9bbb9c8 260 260 </xsl:if> 261 261 <xsl:text>' 262 PREV_SEC=${SECONDS} 262 263 packInstall 264 SECONDS=${PREV_SEC} 263 265 </xsl:text> 264 266 </xsl:when> … … 298 300 [[ -z $(ls $dir) ]] && rmdir -v $dir 299 301 done 302 PREV_SEC=${SECONDS} 300 303 packInstall 304 SECONDS=${PREV_SEC} 301 305 rm -rf $PKG_DEST 302 306 </xsl:text> … … 372 376 mode="pkgmngt"/> 373 377 <xsl:if test="$dirname = 'chapter06'"> 374 <xsl:text>packInstall 378 <xsl:text>PREV_SEC=${SECONDS} 379 packInstall 380 SECONDS=${PREV_SEC} 375 381 rm -rf "$PKG_DEST" 376 382 </xsl:text> … … 574 580 <xsl:copy-of select="substring-after(string(),'ZONEINFO=')"/> 575 581 <xsl:text> 582 PREV_SEC=${SECONDS} 576 583 packInstall 584 SECONDS=${PREV_SEC} 577 585 rm -rf $PKG_DEST 578 586 </xsl:text> … … 585 593 <xsl:copy-of select="substring-after(string(),'ZONEINFO=')"/> 586 594 <xsl:text>' 595 PREV_SEC=${SECONDS} 587 596 packInstall 597 SECONDS=${PREV_SEC} 588 598 </xsl:text> 589 599 </xsl:otherwise> -
common/create-sbu_du-report.sh
r322226d r9bbb9c8 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
r322226d r9bbb9c8 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.