Summary: | emerge / portage does not use PORTDIR path in message about updating profile. | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Thomas Raschbacher <lordvan> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 456888 |
Description
Thomas Raschbacher
2008-07-21 07:33:35 UTC
Well portage just echoes whatever the content of the "deprecated" file in the profile happens to be. I suppose we could just replace /usr/portage with your $PORTDIR, but that seems a bit ugly. Maybe it would be a little nicer if we supported variable expansion, so that instances of ${PORTDIR} in deprecated message would expand to whatever the current PORTDIR setting is. Is it unreasonable to expect that someone using a custom ${PORTDIR} would be smart enough to know how to switch their profile already? That message is just there for the completely clueless. of course it is reasonable to expect that i'm just pointing out that the message is only correct for default install. alternatively the message could just say something that on default installs it's like that ^_^ Nowadays, people use eselect profile. Latest portage will display the command to run: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=2df35bf46b7fa144272e37d055825f70b46eb0ce |