Summary: | app-portage/ufed-0.91 does not support /etc/portage/package.use/ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Väth <martin> |
Component: | Current packages | Assignee: | Sven Eden <sven.eden> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fuzzyray, proxy-maint, rose |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to treat dirs as files _noncomments |
Thank you very much for the fix. I currently have no classic files as directories, but the live version should now be able to use those (like package.use) as directories. *** Bug 527092 has been marked as a duplicate of this bug. *** Fixed in ufed-0.92 |
Created attachment 386958 [details, diff] Patch to treat dirs as files _noncomments When /etc/portage/package.use is a directory, ufed-0.91 (and current live version) ignores the content of that directory, actually even printing an warning message about an undefined values used in concatenation. The fix is simple: For directories, simply use _get_files_from_dir and concatenate all found files. In order to fix similar possible issues with other files/dirs as well, I think it is simplest to do this in the function _noncomments. A corresponding patch is appended.