aboutsummaryrefslogtreecommitdiffstats
path: root/iurt2
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2010-11-04 12:15:29 +0000
committerOlivier Blin <blino@mageia.org>2010-11-04 12:15:29 +0000
commit222a23bc568ba2bfd1972a85a132cc4434403b3f (patch)
tree23ba774193c9c182f88bbb49d6c5dfba56f1e8b8 /iurt2
parentce0e2e9396289a18043d7fe57c65ffb92141d6c3 (diff)
downloadiurt-222a23bc568ba2bfd1972a85a132cc4434403b3f.tar
iurt-222a23bc568ba2bfd1972a85a132cc4434403b3f.tar.gz
iurt-222a23bc568ba2bfd1972a85a132cc4434403b3f.tar.bz2
iurt-222a23bc568ba2bfd1972a85a132cc4434403b3f.tar.xz
iurt-222a23bc568ba2bfd1972a85a132cc4434403b3f.zip
use iurt_root_command to rebuild package
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",