aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
Diffstat (limited to 'iurt2')
-rwxr-xr-xiurt23
1 files changed, 2 insertions, 1 deletions
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",