diff options
author | Olivier Blin <blino@mageia.org> | 2010-11-25 09:26:01 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2010-11-25 09:26:01 +0000 |
commit | 0340f0a5bfb2ae32f4143085dd019a32ed5b9683 (patch) | |
tree | 5bb682077d39895d6ee6816ede1a686c43915e7f /ulri | |
parent | 96dfcae3b9c80a6d69a93c8a517923d5ed96e21a (diff) | |
download | iurt-0340f0a5bfb2ae32f4143085dd019a32ed5b9683.tar iurt-0340f0a5bfb2ae32f4143085dd019a32ed5b9683.tar.gz iurt-0340f0a5bfb2ae32f4143085dd019a32ed5b9683.tar.bz2 iurt-0340f0a5bfb2ae32f4143085dd019a32ed5b9683.tar.xz iurt-0340f0a5bfb2ae32f4143085dd019a32ed5b9683.zip |
x86_64 hosts can now build i586 packages, impressive!
Diffstat (limited to 'ulri')
-rwxr-xr-x | ulri | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 &"); |