Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 433904 Details for
Bug 582718
sys-apps/portage-2.2.28 reports incorrect installed packages size (patch included)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch to compute actual installed size.
portage_install_size.diff (text/plain), 1.30 KB, created by
Jocelyn Mayer
on 2016-05-11 06:20:58 UTC
(
hide
)
Description:
Proposed patch to compute actual installed size.
Filename:
MIME Type:
Creator:
Jocelyn Mayer
Created:
2016-05-11 06:20:58 UTC
Size:
1.30 KB
patch
obsolete
>--- /usr/lib64/portage/python3.4/phase-functions.sh.orig 2016-05-11 08:11:09.512896879 +0200 >+++ /usr/lib64/portage/python3.4/phase-functions.sh 2016-05-11 08:13:50.905804449 +0200 >@@ -593,15 +593,6 @@ > __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 >--- /usr/lib64/portage/python3.4/misc-functions.sh.orig 2016-05-11 08:14:14.300110291 +0200 >+++ /usr/lib64/portage/python3.4/misc-functions.sh 2016-05-11 08:14:23.124980108 +0200 >@@ -224,6 +224,15 @@ > ecompressdir --dequeue > ecompress --dequeue > >+ # 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 >+ > # Create NEEDED.ELF.2 regardless of RESTRICT=binchecks, since this info is > # too useful not to have (it's required for things like preserve-libs), and > # it's tempting for ebuild authors to set RESTRICT=binchecks for packages
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 582718
: 433904