>>>>> On Sun, 27 Dec 2015, Michał Górny wrote: > --- > bin/phase-functions.sh | 9 +++++++++ > 1 file changed, 9 insertions(+)
> diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh > index 0b853bf..6a47fed 100644 > --- a/bin/phase-functions.sh > +++ b/bin/phase-functions.sh > @@ -593,6 +593,15 @@ __dyn_install() { > __vecho > __ebuild_phase post_src_install > + # record build & installed size in build log > + if type -P du &>/dev/null; then > + local sz=( $(du -ks "${WORKDIR}") ) > + einfo "Final size of build directory: ${sz[0]} KiB" > + sz=( $(du -ks "${D}") ) > + einfo "Final size of installed tree: ${sz[0]} KiB" > + __vecho > + fi > + > cd "${PORTAGE_BUILDDIR}"/build-info > set -f > local f x > -- > 2.6.4 Will this be called before or after prepcompress? Ulrich
pgpcKy53y1gSh.pgp
Description: PGP signature