Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453006 - profile.eselect should set symlink in $PORTAGE_CONFIGROOT/etc/portage/
Summary: profile.eselect should set symlink in $PORTAGE_CONFIGROOT/etc/portage/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: eselect (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Gentoo eselect Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2013-01-19 16:33 UTC by Hristo Venev
Modified: 2013-06-22 16:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for profile.eselect (profile.eselect.diff,433 bytes, patch)
2013-01-27 18:51 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hristo Venev 2013-01-19 16:33:13 UTC
It puts the symlink in $ROOT/etc/portage/ instead of in $PORTAGE_CONFIGROOT/etc/portage/

Reproducible: Always
Comment 1 Ulrich Müller gentoo-dev 2013-01-19 18:31:00 UTC
Portage team, what is the right thing to do? So far, the module uses ${EROOT}. Should it switch to ${PORTAGE_CONFIGROOT} or $(portageq envvar PORTAGE_CONFIGROOT)? Is an additional ${EPREFIX} needed to accomodate Prefix?

Please advise.
Comment 2 Zac Medico gentoo-dev 2013-01-19 18:44:38 UTC
$(portageq envvar PORTAGE_CONFIGROOT) is good.

The default PORTAGE_CONFIGROOT value is equal to ${EPREFIX%/}/. Portage searchs ${PORTAGE_CONFIGROOT}/etc/portage/ for make.profile and stuff.
Comment 3 Ulrich Müller gentoo-dev 2013-01-27 18:51:14 UTC
Created attachment 337044 [details, diff]
Patch for profile.eselect

Please test if attached patch is enough for fixing it.
Comment 4 Ulrich Müller gentoo-dev 2013-02-21 07:54:08 UTC
(In reply to comment #3)
> Created attachment 337044 [details, diff] [details, diff]
> Patch for profile.eselect
> 
> Please test if attached patch is enough for fixing it.

Please test, otherwise the patch cannot be included in the next release.
Comment 5 Hristo Venev 2013-02-22 16:10:30 UTC
Works.
Comment 6 Ulrich Müller gentoo-dev 2013-02-22 22:26:35 UTC
Thanks for testing. Committed to git:
http://git.overlays.gentoo.org/gitweb/?p=proj/eselect.git;a=commit;h=08510d6b16fac8724371c87e788327c2a8418bac
Comment 7 Ulrich Müller gentoo-dev 2013-06-22 16:02:01 UTC
This is in eselect-1.3.5.
Thanks again.