diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-02-15 22:30:55 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-02-15 22:30:55 +0000 |
commit | c52d3f1143c210ddf04d0e8950a9682080db5041 (patch) | |
tree | 81aca86ff49034fd1fe74c910d614e3075494d13 | |
parent | 29c66cc18db43a5f11ca0115459f7556429275bc (diff) | |
download | iurt-c52d3f1143c210ddf04d0e8950a9682080db5041.tar iurt-c52d3f1143c210ddf04d0e8950a9682080db5041.tar.gz iurt-c52d3f1143c210ddf04d0e8950a9682080db5041.tar.bz2 iurt-c52d3f1143c210ddf04d0e8950a9682080db5041.tar.xz iurt-c52d3f1143c210ddf04d0e8950a9682080db5041.zip |
Do not try to build failed packages
-rwxr-xr-x | ulri | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) { |