From 222a23bc568ba2bfd1972a85a132cc4434403b3f Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 4 Nov 2010 12:15:29 +0000 Subject: use iurt_root_command to rebuild package --- iurt2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'iurt2') diff --git a/iurt2 b/iurt2 index 65faa93..709bdc1 100755 --- a/iurt2 +++ b/iurt2 @@ -954,8 +954,9 @@ retry: $icecream = "RPM_BUILD_NCPUS=$run{icecream}"; } - if (!perform_command(qq($sudo chroot $chroot_tmp /bin/su - $luser -c "TMP=/home/$luser/tmp/ $icecream $command"), + if (!perform_command(qq(chroot $chroot_tmp /bin/su - $luser -c "TMP=/home/$luser/tmp/ $icecream $command"), \%run, $config, $cache, + use_iurt_root_command => 1, mail => $maintainer, error => "[REBUILD] $srpm from $run{distro_tag} does not build correctly on $run{my_arch}", logname => "build", -- cgit v1.2.1