Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 440420

Summary: app-portage/portage-utils-0.10: some elog messages should only be shown for the first install.
Product: Portage Development Reporter: poletti.marco
Component: ToolsAssignee: Portage Utils Team <portage-utils>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 440214    

Description poletti.marco 2012-10-31 10:58:35 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package app-portage/portage-utils-0.10, the following elog messages are displayed:

 * /etc/portage/postsync.d/q-reinitialize has been installed for convenience
 * If you wish for it to be automatically run at the end of every --sync:
 *    # chmod +x /etc/portage/postsync.d/q-reinitialize
 * Normally this should only take a few seconds to run but file systems
 * such as ext3 can take a lot longer.  To disable, simply do:
 *    # chmod -x /etc/portage/postsync.d/q-reinitialize

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'app-portage/portage-utils'; then

See the tracker bug 440214 for more details.
Comment 1 SpanKY gentoo-dev 2013-04-29 05:39:55 UTC
should be all set now in the tree; thanks for the report!

Commit message: Show init messages on first install only
http://sources.gentoo.org/app-portage/portage-utils/portage-utils-0.21.ebuild?r1=1.3&r2=1.4