Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319563 - Fix portage.db["/"] calls in gentoolkit
Summary: Fix portage.db["/"] calls in gentoolkit
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 237964
  Show dependency tree
 
Reported: 2010-05-13 16:07 UTC by Paul Varner (RETIRED)
Modified: 2010-11-22 21:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Varner (RETIRED) gentoo-dev 2010-05-13 16:07:57 UTC
From the chromium-os guys:

Subject: Re: [cros-dev] equery-<board> woes

On Tue, May 11, 2010 at 04:10:08PM -0700, kobic wrote:
> > On Tue, May 11, 2010 at 3:20 PM,  <kobic> wrote:
> > I'm not a gentoo guy, but looking at
> > /usr/lib64/gentoolkit/pym/gentoolkit/helpers.py, it certainly looks
> > broken. The portage db root is hardcoded to "/" instead of just using
> > portage.root.
> >
> > Replacing portage.db["/"] with portage.db[portage.root] fixes the
> > problem here. It certainly seems more correct to use the configured
> > portage root as the root instead of just using "/".
> 
> Thx David. Do you guys have a way to communicate that back to gentoo folks?

Fix is included in svn rev 782.

$ svn commit -m "Replace portage.db["/"] with portage.db[portage.root] so that root is not hardcoded"
Sending        gentoolkit/bin/glsa-check
Sending        gentoolkit/pym/gentoolkit/deprecated/helpers.py
Sending        gentoolkit/pym/gentoolkit/glsa/__init__.py
Transmitting file data ...
Committed revision 782.
Comment 1 Paul Varner (RETIRED) gentoo-dev 2010-11-22 21:52:23 UTC
Released in gentoolkit-0.3.0_rc11