aboutsummaryrefslogtreecommitdiffstats
path: root/ulri
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-02-15 22:30:55 +0000
committerPascal Terjan <pterjan@gmail.com>2016-02-15 22:30:55 +0000
commitc52d3f1143c210ddf04d0e8950a9682080db5041 (patch)
tree81aca86ff49034fd1fe74c910d614e3075494d13 /ulri
parent29c66cc18db43a5f11ca0115459f7556429275bc (diff)
downloadiurt-c52d3f1143c210ddf04d0e8950a9682080db5041.tar
iurt-c52d3f1143c210ddf04d0e8950a9682080db5041.tar.gz
iurt-c52d3f1143c210ddf04d0e8950a9682080db5041.tar.bz2
iurt-c52d3f1143c210ddf04d0e8950a9682080db5041.tar.xz
iurt-c52d3f1143c210ddf04d0e8950a9682080db5041.zip
Do not try to build failed packages
Diffstat (limited to 'ulri')
-rwxr-xr-xulri5
1 files changed, 3 insertions, 2 deletions
diff --git a/ulri b/ulri
index a6ca138..54930ae 100755
--- a/ulri
+++ b/ulri
@@ -493,11 +493,12 @@ foreach my $prefix (sort keys %pkg_tree) {
my @arch_list = $arch_list ? @$arch_list : keys %{$config->{bot}};
# need to find a bot for each arch
foreach my $arch (@arch_list) {
- # Skip this arch if package is already building as noarch or for this arch
- # or if it should not be built on this arch
+ # Skip this arch if the package is already building as noarch or for this arch
+ # or if it should not be built on this arch or it has already failed
next if $pkg_tree{$prefix}{media}{$media}{arch}{noarch};
next if $pkg_tree{$prefix}{media}{$media}{arch}{$arch};
next if $pkg_tree{$prefix}{media}{$media}{excluded_arch}{$arch};
+ next if $pkg_tree{$prefix}{media}{$media}{failed_arch}{$arch};
my $excluded = any { !check_arch("$todo_dir/${prefix}_$_", $arch) } @$srpms;
if ($excluded) {