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

Bug 261451

Summary: app-portage/esearch won't work in a prefixed environment
Product: Gentoo/Alt Reporter: Christian Faulhammer (RETIRED) <fauli>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: VERIFIED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for /usr/bin/esearch and /usr/sbin/eupdatedb

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.