1 |
>>>>> On Sun, 27 Dec 2015, Michał Górny wrote: |
2 |
|
3 |
> --- |
4 |
> bin/phase-functions.sh | 9 +++++++++ |
5 |
> 1 file changed, 9 insertions(+) |
6 |
|
7 |
> diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh |
8 |
> index 0b853bf..6a47fed 100644 |
9 |
> --- a/bin/phase-functions.sh |
10 |
> +++ b/bin/phase-functions.sh |
11 |
> @@ -593,6 +593,15 @@ __dyn_install() { |
12 |
> __vecho |
13 |
> __ebuild_phase post_src_install |
14 |
|
15 |
> + # record build & installed size in build log |
16 |
> + if type -P du &>/dev/null; then |
17 |
> + local sz=( $(du -ks "${WORKDIR}") ) |
18 |
> + einfo "Final size of build directory: ${sz[0]} KiB" |
19 |
> + sz=( $(du -ks "${D}") ) |
20 |
> + einfo "Final size of installed tree: ${sz[0]} KiB" |
21 |
> + __vecho |
22 |
> + fi |
23 |
> + |
24 |
> cd "${PORTAGE_BUILDDIR}"/build-info |
25 |
> set -f |
26 |
> local f x |
27 |
> -- |
28 |
> 2.6.4 |
29 |
|
30 |
Will this be called before or after prepcompress? |
31 |
|
32 |
Ulrich |