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/process-install.xsl

    rfd4a798 r59c4761  
    196196
    197197echo Time after install: ${SECONDS} >> $INFOLOG
    198 echo Size after install: $(sudo du -skx --exclude home /) >> $INFOLOG
     198echo Size after install: $(sudo du -skx --exclude home $BUILD_DIR) >> $INFOLOG
    199199</xsl:text>
    200200              <xsl:if test="$root-seen">
     
    460460
    461461echo Time after make: ${SECONDS} >> $INFOLOG
    462 echo Size after make: $(sudo du -skx --exclude home /) >> $INFOLOG</xsl:text>
     462echo Size after make: $(sudo du -skx --exclude home $BUILD_DIR) >> $INFOLOG</xsl:text>
    463463    </xsl:if>
    464464  </xsl:template>
     
    507507
    508508echo Time after doc: ${SECONDS} >> $INFOLOG
    509 echo Size after doc: $(sudo du -skx --exclude home /) >> $INFOLOG</xsl:text>
     509echo Size after doc: $(sudo du -skx --exclude home $BUILD_DIR) >> $INFOLOG</xsl:text>
    510510    </xsl:if>
    511511  </xsl:template>
     
    517517
    518518echo Time after test: ${SECONDS} >> $INFOLOG
    519 echo Size after test: $(sudo du -skx --exclude home /) >> $INFOLOG</xsl:text>
     519echo Size after test: $(sudo du -skx --exclude home $BUILD_DIR) >> $INFOLOG</xsl:text>
    520520    </xsl:if>
    521521  </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.