Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261451 - app-portage/esearch won't work in a prefixed environment
Summary: app-portage/esearch won't work in a prefixed environment
Status: VERIFIED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-06 13:31 UTC by Christian Faulhammer (RETIRED)
Modified: 2009-03-07 14:29 UTC (History)
0 users

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


Attachments
Patch for /usr/bin/esearch and /usr/sbin/eupdatedb (esearch.patch,1.20 KB, patch)
2009-03-06 13:32 UTC, Christian Faulhammer (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Faulhammer (RETIRED) gentoo-dev 2009-03-06 13:31:32 UTC
Above program looks in /var/cache/edb without EPREFIX in front for its database.  A patch to follow, which is not very nice as my Python is more or less bad.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2009-03-06 13:32:30 UTC
Created attachment 184136 [details, diff]
Patch for /usr/bin/esearch and /usr/sbin/eupdatedb

Should that be integrated into the official tree?
Comment 2 Fabian Groffen gentoo-dev 2009-03-07 12:53:27 UTC
I created a slightly different patch that retrieves EPREFIX from portage, hence it isn't applicable for mainstream (unless it's heavily try/catched).
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2009-03-07 14:29:20 UTC
Thanks.