aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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