From c52d3f1143c210ddf04d0e8950a9682080db5041 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 15 Feb 2016 22:30:55 +0000 Subject: Do not try to build failed packages --- ulri | 5 +++-- 1 file 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) { -- cgit v1.2.1