aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2018-10-06 08:30:11 +0000
committerPascal Terjan <pterjan@mageia.org>2018-10-06 08:30:11 +0000
commit64bad1726ec9ef3068f030f34a73fcaeea2e53d8 (patch)
tree1f14f864eda8bc69f6bc1b3c55c9b361c48d9f35
parent4a1cbfb2035a4d4d9d29b8ec20ab0ec9fa94ab63 (diff)
downloadiurt-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--NEWS2
-rwxr-xr-xulri10
2 files changed, 11 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 6cd1381..7caf616 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/ulri b/ulri
index 41d7867..9a31a3d 100755
--- a/ulri
+++ b/ulri
@@ -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