diff options
author | Pascal Terjan <pterjan@mageia.org> | 2018-10-06 08:30:11 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2018-10-06 08:30:11 +0000 |
commit | 64bad1726ec9ef3068f030f34a73fcaeea2e53d8 (patch) | |
tree | 1f14f864eda8bc69f6bc1b3c55c9b361c48d9f35 | |
parent | 4a1cbfb2035a4d4d9d29b8ec20ab0ec9fa94ab63 (diff) | |
download | iurt-64bad1726ec9ef3068f030f34a73fcaeea2e53d8.tar iurt-64bad1726ec9ef3068f030f34a73fcaeea2e53d8.tar.gz iurt-64bad1726ec9ef3068f030f34a73fcaeea2e53d8.tar.bz2 iurt-64bad1726ec9ef3068f030f34a73fcaeea2e53d8.tar.xz iurt-64bad1726ec9ef3068f030f34a73fcaeea2e53d8.zip |
Only use mandatory archs for noarch builds
-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 |