diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-01 09:14:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-11-01 09:14:13 +0000 |
commit | ef0d32d15a76e19d77554e89cb677e62d7c49032 (patch) | |
tree | 4b39c13bb302b304e31d7aa69b254771be4e8ed6 /abuild.in | |
parent | a0d3624b05e6dd94bd14324424a6e686c10879ca (diff) | |
download | abuild-ef0d32d15a76e19d77554e89cb677e62d7c49032.tar.gz abuild-ef0d32d15a76e19d77554e89cb677e62d7c49032.tar.bz2 abuild-ef0d32d15a76e19d77554e89cb677e62d7c49032.tar.xz abuild-ef0d32d15a76e19d77554e89cb677e62d7c49032.zip |
abuild: add support for ABUILD_BLACKLIST
The ABUILD_BLACKLIST can be used to give abuild a list of packages that
is known to fail to build. This can be used to reduce build retries
when building many/all packages recursively.
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1588,6 +1588,12 @@ builddeps() { # ignore if dependency is in other repo [ -d "$dir" ] || continue + # check if dep is blacklisted + if list_has $pkg $ABUILD_BLACKLIST; then + error "$pkg is blacklisted" + return 1 + fi + # break circular deps list_has $pkg $ABUILD_VISITED && continue export ABUILD_VISITED="$ABUILD_VISITED $pkg" |