diff options
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | ulri | 10 |
2 files changed, 11 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- ulri: only use mandatory archs for noarch builds + 0.7.6 - iurt: increase default timeout for commands to 10 minutes - ulri: consider build fail after faildelay even if machine is unreachable @@ -492,7 +492,15 @@ foreach my $prefix (sort keys %pkg_tree) { next if $pkg_tree{$prefix}{media}{$media}{arch}{noarch}; next if $pkg_tree{$prefix}{media}{$media}{done_arch}{noarch}; - my $arch_list = get_target_arch($config, $target); + # Only build noarch packages on mandatory architectures + # Other architectures may not be up to date + my $arch_list; + if ($noarch) { + $arch_list = get_mandatory_arch($config, $target); + } else { + $arch_list = get_target_arch($config, $target); + } + # need to find a bot for each arch foreach my $arch (@$arch_list) { # Skip this arch if the package is already building for it or if it |