summaryrefslogtreecommitdiff
path: root/chcleanup
AgeCommit message (Collapse)Author
2012-11-06Default DRYRUN to falseNicolás Reynolds
2012-11-05Added DRYRUN mode and use libretools.confNicolás Reynolds
2012-11-05Be even smarterNicolás Reynolds
Only use one pacman call by getting repo.db files from the local cache. Adds a new libretools.conf array for getting extra packages (other than the base system): CHROOTEXTRAPKGS.
2012-10-17fix printfNicolás Reynolds
2012-10-17Don't fail if depends are emptyNicolás Reynolds
2012-10-01Correctly set CARCHNicolás Reynolds
2012-09-22Remove temp fileNicolás Reynolds
2012-09-22Deprecate clean-pacman in favor of smart chcleanupNicolás Reynolds
Chcleanup compares the currently installed packages with a clean system list of packages + the package dependencies and removes the leftovers. Treepkg runs it as pre-build hook, so FULLBUILDCMD finds only the needed dependencies.
2012-04-08Use system clean fileNicolás Reynolds
2012-02-24Informe removed packagesNicolas Reynolds
2012-02-05Use libretools' cleansystemNicolas Reynolds
2011-09-07My build environmentNicolas Reynolds
I run buildenv from my current user to bind mount all the needed files on the clean chroot. It's like having the current user home and makepkg.conf under a clean environment. PKGBUILD edition is done outside the chroot. Chcleanup is the script to cleanup the installed packages, used by the mipsrelease hook to return the chroot to a clean state. The user is called 'abs', PKGDEST is /home/pkgdest and SRCDEST /home/srcdest. On libretools.conf: FULLBUILDCMD="sudo libremakepkg -cumL -M --noconfirm -M"