aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xulri5
1 files changed, 5 insertions, 0 deletions
diff --git a/ulri b/ulri
index 278465f..e1fcd49 100755
--- a/ulri
+++ b/ulri
@@ -678,6 +678,11 @@ foreach my $prefix (sort keys %pkg_tree) {
plog('DEBUG', "Will compile only with media $media_to_add");
$cmd =~ s!__MEDIA__!$media_to_add!g;
+ #- allow x86_64 hosts to build i586 packages
+ if ($arch eq 'i586') {
+ $cmd = "setarch i586 $cmd";
+ }
+
plog('DEBUG', "Build $pkgs");
ssh($remote, "\'echo PID=\$\$; exec $cmd $pkgs &>$prefix_dir/log/botcmd.\$(date +%s).\$(hostname -s).log\' > $temp &");