Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671592 - app-portage/gentoolkit: eclean packages should remove empty directories
Summary: app-portage/gentoolkit: eclean packages should remove empty directories
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-20 21:08 UTC by Matt Turner
Modified: 2019-12-05 16:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2018-11-20 21:08:05 UTC
With FEATURES="buildpkg binpkg-multi-instance ...". app-eselect/eselect-mesa was tree cleaned, and 'eclean packages' removed all binpkgs, but it left an empty directory in place:

server /var/portage/packages/broadwell # ls app-eselect/eselect-mesa/
server /var/portage/packages/broadwell # 

eclean packages should remove empty directories resulting from all binpkgs being removed.
Comment 1 Larry the Git Cow gentoo-dev 2019-12-05 16:51:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=3f25e307ba5116892beb48fec2809500882dcf4f

commit 3f25e307ba5116892beb48fec2809500882dcf4f
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2019-12-02 22:15:14 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2019-12-05 02:23:20 +0000

    eclean: Delete empty directories
    
    Closes: https://bugs.gentoo.org/671592
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 pym/gentoolkit/eclean/clean.py | 4 ++++
 1 file changed, 4 insertions(+)