diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-01-09 22:09:03 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-01-09 22:09:03 +0000 |
commit | 02a41255ed840cd317be40ce426e8d418a633983 (patch) | |
tree | f9606e9bd73591d33e74fd07901c95157a0bda93 /iurt | |
parent | d24ef00112fdd91f1bca76f6347ab1e7b15e4e14 (diff) | |
download | iurt-02a41255ed840cd317be40ce426e8d418a633983.tar iurt-02a41255ed840cd317be40ce426e8d418a633983.tar.gz iurt-02a41255ed840cd317be40ce426e8d418a633983.tar.bz2 iurt-02a41255ed840cd317be40ce426e8d418a633983.tar.xz iurt-02a41255ed840cd317be40ce426e8d418a633983.zip |
Give --target to rpmbuild
This fixes wrong isa name when building for armv7hl on aarch64 machine.
Diffstat (limited to 'iurt')
-rwxr-xr-x | iurt | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -808,7 +808,7 @@ retry: debug_mail => $run{debug}, log => $log_dir); # or next; As this failed quite often, do not stop plog('NOTIFY', "Building $srpm"); - my $command = "rpmbuild --rebuild $run{with_flags} /home/$luser/rpmbuild/SRPMS/$srpm"; + my $command = "rpmbuild --target $run{my_arch} --rebuild $run{with_flags} /home/$luser/rpmbuild/SRPMS/$srpm"; if ($run{stop}) { $urpmi->install_packages('chroot', $chroot_tmp, $local_spool, 'configure', "[ADMIN] installation of urpmi and sudo failed in the chroot $run{my_arch}", { check => 1, maintainer => $config->{admin} }, 'urpmi', 'sudo'); add_sudoers($chroot_tmp, $luser); |