Bug #16
[librechroot] cleaning should take of build dependencies
Status:
fixed
Priority:
feature
Category:
-
Assignee:
% Done:
100%
Description
Currently we run `makepkg -s` on the build chroot to solve dependencies and run `chcleanup` to remove any package that was left out after building. But when you package with `treepkg` many packages share the same build dependencies, that get installed and uninstalled over and over.
Treepkg should manage build dependencies in a way that installs build dependencies for a PKGBUILD while removing not needed.
Related issues
History
Updated by xihh almost 12 years ago
This should be implemented on librechroot. There should be an option for adding a PKGBUILD's deps on $chrootdir/cleansystem.
I'm changing the title to reflect that.
Updated by fauno over 11 years ago
Added it to `chcleanup` and is run as a hook by `treepkg`. It's on the "smart-cleanup" branch of libretools.git