Ignore:
Timestamp:
11/01/2021 12:18:09 PM (3 years ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
ablfs-more, legacy, trunk
Children:
610a5c4
Parents:
fd4a798
git-author:
Pierre Labastie <pierre.labastie@…> (11/01/2021 12:12:11 PM)
git-committer:
Pierre Labastie <pierre.labastie@…> (11/01/2021 12:18:09 PM)
Message:

Display the size of $BUILD_DIR for stats

Displaying the size of /, but excluding other filesystems is not
good if BUILD_DIR is on another filesystem. Furthermore, when
doing stats, the DESTDIR is inside $BUILD_DIR, so the full size is
recorded. The only thing that is not recorded is if the
build system downloads files to the user's home (cargo, maven, ...).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/scripts.xsl

    rfd4a798 r59c4761  
    201201        <xsl:if test="$want-stats">
    202202          <xsl:text>
    203 echo Start Size: $(sudo du -skx --exclude home /) >> $INFOLOG
     203echo Start Size: $(sudo du -skx --exclude home $BUILD_DIR) >> $INFOLOG
    204204</xsl:text>
    205205        </xsl:if>
     
    676676
    677677echo Time after make: ${SECONDS} >> $INFOLOG
    678 echo Size after make: $(sudo du -skx --exclude home /) >> $INFOLOG
     678echo Size after make: $(sudo du -skx --exclude home $BUILD_DIR) >> $INFOLOG
    679679echo Time before test: ${SECONDS} >> $INFOLOG
    680680
     
    708708
    709709echo Time after test: ${SECONDS} >> $INFOLOG
    710 echo Size after test: $(sudo du -skx --exclude home /) >> $INFOLOG
     710echo Size after test: $(sudo du -skx --exclude home $BUILD_DIR) >> $INFOLOG
    711711echo Time before install: ${SECONDS} >> $INFOLOG
    712712</xsl:text>
     
    790790
    791791echo Time after install: ${SECONDS} >> $INFOLOG
    792 echo Size after install: $(sudo du -skx --exclude home /) >> $INFOLOG
     792echo Size after install: $(sudo du -skx --exclude home $BUILD_DIR) >> $INFOLOG
    793793</xsl:text>
    794794  </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.