pkgctl: add functionality to clear chroots
When you are building a lot /var/lib/archbuild/
grows in size and can take up to 50+ GB. While it is easy to run sudo rm -rf /var/lib/archbuild/*
I think it would be better if pkgctl
would have some way of clearing them.
That way if the directory where the chroots reside ever changes it should still work without having to update an rm
command.