diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-01 12:16:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-08-01 12:16:57 +0000 |
commit | e2838fbb50e831fbd102ad32fcfb8bd294372bac (patch) | |
tree | af8eef00086ffacec102562c0b9a6e964b5146ca /abuild.conf | |
parent | 11d9a7d6018fd13587259edd1030a608e9f85449 (diff) | |
download | abuild-e2838fbb50e831fbd102ad32fcfb8bd294372bac.tar.gz abuild-e2838fbb50e831fbd102ad32fcfb8bd294372bac.tar.bz2 abuild-e2838fbb50e831fbd102ad32fcfb8bd294372bac.tar.xz abuild-e2838fbb50e831fbd102ad32fcfb8bd294372bac.zip |
abuild: make it configurable what to cleanup and when
allow user specify if they want uninstall deps, remove srcdir and/or
pkgdir on failure or success.
We introduce CLEANUP and ERROR_CLEANUP config options in
/etc/abuild.conf. Valid values are: pkgdir srcdir deps.
Diffstat (limited to 'abuild.conf')
-rw-r--r-- | abuild.conf | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/abuild.conf b/abuild.conf index 6299b4d..1b8f4cd 100644 --- a/abuild.conf +++ b/abuild.conf @@ -28,8 +28,13 @@ SRCDEST=/var/cache/distfiles # uncomment line below to store built packages in other location # The package will be stored as $REPODEST/$repo/$pkgname-$pkgver-r$pkgrel.apk # where $repo is the name of the parent directory of $startdir. -#REPODEST=/var/lib/packages/ +REPODEST=$HOME/packages/ # PACKAGER is used to create new aports with 'newapkbuild ...' #PACKAGER="Your Name <your@email.address>" +# what to clean up after a successful build +CLEANUP="srcdir pkgdir deps" + +# what to cleanup after a failed build +ERROR_CLEANUP="deps" |