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

Bug 114926

Summary: fdo-mime update the host mime db in /, not in $ROOT/
Product: Gentoo Linux Reporter: Philippe Troin <phil>
Component: EclassesAssignee: foser (RETIRED) <foser>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for fdo-mime.

Description Philippe Troin 2005-12-08 15:43:52 UTC
"ROOT=/some/dir emerge -1 shared-mime-info" will update the mime db under /, not
under /some/dir.


Reproducible: Always
Steps to Reproduce:
Comment 1 Philippe Troin 2005-12-08 15:44:50 UTC
Created attachment 74353 [details, diff]
Patch for fdo-mime.

The problem comes from partial support for $ROOT in fdo-mime.eclass.
Patch enclosed.
Comment 2 foser (RETIRED) gentoo-dev 2006-03-10 09:10:08 UTC
correct. We probably also want to make sure we actually use the update-* bins in ${ROOT}.
Comment 3 foser (RETIRED) gentoo-dev 2006-06-20 05:19:55 UTC
My apologies for the delay. Fixed the eclass after some local testing, please test.

Thanks for the report.