Summary: | app-portage/gentoolkit: eclean does not rm symlinks | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Joakim Tjernlund <joakim.tjernlund> |
Component: | Current packages | Assignee: | Portage Tools Team <tools-portage> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Simple symlink rm patch |
Description
Joakim Tjernlund
2017-10-24 12:50:14 UTC
Extending _isreg_check(in search.py) with LNK test seems to do the trick: def _isreg_check_(file_stat, file): """check if file is a regular file.""" is_reg_file = stat.S_ISREG(file_stat[stat.ST_MODE]) is_lnk_file = stat.S_ISLNK(file_stat[stat.ST_MODE]) return not (is_reg_file or is_lnk_file), is_reg_file or is_lnk_file Ping? Sorry, I've been really busy, not had much time for any bugs. Thanks, I will try to get it applied soon. ping ? gentle ping ? ... ping ... Same answer as last time... super busy, I don't have much time at all and way behind on other partially finished things. If you can please have a look at the code, make a patch, submit it. One of us will make the time to review/test it. Created attachment 634346 [details, diff]
Simple symlink rm patch
This is my hack to get the jobs done.
I don't really do python so this is the best I can do.
|